Searched refs:switchdev_work (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/net/ethernet/adi/ |
A D | adin1110.c | 1453 port_priv = switchdev_work->port_priv; in adin1110_switchdev_event_work() 1457 switch (switchdev_work->event) { in adin1110_switchdev_event_work() 1462 &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() 1490 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in adin1110_switchdev_event() 1491 if (WARN_ON(!switchdev_work)) in adin1110_switchdev_event() 1496 switchdev_work->event = event; in adin1110_switchdev_event() 1505 if (!switchdev_work->fdb_info.addr) in adin1110_switchdev_event() 1513 kfree(switchdev_work); in adin1110_switchdev_event() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_switchdev.c | 3276 switchdev_work, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event() 3324 switchdev_work) in mlxsw_sp_switchdev_bridge_nve_fdb_event() 3421 kfree(switchdev_work); in mlxsw_sp_switchdev_bridge_fdb_event_work() 3428 switchdev_work) in mlxsw_sp_switchdev_vxlan_fdb_add() 3501 switchdev_work) in mlxsw_sp_switchdev_vxlan_fdb_del() 3577 kfree(switchdev_work); in mlxsw_sp_switchdev_vxlan_fdb_event_work() 3583 switchdev_work, in mlxsw_sp_switchdev_vxlan_work_prepare() 3650 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in mlxsw_sp_switchdev_event() 3651 if (!switchdev_work) in mlxsw_sp_switchdev_event() 3691 kfree(switchdev_work); in mlxsw_sp_switchdev_event() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/rocker/ |
A D | rocker_main.c | 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() 2769 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in rocker_switchdev_event() 2770 if (WARN_ON(!switchdev_work)) in rocker_switchdev_event() 2775 switchdev_work->event = event; in rocker_switchdev_event() 2784 kfree(switchdev_work); in rocker_switchdev_event() 2794 kfree(switchdev_work); in rocker_switchdev_event() [all …]
|
/linux-6.3-rc2/net/dsa/ |
A D | slave.c | 3321 info.addr = switchdev_work->addr; in dsa_fdb_offload_notify() 3322 info.vid = switchdev_work->vid; in dsa_fdb_offload_notify() 3334 u16 vid = switchdev_work->vid; in dsa_slave_switchdev_event_work() 3342 switch (switchdev_work->event) { in dsa_slave_switchdev_event_work() 3344 if (switchdev_work->host_addr) in dsa_slave_switchdev_event_work() 3360 if (switchdev_work->host_addr) in dsa_slave_switchdev_event_work() 3375 kfree(switchdev_work); in dsa_slave_switchdev_event_work() 3440 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in dsa_slave_fdb_event() 3441 if (!switchdev_work) in dsa_slave_fdb_event() 3450 switchdev_work->event = event; in dsa_slave_fdb_event() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-switch.c | 2245 fdb_info = &switchdev_work->fdb_info; in dpaa2_switch_event_work() 2247 switch (switchdev_work->event) { in dpaa2_switch_event_work() 2274 kfree(switchdev_work->fdb_info.addr); in dpaa2_switch_event_work() 2275 kfree(switchdev_work); in dpaa2_switch_event_work() 2295 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in dpaa2_switch_port_event() 2296 if (!switchdev_work) in dpaa2_switch_port_event() 2300 switchdev_work->dev = dev; in dpaa2_switch_port_event() 2301 switchdev_work->event = event; in dpaa2_switch_port_event() 2309 if (!switchdev_work->fdb_info.addr) in dpaa2_switch_port_event() 2319 kfree(switchdev_work); in dpaa2_switch_port_event() [all …]
|
Completed in 40 milliseconds