Home
last modified time | relevance | path

Searched refs:other_dp (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/net/dsa/
Dport.c271 struct dsa_port *other_dp; in dsa_port_reset_vlan_filtering() local
294 dsa_switch_for_each_port(other_dp, ds) { in dsa_port_reset_vlan_filtering()
295 struct net_device *br = dsa_port_bridge_dev_get(other_dp); in dsa_port_reset_vlan_filtering()
728 struct dsa_port *other_dp; in dsa_port_can_apply_vlan_filtering() local
771 dsa_switch_for_each_port(other_dp, ds) { in dsa_port_can_apply_vlan_filtering()
772 struct net_device *other_br = dsa_port_bridge_dev_get(other_dp); in dsa_port_can_apply_vlan_filtering()
819 struct dsa_port *other_dp; in dsa_port_vlan_filtering() local
823 dsa_switch_for_each_user_port(other_dp, ds) { in dsa_port_vlan_filtering()
824 struct net_device *slave = other_dp->slave; in dsa_port_vlan_filtering()
Dtag_sja1105.c175 struct dsa_port *other_dp; in sja1105_xmit_tpid() local
188 dsa_switch_for_each_port(other_dp, ds) { in sja1105_xmit_tpid()
189 struct net_device *br = dsa_port_bridge_dev_get(other_dp); in sja1105_xmit_tpid()
Dslave.c1782 struct dsa_port *other_dp; in dsa_bridge_mtu_normalization() local
1797 list_for_each_entry(other_dp, &dst->ports, list) { in dsa_bridge_mtu_normalization()
1801 if (other_dp->type != DSA_PORT_TYPE_USER) in dsa_bridge_mtu_normalization()
1804 if (!dsa_port_bridge_same(dp, other_dp)) in dsa_bridge_mtu_normalization()
1807 if (!other_dp->ds->mtu_enforcement_ingress) in dsa_bridge_mtu_normalization()
1810 slave = other_dp->slave; in dsa_bridge_mtu_normalization()
1850 struct dsa_port *other_dp; in dsa_slave_change_mtu() local
1861 dsa_tree_for_each_user_port(other_dp, ds->dst) { in dsa_slave_change_mtu()
1868 if (!other_dp->slave) in dsa_slave_change_mtu()
1874 if (dp == other_dp) in dsa_slave_change_mtu()
[all …]
/linux-6.1.9/drivers/net/dsa/
Dmt7530.c1205 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; in mt7530_port_bridge_join() local
1212 dsa_switch_for_each_user_port(other_dp, ds) { in mt7530_port_bridge_join()
1213 int other_port = other_dp->index; in mt7530_port_bridge_join()
1215 if (dp == other_dp) in mt7530_port_bridge_join()
1222 if (!dsa_port_offloads_bridge(other_dp, &bridge)) in mt7530_port_bridge_join()
1326 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; in mt7530_port_bridge_leave() local
1332 dsa_switch_for_each_user_port(other_dp, ds) { in mt7530_port_bridge_leave()
1333 int other_port = other_dp->index; in mt7530_port_bridge_leave()
1335 if (dp == other_dp) in mt7530_port_bridge_leave()
1342 if (!dsa_port_offloads_bridge(other_dp, &bridge)) in mt7530_port_bridge_leave()
/linux-6.1.9/drivers/net/dsa/ocelot/
Dfelix.c448 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; in felix_tag_npi_change_master() local
461 dsa_switch_for_each_user_port(other_dp, ds) { in felix_tag_npi_change_master()
462 struct net_device *slave = other_dp->slave; in felix_tag_npi_change_master()
464 if (other_dp != dp && (slave->flags & IFF_UP) && in felix_tag_npi_change_master()
465 dsa_port_to_master(other_dp) != master) { in felix_tag_npi_change_master()
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/
Dchip.c1393 struct dsa_port *dp, *other_dp; in mv88e6xxx_port_vlan() local
1445 dsa_switch_for_each_port(other_dp, ds) in mv88e6xxx_port_vlan()
1446 if (other_dp->type == DSA_PORT_TYPE_CPU || in mv88e6xxx_port_vlan()
1447 other_dp->type == DSA_PORT_TYPE_DSA || in mv88e6xxx_port_vlan()
1448 dsa_port_bridge_same(dp, other_dp)) in mv88e6xxx_port_vlan()
1449 pvlan |= BIT(other_dp->index); in mv88e6xxx_port_vlan()
1992 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; in mv88e6xxx_port_check_hw_vlan() local
2008 dsa_switch_for_each_user_port(other_dp, ds) { in mv88e6xxx_port_check_hw_vlan()
2011 if (vlan.member[other_dp->index] == in mv88e6xxx_port_check_hw_vlan()
2015 if (dsa_port_bridge_same(dp, other_dp)) in mv88e6xxx_port_check_hw_vlan()
[all …]
/linux-6.1.9/drivers/net/dsa/microchip/
Dksz_common.c1616 const struct dsa_port *other_dp = dsa_to_port(ds, i); in ksz_update_port_member() local
1624 if (!dsa_port_bridge_same(dp, other_dp)) in ksz_update_port_member()
1649 if (dsa_port_bridge_same(other_dp, third_dp)) in ksz_update_port_member()