Home
last modified time | relevance | path

Searched refs:switchdev_work (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dcpsw_switchdev.c423 struct cpsw_switchdev_event_work *switchdev_work = in cpsw_switchdev_event_work() local
425 struct cpsw_priv *priv = switchdev_work->priv; in cpsw_switchdev_event_work()
431 switch (switchdev_work->event) { in cpsw_switchdev_event_work()
433 fdb = &switchdev_work->fdb_info; in cpsw_switchdev_event_work()
449 fdb = &switchdev_work->fdb_info; in cpsw_switchdev_event_work()
468 kfree(switchdev_work->fdb_info.addr); in cpsw_switchdev_event_work()
469 kfree(switchdev_work); in cpsw_switchdev_event_work()
479 struct cpsw_switchdev_event_work *switchdev_work; in cpsw_switchdev_event() local
493 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMI in cpsw_switchdev_event()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dcpsw_switchdev.c378 struct cpsw_switchdev_event_work *switchdev_work = in cpsw_switchdev_event_work() local
380 struct cpsw_priv *priv = switchdev_work->priv; in cpsw_switchdev_event_work()
386 switch (switchdev_work->event) { in cpsw_switchdev_event_work()
388 fdb = &switchdev_work->fdb_info; in cpsw_switchdev_event_work()
404 fdb = &switchdev_work->fdb_info; in cpsw_switchdev_event_work()
423 kfree(switchdev_work->fdb_info.addr); in cpsw_switchdev_event_work()
424 kfree(switchdev_work); in cpsw_switchdev_event_work()
434 struct cpsw_switchdev_event_work *switchdev_work; in cpsw_switchdev_event() local
448 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMI in cpsw_switchdev_event()
[all...]
H A Dam65-cpsw-switchdev.c368 struct am65_cpsw_switchdev_event_work *switchdev_work = in am65_cpsw_switchdev_event_work() local
370 struct am65_cpsw_port *port = switchdev_work->port; in am65_cpsw_switchdev_event_work()
376 switch (switchdev_work->event) { in am65_cpsw_switchdev_event_work()
378 fdb = &switchdev_work->fdb_info; in am65_cpsw_switchdev_event_work()
394 fdb = &switchdev_work->fdb_info; in am65_cpsw_switchdev_event_work()
413 kfree(switchdev_work->fdb_info.addr); in am65_cpsw_switchdev_event_work()
414 kfree(switchdev_work); in am65_cpsw_switchdev_event_work()
423 struct am65_cpsw_switchdev_event_work *switchdev_work; in am65_cpsw_switchdev_event() local
438 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMI in am65_cpsw_switchdev_event()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_switchdev.c301 struct sparx5_switchdev_event_work *switchdev_work = in sparx5_switchdev_bridge_fdb_event_work() local
303 struct net_device *dev = switchdev_work->dev; in sparx5_switchdev_bridge_fdb_event_work()
313 sparx5 = switchdev_work->sparx5; in sparx5_switchdev_bridge_fdb_event_work()
316 sparx5 = switchdev_work->sparx5; in sparx5_switchdev_bridge_fdb_event_work()
320 fdb_info = &switchdev_work->fdb_info; in sparx5_switchdev_bridge_fdb_event_work()
330 switch (switchdev_work->event) { in sparx5_switchdev_bridge_fdb_event_work()
345 kfree(switchdev_work->fdb_info.addr); in sparx5_switchdev_bridge_fdb_event_work()
346 kfree(switchdev_work); in sparx5_switchdev_bridge_fdb_event_work()
359 struct sparx5_switchdev_event_work *switchdev_work; in sparx5_switchdev_event() local
376 switchdev_work in sparx5_switchdev_event()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c3389 switchdev_work, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
3394 struct net_device *dev = switchdev_work->dev; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
3399 fdb_info = &switchdev_work->fdb_info; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
3407 switch (switchdev_work->event) { in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
3437 switchdev_work) in mlxsw_sp_switchdev_bridge_nve_fdb_event()
3440 struct net_device *dev = switchdev_work->dev; in mlxsw_sp_switchdev_bridge_nve_fdb_event()
3447 if (switchdev_work->event != SWITCHDEV_FDB_ADD_TO_DEVICE && in mlxsw_sp_switchdev_bridge_nve_fdb_event()
3448 switchdev_work->event != SWITCHDEV_FDB_DEL_TO_DEVICE) in mlxsw_sp_switchdev_bridge_nve_fdb_event()
3451 if (switchdev_work->event == SWITCHDEV_FDB_ADD_TO_DEVICE && in mlxsw_sp_switchdev_bridge_nve_fdb_event()
3452 (!switchdev_work in mlxsw_sp_switchdev_bridge_nve_fdb_event()
3387 mlxsw_sp_switchdev_bridge_vxlan_fdb_event(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_switchdev_event_work * switchdev_work, struct mlxsw_sp_fid *fid, __be32 vni) mlxsw_sp_switchdev_bridge_vxlan_fdb_event() argument
3436 mlxsw_sp_switchdev_bridge_nve_fdb_event(struct mlxsw_sp_switchdev_event_work * switchdev_work) mlxsw_sp_switchdev_bridge_nve_fdb_event() argument
3488 struct mlxsw_sp_switchdev_event_work *switchdev_work = mlxsw_sp_switchdev_bridge_fdb_event_work() local
3539 mlxsw_sp_switchdev_vxlan_fdb_add(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_switchdev_event_work * switchdev_work) mlxsw_sp_switchdev_vxlan_fdb_add() argument
3611 mlxsw_sp_switchdev_vxlan_fdb_del(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_switchdev_event_work * switchdev_work) mlxsw_sp_switchdev_vxlan_fdb_del() argument
3658 struct mlxsw_sp_switchdev_event_work *switchdev_work = mlxsw_sp_switchdev_vxlan_fdb_event_work() local
3693 mlxsw_sp_switchdev_vxlan_work_prepare(struct mlxsw_sp_switchdev_event_work * switchdev_work, struct switchdev_notifier_info *info) mlxsw_sp_switchdev_vxlan_work_prepare() argument
3739 struct mlxsw_sp_switchdev_event_work *switchdev_work; mlxsw_sp_switchdev_event() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c2747 switchdev_work, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
2752 struct net_device *dev = switchdev_work->dev; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
2757 fdb_info = &switchdev_work->fdb_info; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
2765 switch (switchdev_work->event) { in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
2795 switchdev_work) in mlxsw_sp_switchdev_bridge_nve_fdb_event()
2798 struct net_device *dev = switchdev_work->dev; in mlxsw_sp_switchdev_bridge_nve_fdb_event()
2805 if (switchdev_work->event != SWITCHDEV_FDB_ADD_TO_DEVICE && in mlxsw_sp_switchdev_bridge_nve_fdb_event()
2806 switchdev_work->event != SWITCHDEV_FDB_DEL_TO_DEVICE) in mlxsw_sp_switchdev_bridge_nve_fdb_event()
2809 if (switchdev_work->event == SWITCHDEV_FDB_ADD_TO_DEVICE && in mlxsw_sp_switchdev_bridge_nve_fdb_event()
2810 !switchdev_work in mlxsw_sp_switchdev_bridge_nve_fdb_event()
2745 mlxsw_sp_switchdev_bridge_vxlan_fdb_event(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_switchdev_event_work * switchdev_work, struct mlxsw_sp_fid *fid, __be32 vni) mlxsw_sp_switchdev_bridge_vxlan_fdb_event() argument
2794 mlxsw_sp_switchdev_bridge_nve_fdb_event(struct mlxsw_sp_switchdev_event_work * switchdev_work) mlxsw_sp_switchdev_bridge_nve_fdb_event() argument
2845 struct mlxsw_sp_switchdev_event_work *switchdev_work = mlxsw_sp_switchdev_bridge_fdb_event_work() local
2896 mlxsw_sp_switchdev_vxlan_fdb_add(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_switchdev_event_work * switchdev_work) mlxsw_sp_switchdev_vxlan_fdb_add() argument
2968 mlxsw_sp_switchdev_vxlan_fdb_del(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_switchdev_event_work * switchdev_work) mlxsw_sp_switchdev_vxlan_fdb_del() argument
3013 struct mlxsw_sp_switchdev_event_work *switchdev_work = mlxsw_sp_switchdev_vxlan_fdb_event_work() local
3048 mlxsw_sp_switchdev_vxlan_work_prepare(struct mlxsw_sp_switchdev_event_work * switchdev_work, struct switchdev_notifier_info *info) mlxsw_sp_switchdev_vxlan_work_prepare() argument
3094 struct mlxsw_sp_switchdev_event_work *switchdev_work; mlxsw_sp_switchdev_event() local
[all...]
/kernel/linux/linux-5.10/net/dsa/
H A Dslave.c2062 struct dsa_switchdev_event_work *switchdev_work = in dsa_slave_switchdev_event_work() local
2064 struct net_device *dev = switchdev_work->dev; in dsa_slave_switchdev_event_work()
2070 switch (switchdev_work->event) { in dsa_slave_switchdev_event_work()
2072 fdb_info = &switchdev_work->fdb_info; in dsa_slave_switchdev_event_work()
2087 fdb_info = &switchdev_work->fdb_info; in dsa_slave_switchdev_event_work()
2100 kfree(switchdev_work->fdb_info.addr); in dsa_slave_switchdev_event_work()
2101 kfree(switchdev_work); in dsa_slave_switchdev_event_work()
2107 switchdev_work, in dsa_slave_switchdev_fdb_work_init()
2111 memcpy(&switchdev_work->fdb_info, fdb_info, in dsa_slave_switchdev_fdb_work_init()
2112 sizeof(switchdev_work in dsa_slave_switchdev_fdb_work_init()
2106 dsa_slave_switchdev_fdb_work_init(struct dsa_switchdev_event_work * switchdev_work, const struct switchdev_notifier_fdb_info * fdb_info) dsa_slave_switchdev_fdb_work_init() argument
2126 struct dsa_switchdev_event_work *switchdev_work; dsa_slave_switchdev_event() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/adi/
H A Dadin1110.c1448 struct adin1110_switchdev_event_work *switchdev_work; in adin1110_switchdev_event_work() local
1452 switchdev_work = container_of(work, struct adin1110_switchdev_event_work, work); in adin1110_switchdev_event_work()
1453 port_priv = switchdev_work->port_priv; in adin1110_switchdev_event_work()
1457 switch (switchdev_work->event) { in adin1110_switchdev_event_work()
1459 ret = adin1110_fdb_add(port_priv, &switchdev_work->fdb_info); in adin1110_switchdev_event_work()
1462 &switchdev_work->fdb_info); in adin1110_switchdev_event_work()
1465 adin1110_fdb_del(port_priv, &switchdev_work->fdb_info); in adin1110_switchdev_event_work()
1473 kfree(switchdev_work->fdb_info.addr); in adin1110_switchdev_event_work()
1474 kfree(switchdev_work); in adin1110_switchdev_event_work()
1484 struct adin1110_switchdev_event_work *switchdev_work; in adin1110_switchdev_event() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
H A Dethsw.c1305 struct ethsw_switchdev_event_work *switchdev_work = in dpaa2_switch_event_work() local
1307 struct net_device *dev = switchdev_work->dev; in dpaa2_switch_event_work()
1312 fdb_info = &switchdev_work->fdb_info; in dpaa2_switch_event_work()
1314 switch (switchdev_work->event) { in dpaa2_switch_event_work()
1341 kfree(switchdev_work->fdb_info.addr); in dpaa2_switch_event_work()
1342 kfree(switchdev_work); in dpaa2_switch_event_work()
1352 struct ethsw_switchdev_event_work *switchdev_work; in dpaa2_switch_port_event() local
1362 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in dpaa2_switch_port_event()
1363 if (!switchdev_work) in dpaa2_switch_port_event()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/
H A Drocker_main.c2757 struct rocker_switchdev_event_work *switchdev_work = in rocker_switchdev_event_work() local
2759 struct rocker_port *rocker_port = switchdev_work->rocker_port; in rocker_switchdev_event_work()
2764 switch (switchdev_work->event) { in rocker_switchdev_event_work()
2766 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()
2777 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()
2787 kfree(switchdev_work->fdb_info.addr); in rocker_switchdev_event_work()
2788 kfree(switchdev_work); in rocker_switchdev_event_work()
2797 struct rocker_switchdev_event_work *switchdev_work; in rocker_switchdev_event() local
2808 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMI in rocker_switchdev_event()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/rocker/
H A Drocker_main.c2718 struct rocker_switchdev_event_work *switchdev_work = in rocker_switchdev_event_work() local
2720 struct rocker_port *rocker_port = switchdev_work->rocker_port; in rocker_switchdev_event_work()
2725 switch (switchdev_work->event) { in rocker_switchdev_event_work()
2727 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()
2738 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()
2748 kfree(switchdev_work->fdb_info.addr); in rocker_switchdev_event_work()
2749 kfree(switchdev_work); in rocker_switchdev_event_work()
2758 struct rocker_switchdev_event_work *switchdev_work; in rocker_switchdev_event() local
2769 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMI in rocker_switchdev_event()
[all...]
/kernel/linux/linux-6.6/net/dsa/
H A Dslave.c3462 dsa_fdb_offload_notify(struct dsa_switchdev_event_work *switchdev_work) in dsa_fdb_offload_notify() argument
3466 info.addr = switchdev_work->addr; in dsa_fdb_offload_notify()
3467 info.vid = switchdev_work->vid; in dsa_fdb_offload_notify()
3470 switchdev_work->orig_dev, &info.info, NULL); in dsa_fdb_offload_notify()
3475 struct dsa_switchdev_event_work *switchdev_work = in dsa_slave_switchdev_event_work() local
3477 const unsigned char *addr = switchdev_work->addr; in dsa_slave_switchdev_event_work()
3478 struct net_device *dev = switchdev_work->dev; in dsa_slave_switchdev_event_work()
3479 u16 vid = switchdev_work->vid; in dsa_slave_switchdev_event_work()
3487 switch (switchdev_work->event) { in dsa_slave_switchdev_event_work()
3489 if (switchdev_work in dsa_slave_switchdev_event_work()
3544 struct dsa_switchdev_event_work *switchdev_work; dsa_slave_fdb_event() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c2231 struct ethsw_switchdev_event_work *switchdev_work = in dpaa2_switch_event_work() local
2233 struct net_device *dev = switchdev_work->dev; in dpaa2_switch_event_work()
2238 fdb_info = &switchdev_work->fdb_info; in dpaa2_switch_event_work()
2240 switch (switchdev_work->event) { in dpaa2_switch_event_work()
2267 kfree(switchdev_work->fdb_info.addr); in dpaa2_switch_event_work()
2268 kfree(switchdev_work); in dpaa2_switch_event_work()
2278 struct ethsw_switchdev_event_work *switchdev_work; in dpaa2_switch_port_event() local
2288 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in dpaa2_switch_port_event()
2289 if (!switchdev_work) in dpaa2_switch_port_event()
[all...]

Completed in 35 milliseconds