Searched refs:switchdev_nb (Results 1 – 4 of 4) sorted by relevance
365 spx5 = container_of(nb, struct sparx5, switchdev_nb); in sparx5_switchdev_event()730 s5->switchdev_nb.notifier_call = sparx5_switchdev_event; in sparx5_register_notifier_blocks()731 err = register_switchdev_notifier(&s5->switchdev_nb); in sparx5_register_notifier_blocks()749 unregister_switchdev_notifier(&s5->switchdev_nb); in sparx5_register_notifier_blocks()761 unregister_switchdev_notifier(&s5->switchdev_nb); in sparx5_unregister_notifier_blocks()
256 struct notifier_block switchdev_nb; member
73 struct notifier_block switchdev_nb; member
549 br_offloads = ice_nb_to_br_offloads(nb, switchdev_nb); in ice_eswitch_br_switchdev_event()1233 unregister_switchdev_notifier(&br_offloads->switchdev_nb); in ice_eswitch_br_offloads_deinit()1301 br_offloads->switchdev_nb.notifier_call = in ice_eswitch_br_offloads_init()1303 err = register_switchdev_notifier(&br_offloads->switchdev_nb); in ice_eswitch_br_offloads_init()1337 unregister_switchdev_notifier(&br_offloads->switchdev_nb); in ice_eswitch_br_offloads_init()