Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/mscc/
A 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
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
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
1367 switchdev_bridge_port_unoffload(brport_dev, priv, in ocelot_netdevice_pre_bridge_leave()
1373 struct net_device *brport_dev, in ocelot_netdevice_bridge_leave() argument
1456 struct net_device *brport_dev, in ocelot_netdevice_changeupper() argument
[all …]
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/
A 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()
A Dlan966x_lag.c120 struct net_device *brport_dev, in lan966x_lag_port_join() argument
137 err = switchdev_bridge_port_offload(brport_dev, dev, port, in lan966x_lag_port_join()
144 lan966x_port_stp_state_set(port, br_port_get_stp_state(brport_dev)); in lan966x_lag_port_join()
A Dlan966x_main.h518 struct net_device *brport_dev,
534 struct net_device *brport_dev,
537 struct net_device *brport_dev,
/linux-6.3-rc2/net/dsa/
A 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()
328 struct net_device *brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_inherit_brport_flags() local
336 if (br_port_flag_is_set(brport_dev, BIT(flag))) in dsa_port_inherit_brport_flags()
491 struct net_device *brport_dev; in dsa_port_bridge_join() local
504 brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_bridge_join()
514 err = switchdev_bridge_port_offload(brport_dev, dev, dp, in dsa_port_bridge_join()
528 switchdev_bridge_port_unoffload(brport_dev, dp, in dsa_port_bridge_join()
544 if (!brport_dev) in dsa_port_pre_bridge_leave()
[all …]
/linux-6.3-rc2/include/net/
A Dswitchdev.h292 int switchdev_bridge_port_offload(struct net_device *brport_dev,
298 void switchdev_bridge_port_unoffload(struct net_device *brport_dev,
374 switchdev_bridge_port_offload(struct net_device *brport_dev, in switchdev_bridge_port_offload() argument
385 switchdev_bridge_port_unoffload(struct net_device *brport_dev, in switchdev_bridge_port_unoffload() argument
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_switchdev.h11 struct net_device *brport_dev);
A 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
384 return __mlxsw_sp_bridge_port_find(bridge_device, brport_dev); in mlxsw_sp_bridge_port_find()
389 struct net_device *brport_dev, in mlxsw_sp_bridge_port_create() argument
400 mlxsw_sp_port = mlxsw_sp_port_dev_lower_find(brport_dev); in mlxsw_sp_bridge_port_create()
406 bridge_port->dev = brport_dev; in mlxsw_sp_bridge_port_create()
439 struct net_device *brport_dev, in mlxsw_sp_bridge_port_get() argument
447 bridge_port = mlxsw_sp_bridge_port_find(bridge, brport_dev); in mlxsw_sp_bridge_port_get()
2766 struct net_device *brport_dev, in mlxsw_sp_port_bridge_join() argument
[all …]
A Dspectrum.h655 struct net_device *brport_dev,
659 struct net_device *brport_dev,
/linux-6.3-rc2/net/switchdev/
A Dswitchdev.c818 int switchdev_bridge_port_offload(struct net_device *brport_dev, in switchdev_bridge_port_offload() argument
839 brport_dev, &brport_info.info, in switchdev_bridge_port_offload()
845 void switchdev_bridge_port_unoffload(struct net_device *brport_dev, in switchdev_bridge_port_unoffload() argument
861 brport_dev, &brport_info.info, in switchdev_bridge_port_unoffload()
/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/
A 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()

Completed in 47 milliseconds