Home
last modified time | relevance | path

Searched refs:switchdev_work (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/ti/
A Dam65-cpsw-switchdev.c380 switch (switchdev_work->event) { in am65_cpsw_switchdev_event_work()
382 fdb = &switchdev_work->fdb_info; in am65_cpsw_switchdev_event_work()
398 fdb = &switchdev_work->fdb_info; in am65_cpsw_switchdev_event_work()
418 kfree(switchdev_work); in am65_cpsw_switchdev_event_work()
442 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in am65_cpsw_switchdev_event()
443 if (WARN_ON(!switchdev_work)) in am65_cpsw_switchdev_event()
447 switchdev_work->port = port; in am65_cpsw_switchdev_event()
448 switchdev_work->event = event; in am65_cpsw_switchdev_event()
456 if (!switchdev_work->fdb_info.addr) in am65_cpsw_switchdev_event()
463 kfree(switchdev_work); in am65_cpsw_switchdev_event()
[all …]
A Dcpsw_switchdev.c390 switch (switchdev_work->event) { in cpsw_switchdev_event_work()
392 fdb = &switchdev_work->fdb_info; in cpsw_switchdev_event_work()
408 fdb = &switchdev_work->fdb_info; in cpsw_switchdev_event_work()
428 kfree(switchdev_work); in cpsw_switchdev_event_work()
452 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in cpsw_switchdev_event()
453 if (WARN_ON(!switchdev_work)) in cpsw_switchdev_event()
457 switchdev_work->priv = priv; in cpsw_switchdev_event()
458 switchdev_work->event = event; in cpsw_switchdev_event()
466 if (!switchdev_work->fdb_info.addr) in cpsw_switchdev_event()
473 kfree(switchdev_work); in cpsw_switchdev_event()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_switchdev.c239 fdb_info = &switchdev_work->fdb_info; in sparx5_switchdev_bridge_fdb_event_work()
241 switch (switchdev_work->event) { in sparx5_switchdev_bridge_fdb_event_work()
257 kfree(switchdev_work->fdb_info.addr); in sparx5_switchdev_bridge_fdb_event_work()
258 kfree(switchdev_work); in sparx5_switchdev_bridge_fdb_event_work()
285 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in sparx5_switchdev_event()
286 if (!switchdev_work) in sparx5_switchdev_event()
289 switchdev_work->dev = dev; in sparx5_switchdev_event()
290 switchdev_work->event = event; in sparx5_switchdev_event()
295 INIT_WORK(&switchdev_work->work, in sparx5_switchdev_event()
300 if (!switchdev_work->fdb_info.addr) in sparx5_switchdev_event()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_switchdev.c2869 switchdev_work, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()
2917 switchdev_work) in mlxsw_sp_switchdev_bridge_nve_fdb_event()
3014 kfree(switchdev_work); in mlxsw_sp_switchdev_bridge_fdb_event_work()
3021 switchdev_work) in mlxsw_sp_switchdev_vxlan_fdb_add()
3093 switchdev_work) in mlxsw_sp_switchdev_vxlan_fdb_del()
3166 kfree(switchdev_work); in mlxsw_sp_switchdev_vxlan_fdb_event_work()
3172 switchdev_work, in mlxsw_sp_switchdev_vxlan_work_prepare()
3239 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in mlxsw_sp_switchdev_event()
3240 if (!switchdev_work) in mlxsw_sp_switchdev_event()
3280 kfree(switchdev_work); in mlxsw_sp_switchdev_event()
[all …]
/linux/net/dsa/
A Dslave.c2403 info.vid = switchdev_work->vid; in dsa_fdb_offload_notify()
2424 switchdev_work->vid); in dsa_slave_switchdev_event_work()
2432 switchdev_work->vid, err); in dsa_slave_switchdev_event_work()
2441 switchdev_work->vid); in dsa_slave_switchdev_event_work()
2449 switchdev_work->vid, err); in dsa_slave_switchdev_event_work()
2455 kfree(switchdev_work); in dsa_slave_switchdev_event_work()
2507 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in dsa_slave_fdb_event()
2508 if (!switchdev_work) in dsa_slave_fdb_event()
2517 switchdev_work->ds = ds; in dsa_slave_fdb_event()
2519 switchdev_work->event = event; in dsa_slave_fdb_event()
[all …]
/linux/drivers/net/ethernet/rocker/
A Drocker_main.c2739 switch (switchdev_work->event) { in rocker_switchdev_event_work()
2741 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()
2752 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()
2762 kfree(switchdev_work->fdb_info.addr); in rocker_switchdev_event_work()
2763 kfree(switchdev_work); in rocker_switchdev_event_work()
2783 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in rocker_switchdev_event()
2784 if (WARN_ON(!switchdev_work)) in rocker_switchdev_event()
2789 switchdev_work->event = event; in rocker_switchdev_event()
2798 kfree(switchdev_work); in rocker_switchdev_event()
2808 kfree(switchdev_work); in rocker_switchdev_event()
[all …]
/linux/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-switch.c2220 fdb_info = &switchdev_work->fdb_info; in dpaa2_switch_event_work()
2222 switch (switchdev_work->event) { in dpaa2_switch_event_work()
2249 kfree(switchdev_work->fdb_info.addr); in dpaa2_switch_event_work()
2250 kfree(switchdev_work); in dpaa2_switch_event_work()
2270 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in dpaa2_switch_port_event()
2271 if (!switchdev_work) in dpaa2_switch_port_event()
2275 switchdev_work->dev = dev; in dpaa2_switch_port_event()
2276 switchdev_work->event = event; in dpaa2_switch_port_event()
2284 if (!switchdev_work->fdb_info.addr) in dpaa2_switch_port_event()
2294 kfree(switchdev_work); in dpaa2_switch_port_event()
[all …]

Completed in 42 milliseconds