Home
last modified time | relevance | path

Searched refs:fdb_work (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/microchip/lan966x/
Dlan966x_fdb.c118 lan966x->fdb_work = alloc_ordered_workqueue("lan966x_order", 0); in lan966x_fdb_init()
119 if (!lan966x->fdb_work) in lan966x_fdb_init()
127 destroy_workqueue(lan966x->fdb_work); in lan966x_fdb_deinit()
133 flush_workqueue(lan966x->fdb_work); in lan966x_fdb_flush_workqueue()
136 static void lan966x_fdb_port_event_work(struct lan966x_fdb_event_work *fdb_work) in lan966x_fdb_port_event_work() argument
142 lan966x = fdb_work->lan966x; in lan966x_fdb_port_event_work()
143 port = netdev_priv(fdb_work->orig_dev); in lan966x_fdb_port_event_work()
144 fdb_info = &fdb_work->fdb_info; in lan966x_fdb_port_event_work()
146 switch (fdb_work->event) { in lan966x_fdb_port_event_work()
162 static void lan966x_fdb_bridge_event_work(struct lan966x_fdb_event_work *fdb_work) in lan966x_fdb_bridge_event_work() argument
[all …]
Dlan966x_main.h359 struct workqueue_struct *fdb_work; member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbridge.c362 mlx5_esw_bridge_cleanup_switchdev_fdb_work(struct mlx5_bridge_switchdev_fdb_work *fdb_work) in mlx5_esw_bridge_cleanup_switchdev_fdb_work() argument
364 dev_put(fdb_work->dev); in mlx5_esw_bridge_cleanup_switchdev_fdb_work()
365 kfree(fdb_work->fdb_info.addr); in mlx5_esw_bridge_cleanup_switchdev_fdb_work()
366 kfree(fdb_work); in mlx5_esw_bridge_cleanup_switchdev_fdb_work()
371 struct mlx5_bridge_switchdev_fdb_work *fdb_work = in mlx5_esw_bridge_switchdev_fdb_event_work() local
374 &fdb_work->fdb_info; in mlx5_esw_bridge_switchdev_fdb_event_work()
376 fdb_work->br_offloads; in mlx5_esw_bridge_switchdev_fdb_event_work()
377 struct net_device *dev = fdb_work->dev; in mlx5_esw_bridge_switchdev_fdb_event_work()
386 if (fdb_work->add) in mlx5_esw_bridge_switchdev_fdb_event_work()
395 mlx5_esw_bridge_cleanup_switchdev_fdb_work(fdb_work); in mlx5_esw_bridge_switchdev_fdb_event_work()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_eswitch_br.c468 ice_eswitch_br_fdb_work_dealloc(struct ice_esw_br_fdb_work *fdb_work) in ice_eswitch_br_fdb_work_dealloc() argument
470 kfree(fdb_work->fdb_info.addr); in ice_eswitch_br_fdb_work_dealloc()
471 kfree(fdb_work); in ice_eswitch_br_fdb_work_dealloc()
477 struct ice_esw_br_fdb_work *fdb_work = ice_work_to_fdb_work(work); in ice_eswitch_br_fdb_event_work() local
478 bool added_by_user = fdb_work->fdb_info.added_by_user; in ice_eswitch_br_fdb_event_work()
479 const unsigned char *mac = fdb_work->fdb_info.addr; in ice_eswitch_br_fdb_event_work()
480 u16 vid = fdb_work->fdb_info.vid; in ice_eswitch_br_fdb_event_work()
485 br_port = ice_eswitch_br_netdev_to_port(fdb_work->dev); in ice_eswitch_br_fdb_event_work()
489 switch (fdb_work->event) { in ice_eswitch_br_fdb_event_work()
491 ice_eswitch_br_fdb_entry_create(fdb_work->dev, br_port, in ice_eswitch_br_fdb_event_work()
[all …]