Home
last modified time | relevance | path

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

/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.h248 struct workqueue_struct *fdb_work; member
/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbridge.c343 mlx5_esw_bridge_cleanup_switchdev_fdb_work(struct mlx5_bridge_switchdev_fdb_work *fdb_work) in mlx5_esw_bridge_cleanup_switchdev_fdb_work() argument
345 dev_put(fdb_work->dev); in mlx5_esw_bridge_cleanup_switchdev_fdb_work()
346 kfree(fdb_work->fdb_info.addr); in mlx5_esw_bridge_cleanup_switchdev_fdb_work()
347 kfree(fdb_work); in mlx5_esw_bridge_cleanup_switchdev_fdb_work()
352 struct mlx5_bridge_switchdev_fdb_work *fdb_work = in mlx5_esw_bridge_switchdev_fdb_event_work() local
355 &fdb_work->fdb_info; in mlx5_esw_bridge_switchdev_fdb_event_work()
357 fdb_work->br_offloads; in mlx5_esw_bridge_switchdev_fdb_event_work()
358 struct net_device *dev = fdb_work->dev; in mlx5_esw_bridge_switchdev_fdb_event_work()
367 if (fdb_work->add) in mlx5_esw_bridge_switchdev_fdb_event_work()
376 mlx5_esw_bridge_cleanup_switchdev_fdb_work(fdb_work); in mlx5_esw_bridge_switchdev_fdb_event_work()