Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/microchip/lan966x/
Dlan966x_fdb.c117 lan966x->fdb_work = alloc_ordered_workqueue("lan966x_order", 0); in lan966x_fdb_init()
118 if (!lan966x->fdb_work) in lan966x_fdb_init()
126 destroy_workqueue(lan966x->fdb_work); in lan966x_fdb_deinit()
132 struct lan966x_fdb_event_work *fdb_work = in lan966x_fdb_event_work() local
135 struct net_device *dev = fdb_work->dev; in lan966x_fdb_event_work()
140 fdb_info = &fdb_work->fdb_info; in lan966x_fdb_event_work()
141 lan966x = fdb_work->lan966x; in lan966x_fdb_event_work()
146 switch (fdb_work->event) { in lan966x_fdb_event_work()
165 switch (fdb_work->event) { in lan966x_fdb_event_work()
196 kfree(fdb_work->fdb_info.addr); in lan966x_fdb_event_work()
[all …]
Dlan966x_main.h240 struct workqueue_struct *fdb_work; member
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbridge.c306 mlx5_esw_bridge_cleanup_switchdev_fdb_work(struct mlx5_bridge_switchdev_fdb_work *fdb_work) in mlx5_esw_bridge_cleanup_switchdev_fdb_work() argument
308 dev_put(fdb_work->dev); in mlx5_esw_bridge_cleanup_switchdev_fdb_work()
309 kfree(fdb_work->fdb_info.addr); in mlx5_esw_bridge_cleanup_switchdev_fdb_work()
310 kfree(fdb_work); in mlx5_esw_bridge_cleanup_switchdev_fdb_work()
315 struct mlx5_bridge_switchdev_fdb_work *fdb_work = in mlx5_esw_bridge_switchdev_fdb_event_work() local
318 &fdb_work->fdb_info; in mlx5_esw_bridge_switchdev_fdb_event_work()
320 fdb_work->br_offloads; in mlx5_esw_bridge_switchdev_fdb_event_work()
321 struct net_device *dev = fdb_work->dev; in mlx5_esw_bridge_switchdev_fdb_event_work()
330 if (fdb_work->add) in mlx5_esw_bridge_switchdev_fdb_event_work()
339 mlx5_esw_bridge_cleanup_switchdev_fdb_work(fdb_work); in mlx5_esw_bridge_switchdev_fdb_event_work()