Searched refs:switchdev_work (Results 1 – 4 of 4) sorted by relevance
423 struct cpsw_switchdev_event_work *switchdev_work = in cpsw_switchdev_event_work() local425 struct cpsw_priv *priv = switchdev_work->priv; in cpsw_switchdev_event_work()431 switch (switchdev_work->event) { in cpsw_switchdev_event_work()433 fdb = &switchdev_work->fdb_info; in cpsw_switchdev_event_work()449 fdb = &switchdev_work->fdb_info; in cpsw_switchdev_event_work()468 kfree(switchdev_work->fdb_info.addr); in cpsw_switchdev_event_work()469 kfree(switchdev_work); in cpsw_switchdev_event_work()479 struct cpsw_switchdev_event_work *switchdev_work; in cpsw_switchdev_event() local493 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in cpsw_switchdev_event()494 if (WARN_ON(!switchdev_work)) in cpsw_switchdev_event()[all …]
2747 switchdev_work, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()2752 struct net_device *dev = switchdev_work->dev; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()2757 fdb_info = &switchdev_work->fdb_info; in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()2765 switch (switchdev_work->event) { in mlxsw_sp_switchdev_bridge_vxlan_fdb_event()2795 switchdev_work) in mlxsw_sp_switchdev_bridge_nve_fdb_event()2798 struct net_device *dev = switchdev_work->dev; in mlxsw_sp_switchdev_bridge_nve_fdb_event()2805 if (switchdev_work->event != SWITCHDEV_FDB_ADD_TO_DEVICE && in mlxsw_sp_switchdev_bridge_nve_fdb_event()2806 switchdev_work->event != SWITCHDEV_FDB_DEL_TO_DEVICE) in mlxsw_sp_switchdev_bridge_nve_fdb_event()2809 if (switchdev_work->event == SWITCHDEV_FDB_ADD_TO_DEVICE && in mlxsw_sp_switchdev_bridge_nve_fdb_event()2810 !switchdev_work->fdb_info.added_by_user) in mlxsw_sp_switchdev_bridge_nve_fdb_event()[all …]
1305 struct ethsw_switchdev_event_work *switchdev_work = in dpaa2_switch_event_work() local1307 struct net_device *dev = switchdev_work->dev; in dpaa2_switch_event_work()1312 fdb_info = &switchdev_work->fdb_info; in dpaa2_switch_event_work()1314 switch (switchdev_work->event) { in dpaa2_switch_event_work()1341 kfree(switchdev_work->fdb_info.addr); in dpaa2_switch_event_work()1342 kfree(switchdev_work); in dpaa2_switch_event_work()1352 struct ethsw_switchdev_event_work *switchdev_work; in dpaa2_switch_port_event() local1362 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in dpaa2_switch_port_event()1363 if (!switchdev_work) in dpaa2_switch_port_event()1366 INIT_WORK(&switchdev_work->work, dpaa2_switch_event_work); in dpaa2_switch_port_event()[all …]
2757 struct rocker_switchdev_event_work *switchdev_work = in rocker_switchdev_event_work() local2759 struct rocker_port *rocker_port = switchdev_work->rocker_port; in rocker_switchdev_event_work()2764 switch (switchdev_work->event) { in rocker_switchdev_event_work()2766 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()2777 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()2787 kfree(switchdev_work->fdb_info.addr); in rocker_switchdev_event_work()2788 kfree(switchdev_work); in rocker_switchdev_event_work()2797 struct rocker_switchdev_event_work *switchdev_work; in rocker_switchdev_event() local2808 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in rocker_switchdev_event()2809 if (WARN_ON(!switchdev_work)) in rocker_switchdev_event()[all …]