Searched refs:netdev_nb (Results 1 – 15 of 15) sorted by relevance
180 app = container_of(nb, struct nfp_app, netdev_nb); in nfp_app_netdev_event()207 app->netdev_nb.notifier_call = nfp_app_netdev_event; in nfp_app_start()208 err = register_netdevice_notifier(&app->netdev_nb); in nfp_app_start()222 unregister_netdevice_notifier(&app->netdev_nb); in nfp_app_stop()
172 struct notifier_block netdev_nb; member
259 if (mdev->netdev_nb.notifier_call) in mlx4_en_remove()260 unregister_netdevice_notifier(&mdev->netdev_nb); in mlx4_en_remove()358 mdev->netdev_nb.notifier_call = mlx4_en_netdev_event; in mlx4_en_probe()359 if (register_netdevice_notifier(&mdev->netdev_nb)) { in mlx4_en_probe()360 mdev->netdev_nb.notifier_call = NULL; in mlx4_en_probe()
436 struct notifier_block netdev_nb; member
2912 mdev = container_of(this, struct mlx4_en_dev, netdev_nb); in mlx4_en_netdev_event()
136 netdev_nb); in mlx5_esw_bridge_port_changeupper()556 br_offloads->netdev_nb.notifier_call = mlx5_esw_bridge_switchdev_port_event; in mlx5e_rep_bridge_init()557 err = register_netdevice_notifier_net(&init_net, &br_offloads->netdev_nb); in mlx5e_rep_bridge_init()592 unregister_netdevice_notifier_net(&init_net, &br_offloads->netdev_nb); in mlx5e_rep_bridge_cleanup()
23 struct erdma_dev *dev = container_of(nb, struct erdma_dev, netdev_nb); in erdma_netdev_event()113 dev->netdev_nb.notifier_call = erdma_netdev_event; in erdma_device_register()114 ret = register_netdevice_notifier(&dev->netdev_nb); in erdma_device_register()566 unregister_netdevice_notifier(&dev->netdev_nb); in erdma_ib_device_remove()
187 struct notifier_block netdev_nb; member
71 struct notifier_block netdev_nb; member
1151 br_offloads = ice_nb_to_br_offloads(nb, netdev_nb); in ice_eswitch_br_port_changeupper()1231 unregister_netdevice_notifier(&br_offloads->netdev_nb); in ice_eswitch_br_offloads_deinit()1319 br_offloads->netdev_nb.notifier_call = ice_eswitch_br_port_event; in ice_eswitch_br_offloads_init()1320 err = register_netdevice_notifier(&br_offloads->netdev_nb); in ice_eswitch_br_offloads_init()
69 struct notifier_block netdev_nb; member
782 bus->netdev_nb.notifier_call = qtnf_core_netdevice_event; in qtnf_core_attach()783 ret = register_netdevice_notifier(&bus->netdev_nb); in qtnf_core_attach()802 unregister_netdevice_notifier(&bus->netdev_nb); in qtnf_core_detach()
23 struct notifier_block netdev_nb; member
294 struct notifier_block netdev_nb; member
1350 sw->netdev_nb.notifier_call = prestera_netdev_event_handler; in prestera_netdev_event_handler_register()1352 return register_netdevice_notifier(&sw->netdev_nb); in prestera_netdev_event_handler_register()1357 unregister_netdevice_notifier(&sw->netdev_nb); in prestera_netdev_event_handler_unregister()