Home
last modified time | relevance | path

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

/linux-6.12.1/net/dsa/
Dtag_ksz.c301 struct dsa_port *other_dp; in ksz9477_xmit() local
303 dsa_hsr_foreach_port(other_dp, dp->ds, hsr_dev) in ksz9477_xmit()
304 val |= BIT(other_dp->index); in ksz9477_xmit()
Dport.c277 struct dsa_port *other_dp; in dsa_port_reset_vlan_filtering() local
300 dsa_switch_for_each_port(other_dp, ds) { in dsa_port_reset_vlan_filtering()
301 struct net_device *br = dsa_port_bridge_dev_get(other_dp); in dsa_port_reset_vlan_filtering()
734 struct dsa_port *other_dp; in dsa_port_can_apply_vlan_filtering() local
777 dsa_switch_for_each_port(other_dp, ds) { in dsa_port_can_apply_vlan_filtering()
778 struct net_device *other_br = dsa_port_bridge_dev_get(other_dp); in dsa_port_can_apply_vlan_filtering()
825 struct dsa_port *other_dp; in dsa_port_vlan_filtering() local
829 dsa_switch_for_each_user_port(other_dp, ds) { in dsa_port_vlan_filtering()
830 struct net_device *user = other_dp->user; in dsa_port_vlan_filtering()
Duser.c1999 struct dsa_port *other_dp; in dsa_bridge_mtu_normalization() local
2014 list_for_each_entry(other_dp, &dst->ports, list) { in dsa_bridge_mtu_normalization()
2018 if (other_dp->type != DSA_PORT_TYPE_USER) in dsa_bridge_mtu_normalization()
2021 if (!dsa_port_bridge_same(dp, other_dp)) in dsa_bridge_mtu_normalization()
2024 if (!other_dp->ds->mtu_enforcement_ingress) in dsa_bridge_mtu_normalization()
2027 user = other_dp->user; in dsa_bridge_mtu_normalization()
2067 struct dsa_port *other_dp; in dsa_user_change_mtu() local
2079 dsa_tree_for_each_user_port(other_dp, ds->dst) { in dsa_user_change_mtu()
2086 if (!other_dp->user) in dsa_user_change_mtu()
2092 if (dp == other_dp) in dsa_user_change_mtu()
[all …]
Dtag_sja1105.c177 struct dsa_port *other_dp; in sja1105_xmit_tpid() local
190 dsa_switch_for_each_port(other_dp, ds) { in sja1105_xmit_tpid()
191 struct net_device *br = dsa_port_bridge_dev_get(other_dp); in sja1105_xmit_tpid()
/linux-6.12.1/drivers/net/dsa/
Dvitesse-vsc73xx-core.c1826 struct dsa_port *other_dp, *dp = dsa_to_port(ds, port); in vsc73xx_refresh_fwd_map() local
1838 dsa_switch_for_each_available_port(other_dp, ds) { in vsc73xx_refresh_fwd_map()
1839 if (other_dp == dp) in vsc73xx_refresh_fwd_map()
1842 VSC73XX_SRCMASKS + other_dp->index, in vsc73xx_refresh_fwd_map()
1857 dsa_switch_for_each_user_port(other_dp, ds) { in vsc73xx_refresh_fwd_map()
1858 int other_port = other_dp->index; in vsc73xx_refresh_fwd_map()
1860 if (port == other_port || !dsa_port_bridge_same(dp, other_dp) || in vsc73xx_refresh_fwd_map()
1861 other_dp->stp_state != BR_STATE_FORWARDING) in vsc73xx_refresh_fwd_map()
Dmt7530.c1310 struct dsa_port *dp = dsa_to_port(priv->ds, port), *other_dp; in mt7530_update_port_member() local
1317 dsa_switch_for_each_user_port(other_dp, priv->ds) { in mt7530_update_port_member()
1318 other_port = other_dp->index; in mt7530_update_port_member()
1321 if (dp == other_dp) in mt7530_update_port_member()
1329 if (!dsa_port_offloads_bridge_dev(other_dp, bridge_dev)) in mt7530_update_port_member()
/linux-6.12.1/drivers/net/dsa/qca/
Dqca8k-common.c622 struct dsa_port *dp = dsa_to_port(priv->ds, port), *other_dp; in qca8k_update_port_member() local
632 other_dp = dsa_to_port(priv->ds, i); in qca8k_update_port_member()
633 if (!dsa_port_offloads_bridge_dev(other_dp, bridge_dev)) in qca8k_update_port_member()
/linux-6.12.1/drivers/net/dsa/ocelot/
Dfelix.c524 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; in felix_tag_npi_change_conduit() local
537 dsa_switch_for_each_user_port(other_dp, ds) { in felix_tag_npi_change_conduit()
538 struct net_device *user = other_dp->user; in felix_tag_npi_change_conduit()
540 if (other_dp != dp && (user->flags & IFF_UP) && in felix_tag_npi_change_conduit()
541 dsa_port_to_conduit(other_dp) != conduit) { in felix_tag_npi_change_conduit()
/linux-6.12.1/drivers/net/dsa/mv88e6xxx/
Dchip.c1554 struct dsa_port *dp, *other_dp; in mv88e6xxx_port_vlan() local
1606 dsa_switch_for_each_port(other_dp, ds) in mv88e6xxx_port_vlan()
1607 if (other_dp->type == DSA_PORT_TYPE_CPU || in mv88e6xxx_port_vlan()
1608 other_dp->type == DSA_PORT_TYPE_DSA || in mv88e6xxx_port_vlan()
1609 dsa_port_bridge_same(dp, other_dp)) in mv88e6xxx_port_vlan()
1610 pvlan |= BIT(other_dp->index); in mv88e6xxx_port_vlan()
2153 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; in mv88e6xxx_port_check_hw_vlan() local
2169 dsa_switch_for_each_user_port(other_dp, ds) { in mv88e6xxx_port_check_hw_vlan()
2172 if (vlan.member[other_dp->index] == in mv88e6xxx_port_check_hw_vlan()
2176 if (dsa_port_bridge_same(dp, other_dp)) in mv88e6xxx_port_check_hw_vlan()
[all …]
/linux-6.12.1/drivers/net/dsa/microchip/
Dksz_common.c2159 const struct dsa_port *other_dp = dsa_to_port(ds, i); in ksz_update_port_member() local
2167 if (!dsa_port_bridge_same(dp, other_dp)) in ksz_update_port_member()
2209 if (dsa_port_bridge_same(other_dp, third_dp) && in ksz_update_port_member()