Searched refs:switchdev_work (Results 1 – 8 of 8) sorted by relevance
| /drivers/net/ethernet/ti/icssg/ |
| A D | icssg_switchdev.c | 135 switch (switchdev_work->event) { in prueth_switchdev_event_work() 137 fdb = &switchdev_work->fdb_info; in prueth_switchdev_event_work() 154 fdb = &switchdev_work->fdb_info; in prueth_switchdev_event_work() 173 kfree(switchdev_work); in prueth_switchdev_event_work() 196 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in prueth_switchdev_event() 197 if (WARN_ON(!switchdev_work)) in prueth_switchdev_event() 201 switchdev_work->emac = emac; in prueth_switchdev_event() 202 switchdev_work->event = event; in prueth_switchdev_event() 210 if (!switchdev_work->fdb_info.addr) in prueth_switchdev_event() 217 kfree(switchdev_work); in prueth_switchdev_event() [all …]
|
| /drivers/net/ethernet/ti/ |
| A D | cpsw_switchdev.c | 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() 424 kfree(switchdev_work); in cpsw_switchdev_event_work() 448 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in cpsw_switchdev_event() 449 if (WARN_ON(!switchdev_work)) in cpsw_switchdev_event() 453 switchdev_work->priv = priv; in cpsw_switchdev_event() 454 switchdev_work->event = event; in cpsw_switchdev_event() 462 if (!switchdev_work->fdb_info.addr) in cpsw_switchdev_event() 469 kfree(switchdev_work); in cpsw_switchdev_event() [all …]
|
| A D | am65-cpsw-switchdev.c | 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() 414 kfree(switchdev_work); in am65_cpsw_switchdev_event_work() 438 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in am65_cpsw_switchdev_event() 439 if (WARN_ON(!switchdev_work)) in am65_cpsw_switchdev_event() 443 switchdev_work->port = port; in am65_cpsw_switchdev_event() 444 switchdev_work->event = event; in am65_cpsw_switchdev_event() 452 if (!switchdev_work->fdb_info.addr) in am65_cpsw_switchdev_event() 459 kfree(switchdev_work); in am65_cpsw_switchdev_event() [all …]
|
| /drivers/net/ethernet/microchip/sparx5/ |
| A D | sparx5_switchdev.c | 325 sparx5 = switchdev_work->sparx5; in sparx5_switchdev_bridge_fdb_event_work() 328 sparx5 = switchdev_work->sparx5; in sparx5_switchdev_bridge_fdb_event_work() 342 switch (switchdev_work->event) { in sparx5_switchdev_bridge_fdb_event_work() 359 kfree(switchdev_work); in sparx5_switchdev_bridge_fdb_event_work() 389 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in sparx5_switchdev_event() 390 if (!switchdev_work) in sparx5_switchdev_event() 393 switchdev_work->dev = dev; in sparx5_switchdev_event() 394 switchdev_work->event = event; in sparx5_switchdev_event() 395 switchdev_work->sparx5 = spx5; in sparx5_switchdev_event() 400 INIT_WORK(&switchdev_work->work, in sparx5_switchdev_event() [all …]
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_switchdev.c | 3415 switchdev_work, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event() 3463 switchdev_work) in mlxsw_sp_switchdev_bridge_nve_fdb_event() 3561 kfree(switchdev_work); in mlxsw_sp_switchdev_bridge_fdb_event_work() 3567 switchdev_work) in mlxsw_sp_switchdev_vxlan_fdb_add() 3639 switchdev_work) in mlxsw_sp_switchdev_vxlan_fdb_del() 3715 kfree(switchdev_work); in mlxsw_sp_switchdev_vxlan_fdb_event_work() 3720 switchdev_work, in mlxsw_sp_switchdev_vxlan_work_prepare() 3787 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in mlxsw_sp_switchdev_event() 3788 if (!switchdev_work) in mlxsw_sp_switchdev_event() 3828 kfree(switchdev_work); in mlxsw_sp_switchdev_event() [all …]
|
| /drivers/net/ethernet/adi/ |
| A D | adin1110.c | 1455 port_priv = switchdev_work->port_priv; in adin1110_switchdev_event_work() 1459 switch (switchdev_work->event) { in adin1110_switchdev_event_work() 1464 &switchdev_work->fdb_info); in adin1110_switchdev_event_work() 1475 kfree(switchdev_work->fdb_info.addr); in adin1110_switchdev_event_work() 1476 kfree(switchdev_work); in adin1110_switchdev_event_work() 1492 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in adin1110_switchdev_event() 1493 if (WARN_ON(!switchdev_work)) in adin1110_switchdev_event() 1498 switchdev_work->event = event; in adin1110_switchdev_event() 1507 if (!switchdev_work->fdb_info.addr) in adin1110_switchdev_event() 1515 kfree(switchdev_work); in adin1110_switchdev_event() [all …]
|
| /drivers/net/ethernet/rocker/ |
| A D | rocker_main.c | 2724 switch (switchdev_work->event) { in rocker_switchdev_event_work() 2726 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work() 2737 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work() 2747 kfree(switchdev_work->fdb_info.addr); in rocker_switchdev_event_work() 2748 kfree(switchdev_work); in rocker_switchdev_event_work() 2768 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in rocker_switchdev_event() 2769 if (WARN_ON(!switchdev_work)) in rocker_switchdev_event() 2774 switchdev_work->event = event; in rocker_switchdev_event() 2783 kfree(switchdev_work); in rocker_switchdev_event() 2793 kfree(switchdev_work); in rocker_switchdev_event() [all …]
|
| /drivers/net/ethernet/freescale/dpaa2/ |
| A D | dpaa2-switch.c | 2283 fdb_info = &switchdev_work->fdb_info; in dpaa2_switch_event_work() 2285 switch (switchdev_work->event) { in dpaa2_switch_event_work() 2312 kfree(switchdev_work->fdb_info.addr); in dpaa2_switch_event_work() 2313 kfree(switchdev_work); in dpaa2_switch_event_work() 2333 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in dpaa2_switch_port_event() 2334 if (!switchdev_work) in dpaa2_switch_port_event() 2338 switchdev_work->dev = dev; in dpaa2_switch_port_event() 2339 switchdev_work->event = event; in dpaa2_switch_port_event() 2347 if (!switchdev_work->fdb_info.addr) in dpaa2_switch_port_event() 2357 kfree(switchdev_work); in dpaa2_switch_port_event() [all …]
|
Completed in 44 milliseconds