Function ixgbe::get_ixgbe_nic
source · pub fn get_ixgbe_nic(
id: PciLocation
) -> Result<&'static IrqSafeMutex<IxgbeNic>, &'static str>
Expand description
Returns a reference to the IxgbeNic wrapped in a IrqSafeMutex, if it exists and has been initialized. Currently we use the pci location of the device as identification since it should not change after initialization.