Home
last modified time | relevance | path

Searched refs:netdev_nb (Results 1 – 15 of 15) sorted by relevance

/drivers/net/ethernet/netronome/nfp/
Dnfp_app.c180 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()
Dnfp_app.h172 struct notifier_block netdev_nb; member
/drivers/net/ethernet/mellanox/mlx4/
Den_main.c259 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()
Dmlx4_en.h436 struct notifier_block netdev_nb; member
Den_netdev.c2912 mdev = container_of(this, struct mlx4_en_dev, netdev_nb); in mlx4_en_netdev_event()
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbridge.c136 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()
/drivers/infiniband/hw/erdma/
Derdma_main.c23 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()
Derdma.h187 struct notifier_block netdev_nb; member
/drivers/net/ethernet/intel/ice/
Dice_eswitch_br.h71 struct notifier_block netdev_nb; member
Dice_eswitch_br.c1151 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()
/drivers/net/wireless/quantenna/qtnfmac/
Dbus.h69 struct notifier_block netdev_nb; member
Dcore.c782 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()
/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge.h23 struct notifier_block netdev_nb; member
/drivers/net/ethernet/marvell/prestera/
Dprestera.h294 struct notifier_block netdev_nb; member
Dprestera_main.c1350 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()