Home
last modified time | relevance | path

Searched refs:brport_dev (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/include/net/
Dswitchdev.h291 int switchdev_bridge_port_offload(struct net_device *brport_dev,
297 void switchdev_bridge_port_unoffload(struct net_device *brport_dev,
301 int switchdev_bridge_port_replay(struct net_device *brport_dev,
377 switchdev_bridge_port_offload(struct net_device *brport_dev, in switchdev_bridge_port_offload() argument
388 switchdev_bridge_port_unoffload(struct net_device *brport_dev, in switchdev_bridge_port_unoffload() argument
/linux-6.12.1/drivers/net/ethernet/mscc/
Docelot_net.c1233 struct net_device *brport_dev) in ocelot_inherit_brport_flags() argument
1241 if (br_port_flag_is_set(brport_dev, BIT(flag))) in ocelot_inherit_brport_flags()
1258 struct net_device *brport_dev, in ocelot_switchdev_sync() argument
1265 ocelot_inherit_brport_flags(ocelot, port, brport_dev); in ocelot_switchdev_sync()
1267 stp_state = br_port_get_stp_state(brport_dev); in ocelot_switchdev_sync()
1321 struct net_device *brport_dev, in ocelot_netdevice_bridge_join() argument
1338 err = switchdev_bridge_port_offload(brport_dev, dev, priv, in ocelot_netdevice_bridge_join()
1345 err = ocelot_switchdev_sync(ocelot, port, brport_dev, bridge, extack); in ocelot_netdevice_bridge_join()
1352 switchdev_bridge_port_unoffload(brport_dev, priv, in ocelot_netdevice_bridge_join()
1363 struct net_device *brport_dev) in ocelot_netdevice_pre_bridge_leave() argument
[all …]
/linux-6.12.1/net/dsa/
Dport.c40 struct net_device *brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_notify_bridge_fdb_flush() local
48 if (!brport_dev) in dsa_port_notify_bridge_fdb_flush()
52 brport_dev, &info.info, NULL); in dsa_port_notify_bridge_fdb_flush()
330 struct net_device *brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_inherit_brport_flags() local
338 if (br_port_flag_is_set(brport_dev, BIT(flag))) in dsa_port_inherit_brport_flags()
373 struct net_device *brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_switchdev_sync_attrs() local
381 err = dsa_port_set_state(dp, br_port_get_stp_state(brport_dev), false); in dsa_port_switchdev_sync_attrs()
493 struct net_device *brport_dev; in dsa_port_bridge_join() local
506 brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_bridge_join()
516 err = switchdev_bridge_port_offload(brport_dev, dev, dp, in dsa_port_bridge_join()
[all …]
/linux-6.12.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_switchdev.c247 struct net_device *brport_dev, in lan966x_port_bridge_join() argument
265 err = switchdev_bridge_port_offload(brport_dev, dev, port, in lan966x_port_bridge_join()
303 struct net_device *brport_dev, in lan966x_port_changeupper() argument
314 err = lan966x_port_bridge_join(port, brport_dev, in lan966x_port_changeupper()
334 struct net_device *brport_dev, in lan966x_port_prechangeupper() argument
350 switchdev_bridge_port_unoffload(brport_dev, port, NULL, NULL); in lan966x_port_prechangeupper()
Dlan966x_lag.c125 struct net_device *brport_dev, in lan966x_lag_port_join() argument
142 err = switchdev_bridge_port_offload(brport_dev, dev, port, in lan966x_lag_port_join()
149 lan966x_port_stp_state_set(port, br_port_get_stp_state(brport_dev)); in lan966x_lag_port_join()
Dlan966x_main.h560 struct net_device *brport_dev,
576 struct net_device *brport_dev,
579 struct net_device *brport_dev,
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.h11 struct net_device *brport_dev);
Dspectrum_switchdev.c358 const struct net_device *brport_dev) in __mlxsw_sp_bridge_port_find() argument
363 if (bridge_port->dev == brport_dev) in __mlxsw_sp_bridge_port_find()
372 struct net_device *brport_dev) in mlxsw_sp_bridge_port_find() argument
374 struct net_device *br_dev = netdev_master_upper_dev_get(brport_dev); in mlxsw_sp_bridge_port_find()
384 return __mlxsw_sp_bridge_port_find(bridge_device, brport_dev); in mlxsw_sp_bridge_port_find()
394 struct net_device *brport_dev; member
412 dev != rso->brport_dev) in mlxsw_sp_bridge_port_replay_switchdev_objs()
458 dev != rso->brport_dev) in mlxsw_sp_bridge_port_unreplay_switchdev_objs()
474 struct net_device *brport_dev, in mlxsw_sp_bridge_port_create() argument
485 mlxsw_sp_port = mlxsw_sp_port_dev_lower_find(brport_dev); in mlxsw_sp_bridge_port_create()
[all …]
Dspectrum.h657 struct net_device *brport_dev,
661 struct net_device *brport_dev,
/linux-6.12.1/net/switchdev/
Dswitchdev.c982 int switchdev_bridge_port_offload(struct net_device *brport_dev, in switchdev_bridge_port_offload() argument
1003 brport_dev, &brport_info.info, in switchdev_bridge_port_offload()
1009 void switchdev_bridge_port_unoffload(struct net_device *brport_dev, in switchdev_bridge_port_unoffload() argument
1025 brport_dev, &brport_info.info, in switchdev_bridge_port_unoffload()
1030 int switchdev_bridge_port_replay(struct net_device *brport_dev, in switchdev_bridge_port_replay() argument
1049 brport_dev, &brport_info.info, in switchdev_bridge_port_replay()
/linux-6.12.1/drivers/net/ethernet/marvell/prestera/
Dprestera_switchdev.c111 const struct net_device *brport_dev) in __prestera_bridge_port_find() argument
116 if (br_port->dev == brport_dev) in __prestera_bridge_port_find()
124 struct net_device *brport_dev) in prestera_bridge_port_find() argument
126 struct net_device *br_dev = netdev_master_upper_dev_get(brport_dev); in prestera_bridge_port_find()
136 return __prestera_bridge_port_find(bridge, brport_dev); in prestera_bridge_port_find()