Searched refs:switchdev_work (Results 1 – 9 of 9) sorted by relevance
| /linux/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 …]
|
| /linux/drivers/net/ethernet/ti/ |
| 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 …]
|
| 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 …]
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| A D | sparx5_switchdev.c | 313 sparx5 = switchdev_work->sparx5; in sparx5_switchdev_bridge_fdb_event_work() 316 sparx5 = switchdev_work->sparx5; in sparx5_switchdev_bridge_fdb_event_work() 330 switch (switchdev_work->event) { in sparx5_switchdev_bridge_fdb_event_work() 346 kfree(switchdev_work); in sparx5_switchdev_bridge_fdb_event_work() 376 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in sparx5_switchdev_event() 377 if (!switchdev_work) in sparx5_switchdev_event() 380 switchdev_work->dev = dev; in sparx5_switchdev_event() 381 switchdev_work->event = event; in sparx5_switchdev_event() 382 switchdev_work->sparx5 = spx5; in sparx5_switchdev_event() 387 INIT_WORK(&switchdev_work->work, in sparx5_switchdev_event() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| A D | spectrum_switchdev.c | 3389 switchdev_work, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event() 3437 switchdev_work) in mlxsw_sp_switchdev_bridge_nve_fdb_event() 3535 kfree(switchdev_work); in mlxsw_sp_switchdev_bridge_fdb_event_work() 3541 switchdev_work) in mlxsw_sp_switchdev_vxlan_fdb_add() 3613 switchdev_work) in mlxsw_sp_switchdev_vxlan_fdb_del() 3689 kfree(switchdev_work); in mlxsw_sp_switchdev_vxlan_fdb_event_work() 3694 switchdev_work, in mlxsw_sp_switchdev_vxlan_work_prepare() 3761 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in mlxsw_sp_switchdev_event() 3762 if (!switchdev_work) in mlxsw_sp_switchdev_event() 3802 kfree(switchdev_work); in mlxsw_sp_switchdev_event() [all …]
|
| /linux/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 …]
|
| /linux/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 …]
|
| /linux/net/dsa/ |
| A D | user.c | 3553 info.addr = switchdev_work->addr; in dsa_fdb_offload_notify() 3554 info.vid = switchdev_work->vid; in dsa_fdb_offload_notify() 3566 u16 vid = switchdev_work->vid; in dsa_user_switchdev_event_work() 3574 switch (switchdev_work->event) { in dsa_user_switchdev_event_work() 3576 if (switchdev_work->host_addr) in dsa_user_switchdev_event_work() 3592 if (switchdev_work->host_addr) in dsa_user_switchdev_event_work() 3607 kfree(switchdev_work); in dsa_user_switchdev_event_work() 3672 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in dsa_user_fdb_event() 3673 if (!switchdev_work) in dsa_user_fdb_event() 3682 switchdev_work->event = event; in dsa_user_fdb_event() [all …]
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| A D | dpaa2-switch.c | 2273 fdb_info = &switchdev_work->fdb_info; in dpaa2_switch_event_work() 2275 switch (switchdev_work->event) { in dpaa2_switch_event_work() 2302 kfree(switchdev_work->fdb_info.addr); in dpaa2_switch_event_work() 2303 kfree(switchdev_work); in dpaa2_switch_event_work() 2323 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in dpaa2_switch_port_event() 2324 if (!switchdev_work) in dpaa2_switch_port_event() 2328 switchdev_work->dev = dev; in dpaa2_switch_port_event() 2329 switchdev_work->event = event; in dpaa2_switch_port_event() 2337 if (!switchdev_work->fdb_info.addr) in dpaa2_switch_port_event() 2347 kfree(switchdev_work); in dpaa2_switch_port_event() [all …]
|
Completed in 45 milliseconds