Home
last modified time | relevance | path

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

/linux/net/dsa/
H A Dtag_ksz.c306 struct dsa_port *other_dp; ksz9477_xmit() local
H A Duser.c2041 struct dsa_port *other_dp; in dsa_bridge_mtu_normalization() local
2056 list_for_each_entry(other_dp, &dst->ports, list) { in dsa_bridge_mtu_normalization()
2060 if (other_dp->type != DSA_PORT_TYPE_USER) in dsa_bridge_mtu_normalization()
2063 if (!dsa_port_bridge_same(dp, other_dp)) in dsa_bridge_mtu_normalization()
2066 if (!other_dp->ds->mtu_enforcement_ingress) in dsa_bridge_mtu_normalization()
2069 user = other_dp->user; in dsa_bridge_mtu_normalization()
2109 struct dsa_port *other_dp; in dsa_user_change_mtu() local
2121 dsa_tree_for_each_user_port(other_dp, ds->dst) { in dsa_user_change_mtu()
2128 if (!other_dp->user) in dsa_user_change_mtu()
2134 if (dp == other_dp) in dsa_user_change_mtu()
[all …]
H A 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/drivers/net/dsa/
H A 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()
/linux/drivers/net/dsa/microchip/
H A Dksz_common.c2407 const struct dsa_port *other_dp = dsa_to_port(ds, i); in ksz_update_port_member() local
2415 if (!dsa_port_bridge_same(dp, other_dp)) in ksz_update_port_member()
2457 if (dsa_port_bridge_same(other_dp, third_dp) && in ksz_update_port_member()