/linux-6.1.9/drivers/net/ethernet/mscc/ |
D | ocelot_net.c | 1243 struct net_device *brport_dev) in ocelot_inherit_brport_flags() argument 1251 if (br_port_flag_is_set(brport_dev, BIT(flag))) in ocelot_inherit_brport_flags() 1268 struct net_device *brport_dev, in ocelot_switchdev_sync() argument 1275 ocelot_inherit_brport_flags(ocelot, port, brport_dev); in ocelot_switchdev_sync() 1277 stp_state = br_port_get_stp_state(brport_dev); in ocelot_switchdev_sync() 1331 struct net_device *brport_dev, in ocelot_netdevice_bridge_join() argument 1348 err = switchdev_bridge_port_offload(brport_dev, dev, priv, in ocelot_netdevice_bridge_join() 1355 err = ocelot_switchdev_sync(ocelot, port, brport_dev, bridge, extack); in ocelot_netdevice_bridge_join() 1362 switchdev_bridge_port_unoffload(brport_dev, priv, in ocelot_netdevice_bridge_join() 1373 struct net_device *brport_dev) in ocelot_netdevice_pre_bridge_leave() argument [all …]
|
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_switchdev.c | 247 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()
|
D | lan966x_lag.c | 120 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()
|
D | lan966x_main.h | 448 struct net_device *brport_dev, 464 struct net_device *brport_dev, 467 struct net_device *brport_dev,
|
/linux-6.1.9/net/dsa/ |
D | port.c | 36 struct net_device *brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_notify_bridge_fdb_flush() local 44 if (!brport_dev) in dsa_port_notify_bridge_fdb_flush() 48 brport_dev, &info.info, NULL); in dsa_port_notify_bridge_fdb_flush() 324 struct net_device *brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_inherit_brport_flags() local 332 if (br_port_flag_is_set(brport_dev, BIT(flag))) in dsa_port_inherit_brport_flags() 367 struct net_device *brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_switchdev_sync_attrs() local 375 err = dsa_port_set_state(dp, br_port_get_stp_state(brport_dev), false); in dsa_port_switchdev_sync_attrs() 487 struct net_device *brport_dev; in dsa_port_bridge_join() local 500 brport_dev = dsa_port_to_bridge_port(dp); in dsa_port_bridge_join() 510 err = switchdev_bridge_port_offload(brport_dev, dev, dp, in dsa_port_bridge_join() [all …]
|
/linux-6.1.9/include/net/ |
D | switchdev.h | 291 int switchdev_bridge_port_offload(struct net_device *brport_dev, 297 void switchdev_bridge_port_unoffload(struct net_device *brport_dev, 373 switchdev_bridge_port_offload(struct net_device *brport_dev, in switchdev_bridge_port_offload() argument 384 switchdev_bridge_port_unoffload(struct net_device *brport_dev, in switchdev_bridge_port_unoffload() argument
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.h | 11 struct net_device *brport_dev);
|
D | spectrum_switchdev.c | 358 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() 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() 415 err = switchdev_bridge_port_offload(brport_dev, mlxsw_sp_port->dev, in mlxsw_sp_bridge_port_create() 439 struct net_device *brport_dev, in mlxsw_sp_bridge_port_get() argument [all …]
|
D | spectrum.h | 654 struct net_device *brport_dev, 658 struct net_device *brport_dev,
|
/linux-6.1.9/net/switchdev/ |
D | switchdev.c | 818 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.1.9/drivers/net/ethernet/marvell/prestera/ |
D | prestera_switchdev.c | 111 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()
|