Searched refs:switchdev_work (Results 1 - 8 of 8) sorted by relevance

/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_switchdev.c301 struct sparx5_switchdev_event_work *switchdev_work = local
303 struct net_device *dev = switchdev_work->dev;
313 sparx5 = switchdev_work->sparx5;
316 sparx5 = switchdev_work->sparx5;
320 fdb_info = &switchdev_work->fdb_info;
330 switch (switchdev_work->event) {
345 kfree(switchdev_work->fdb_info.addr);
346 kfree(switchdev_work);
359 struct sparx5_switchdev_event_work *switchdev_work; local
376 switchdev_work
[all...]
/linux-master/drivers/net/ethernet/ti/
H A Dam65-cpsw-switchdev.c368 struct am65_cpsw_switchdev_event_work *switchdev_work = local
370 struct am65_cpsw_port *port = switchdev_work->port;
376 switch (switchdev_work->event) {
378 fdb = &switchdev_work->fdb_info;
394 fdb = &switchdev_work->fdb_info;
413 kfree(switchdev_work->fdb_info.addr);
414 kfree(switchdev_work);
423 struct am65_cpsw_switchdev_event_work *switchdev_work; local
438 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMI
[all...]
H A Dcpsw_switchdev.c378 struct cpsw_switchdev_event_work *switchdev_work = local
380 struct cpsw_priv *priv = switchdev_work->priv;
386 switch (switchdev_work->event) {
388 fdb = &switchdev_work->fdb_info;
404 fdb = &switchdev_work->fdb_info;
423 kfree(switchdev_work->fdb_info.addr);
424 kfree(switchdev_work);
434 struct cpsw_switchdev_event_work *switchdev_work; local
448 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMI
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_switchdev.c3389 switchdev_work,
3394 struct net_device *dev = switchdev_work->dev;
3399 fdb_info = &switchdev_work->fdb_info;
3407 switch (switchdev_work->event) {
3437 switchdev_work)
3440 struct net_device *dev = switchdev_work->dev;
3447 if (switchdev_work->event != SWITCHDEV_FDB_ADD_TO_DEVICE &&
3448 switchdev_work->event != SWITCHDEV_FDB_DEL_TO_DEVICE)
3451 if (switchdev_work->event == SWITCHDEV_FDB_ADD_TO_DEVICE &&
3452 (!switchdev_work
3387 mlxsw_sp_switchdev_bridge_vxlan_fdb_event(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_switchdev_event_work * switchdev_work, struct mlxsw_sp_fid *fid, __be32 vni) argument
3436 mlxsw_sp_switchdev_bridge_nve_fdb_event(struct mlxsw_sp_switchdev_event_work * switchdev_work) argument
3488 struct mlxsw_sp_switchdev_event_work *switchdev_work = local
3539 mlxsw_sp_switchdev_vxlan_fdb_add(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_switchdev_event_work * switchdev_work) argument
3611 mlxsw_sp_switchdev_vxlan_fdb_del(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_switchdev_event_work * switchdev_work) argument
3658 struct mlxsw_sp_switchdev_event_work *switchdev_work = local
3693 mlxsw_sp_switchdev_vxlan_work_prepare(struct mlxsw_sp_switchdev_event_work * switchdev_work, struct switchdev_notifier_info *info) argument
3739 struct mlxsw_sp_switchdev_event_work *switchdev_work; local
[all...]
/linux-master/drivers/net/ethernet/adi/
H A Dadin1110.c1450 struct adin1110_switchdev_event_work *switchdev_work; local
1454 switchdev_work = container_of(work, struct adin1110_switchdev_event_work, work);
1455 port_priv = switchdev_work->port_priv;
1459 switch (switchdev_work->event) {
1461 ret = adin1110_fdb_add(port_priv, &switchdev_work->fdb_info);
1464 &switchdev_work->fdb_info);
1467 adin1110_fdb_del(port_priv, &switchdev_work->fdb_info);
1475 kfree(switchdev_work->fdb_info.addr);
1476 kfree(switchdev_work);
1486 struct adin1110_switchdev_event_work *switchdev_work; local
[all...]
/linux-master/drivers/net/ethernet/rocker/
H A Drocker_main.c2716 struct rocker_switchdev_event_work *switchdev_work = local
2718 struct rocker_port *rocker_port = switchdev_work->rocker_port;
2723 switch (switchdev_work->event) {
2725 fdb_info = &switchdev_work->fdb_info;
2736 fdb_info = &switchdev_work->fdb_info;
2746 kfree(switchdev_work->fdb_info.addr);
2747 kfree(switchdev_work);
2756 struct rocker_switchdev_event_work *switchdev_work; local
2767 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMI
[all...]
/linux-master/net/dsa/
H A Duser.c3443 dsa_fdb_offload_notify(struct dsa_switchdev_event_work *switchdev_work) argument
3447 info.addr = switchdev_work->addr;
3448 info.vid = switchdev_work->vid;
3451 switchdev_work->orig_dev, &info.info, NULL);
3456 struct dsa_switchdev_event_work *switchdev_work = local
3458 const unsigned char *addr = switchdev_work->addr;
3459 struct net_device *dev = switchdev_work->dev;
3460 u16 vid = switchdev_work->vid;
3468 switch (switchdev_work->event) {
3470 if (switchdev_work
3525 struct dsa_switchdev_event_work *switchdev_work; local
[all...]
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c2266 struct ethsw_switchdev_event_work *switchdev_work = local
2268 struct net_device *dev = switchdev_work->dev;
2273 fdb_info = &switchdev_work->fdb_info;
2275 switch (switchdev_work->event) {
2302 kfree(switchdev_work->fdb_info.addr);
2303 kfree(switchdev_work);
2313 struct ethsw_switchdev_event_work *switchdev_work; local
2323 switchdev_work = kzalloc(sizeof(*switchdev_work), GFP_ATOMIC);
2324 if (!switchdev_work)
[all...]

Completed in 147 milliseconds