Searched refs:fdb_work (Results 1 – 4 of 4) sorted by relevance
118 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() argument142 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 …]
307 struct workqueue_struct *fdb_work; member
362 mlx5_esw_bridge_cleanup_switchdev_fdb_work(struct mlx5_bridge_switchdev_fdb_work *fdb_work) in mlx5_esw_bridge_cleanup_switchdev_fdb_work() argument364 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() local374 &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()
468 ice_eswitch_br_fdb_work_dealloc(struct ice_esw_br_fdb_work *fdb_work) in ice_eswitch_br_fdb_work_dealloc() argument470 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() local478 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 …]