Lines Matching refs:ib_ndev
166 struct net_device *ib_ndev) in mlx5_netdev_send_event() argument
176 if (!dev->is_rep && !upper && ndev == ib_ndev) in mlx5_netdev_send_event()
180 if (dev->is_rep && ndev == ib_ndev) in mlx5_netdev_send_event()
207 struct net_device *ib_ndev = NULL; in mlx5_netdev_event() local
222 ib_ndev = ib_device_get_netdev(&ibdev->ib_dev, port_num); in mlx5_netdev_event()
224 if (ib_ndev) in mlx5_netdev_event()
235 ib_ndev = ib_device_get_netdev(&ibdev->ib_dev, port_num); in mlx5_netdev_event()
236 if (ib_ndev == ndev) in mlx5_netdev_event()
266 ib_ndev = ib_device_get_netdev(&ibdev->ib_dev, port_num); in mlx5_netdev_event()
268 if (mlx5_netdev_send_event(ibdev, ndev, upper, ib_ndev)) { in mlx5_netdev_event()
298 dev_put(ib_ndev); in mlx5_netdev_event()