Searched refs:switchdev_work (Results 1 – 6 of 6) sorted by relevance
127 struct prueth_switchdev_event_work *switchdev_work = in prueth_switchdev_event_work() local129 struct prueth_emac *emac = switchdev_work->emac; in prueth_switchdev_event_work()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()172 kfree(switchdev_work->fdb_info.addr); in prueth_switchdev_event_work()173 kfree(switchdev_work); in prueth_switchdev_event_work()181 struct prueth_switchdev_event_work *switchdev_work; in prueth_switchdev_event() local196 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in prueth_switchdev_event()197 if (WARN_ON(!switchdev_work)) in prueth_switchdev_event()[all …]
378 struct cpsw_switchdev_event_work *switchdev_work = in cpsw_switchdev_event_work() local380 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() local448 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in cpsw_switchdev_event()449 if (WARN_ON(!switchdev_work)) in cpsw_switchdev_event()[all …]
368 struct am65_cpsw_switchdev_event_work *switchdev_work = in am65_cpsw_switchdev_event_work() local370 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() local438 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in am65_cpsw_switchdev_event()439 if (WARN_ON(!switchdev_work)) in am65_cpsw_switchdev_event()[all …]
3389 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->fdb_info.added_by_user || in mlxsw_sp_switchdev_bridge_nve_fdb_event()[all …]
1450 struct adin1110_switchdev_event_work *switchdev_work; in adin1110_switchdev_event_work() local1454 switchdev_work = container_of(work, struct adin1110_switchdev_event_work, work); in adin1110_switchdev_event_work()1455 port_priv = switchdev_work->port_priv; in adin1110_switchdev_event_work()1459 switch (switchdev_work->event) { in adin1110_switchdev_event_work()1461 ret = adin1110_fdb_add(port_priv, &switchdev_work->fdb_info); in adin1110_switchdev_event_work()1464 &switchdev_work->fdb_info); in adin1110_switchdev_event_work()1467 adin1110_fdb_del(port_priv, &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()1486 struct adin1110_switchdev_event_work *switchdev_work; in adin1110_switchdev_event() local[all …]
2717 struct rocker_switchdev_event_work *switchdev_work = in rocker_switchdev_event_work() local2719 struct rocker_port *rocker_port = switchdev_work->rocker_port; in rocker_switchdev_event_work()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()2757 struct rocker_switchdev_event_work *switchdev_work; in rocker_switchdev_event() local2768 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in rocker_switchdev_event()2769 if (WARN_ON(!switchdev_work)) in rocker_switchdev_event()[all …]