Function mlx5::get_mlx5_nic
source · pub fn get_mlx5_nic() -> Option<&'static IrqSafeMutex<ConnectX5Nic>>
Expand description
Returns a reference to the NIC wrapped in a IrqSafeMutex, if it exists and has been initialized.
pub fn get_mlx5_nic() -> Option<&'static IrqSafeMutex<ConnectX5Nic>>
Returns a reference to the NIC wrapped in a IrqSafeMutex, if it exists and has been initialized.