Searched refs:switchdev_work (Results 1 – 4 of 4) sorted by relevance
1013 struct ethsw_switchdev_event_work *switchdev_work = in ethsw_switchdev_event_work() local1015 struct net_device *dev = switchdev_work->dev; in ethsw_switchdev_event_work()1021 fdb_info = &switchdev_work->fdb_info; in ethsw_switchdev_event_work()1023 switch (switchdev_work->event) { in ethsw_switchdev_event_work()1039 kfree(switchdev_work->fdb_info.addr); in ethsw_switchdev_event_work()1040 kfree(switchdev_work); in ethsw_switchdev_event_work()1049 struct ethsw_switchdev_event_work *switchdev_work; in port_switchdev_event() local1052 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in port_switchdev_event()1053 if (!switchdev_work) in port_switchdev_event()1056 INIT_WORK(&switchdev_work->work, ethsw_switchdev_event_work); in port_switchdev_event()[all …]
1434 struct dsa_switchdev_event_work *switchdev_work = in dsa_slave_switchdev_event_work() local1436 struct net_device *dev = switchdev_work->dev; in dsa_slave_switchdev_event_work()1442 switch (switchdev_work->event) { in dsa_slave_switchdev_event_work()1444 fdb_info = &switchdev_work->fdb_info; in dsa_slave_switchdev_event_work()1458 fdb_info = &switchdev_work->fdb_info; in dsa_slave_switchdev_event_work()1471 kfree(switchdev_work->fdb_info.addr); in dsa_slave_switchdev_event_work()1472 kfree(switchdev_work); in dsa_slave_switchdev_event_work()1478 switchdev_work, in dsa_slave_switchdev_fdb_work_init()1482 memcpy(&switchdev_work->fdb_info, fdb_info, in dsa_slave_switchdev_fdb_work_init()1483 sizeof(switchdev_work->fdb_info)); in dsa_slave_switchdev_fdb_work_init()[all …]
2294 struct mlxsw_sp_switchdev_event_work *switchdev_work = in mlxsw_sp_switchdev_event_work() local2296 struct net_device *dev = switchdev_work->dev; in mlxsw_sp_switchdev_event_work()2306 switch (switchdev_work->event) { in mlxsw_sp_switchdev_event_work()2308 fdb_info = &switchdev_work->fdb_info; in mlxsw_sp_switchdev_event_work()2319 fdb_info = &switchdev_work->fdb_info; in mlxsw_sp_switchdev_event_work()2336 kfree(switchdev_work->fdb_info.addr); in mlxsw_sp_switchdev_event_work()2337 kfree(switchdev_work); in mlxsw_sp_switchdev_event_work()2346 struct mlxsw_sp_switchdev_event_work *switchdev_work; in mlxsw_sp_switchdev_event() local2352 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in mlxsw_sp_switchdev_event()2353 if (!switchdev_work) in mlxsw_sp_switchdev_event()[all …]
2737 struct rocker_switchdev_event_work *switchdev_work = in rocker_switchdev_event_work() local2739 struct rocker_port *rocker_port = switchdev_work->rocker_port; in rocker_switchdev_event_work()2744 switch (switchdev_work->event) { in rocker_switchdev_event_work()2746 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()2757 fdb_info = &switchdev_work->fdb_info; in rocker_switchdev_event_work()2767 kfree(switchdev_work->fdb_info.addr); in rocker_switchdev_event_work()2768 kfree(switchdev_work); in rocker_switchdev_event_work()2777 struct rocker_switchdev_event_work *switchdev_work; in rocker_switchdev_event() local2785 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC); in rocker_switchdev_event()2786 if (WARN_ON(!switchdev_work)) in rocker_switchdev_event()[all …]