Searched refs:other_dp (Results 1 – 8 of 8) sorted by relevance
| /linux/net/dsa/ |
| H A D | port.c | 273 struct dsa_port *other_dp; in dsa_port_reset_vlan_filtering() local 296 dsa_switch_for_each_port(other_dp, ds) { in dsa_port_reset_vlan_filtering() 297 struct net_device *br = dsa_port_bridge_dev_get(other_dp); in dsa_port_reset_vlan_filtering() 730 struct dsa_port *other_dp; in dsa_port_can_apply_vlan_filtering() local 773 dsa_switch_for_each_port(other_dp, ds) { in dsa_port_can_apply_vlan_filtering() 774 struct net_device *other_br = dsa_port_bridge_dev_get(other_dp); in dsa_port_can_apply_vlan_filtering() 821 struct dsa_port *other_dp; in dsa_port_vlan_filtering() local 825 dsa_switch_for_each_user_port(other_dp, ds) { in dsa_port_vlan_filtering() 826 struct net_device *user = other_dp->user; in dsa_port_vlan_filtering()
|
| H A D | dsa.c | 1815 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; in dsa_port_simple_hsr_join() local 1822 dsa_hsr_foreach_port(other_dp, ds, hsr) { in dsa_port_simple_hsr_join() 1823 if (other_dp != dp) { in dsa_port_simple_hsr_join() 1825 other_dp->user->features |= NETIF_F_HW_HSR_DUP; in dsa_port_simple_hsr_join() 1837 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; in dsa_port_simple_hsr_leave() local 1839 dsa_hsr_foreach_port(other_dp, ds, hsr) { in dsa_port_simple_hsr_leave() 1840 if (other_dp != dp) { in dsa_port_simple_hsr_leave() 1842 other_dp->user->features &= ~NETIF_F_HW_HSR_DUP; in dsa_port_simple_hsr_leave()
|
| H A D | user.c | 2040 struct dsa_port *other_dp; in dsa_bridge_mtu_normalization() local 2055 list_for_each_entry(other_dp, &dst->ports, list) { in dsa_bridge_mtu_normalization() 2059 if (other_dp->type != DSA_PORT_TYPE_USER) in dsa_bridge_mtu_normalization() 2062 if (!dsa_port_bridge_same(dp, other_dp)) in dsa_bridge_mtu_normalization() 2065 if (!other_dp->ds->mtu_enforcement_ingress) in dsa_bridge_mtu_normalization() 2068 user = other_dp->user; in dsa_bridge_mtu_normalization() 2108 struct dsa_port *other_dp; in dsa_user_change_mtu() local 2120 dsa_tree_for_each_user_port(other_dp, ds->dst) { in dsa_user_change_mtu() 2127 if (!other_dp->user) in dsa_user_change_mtu() 2133 if (dp == other_dp) in dsa_user_change_mtu() [all …]
|
| H A D | tag_sja1105.c | 178 struct dsa_port *other_dp; in sja1105_xmit_tpid() local 191 dsa_switch_for_each_port(other_dp, ds) { in sja1105_xmit_tpid() 192 struct net_device *br = dsa_port_bridge_dev_get(other_dp); in sja1105_xmit_tpid()
|
| /linux/drivers/net/dsa/ |
| H A D | vitesse-vsc73xx-core.c | 1826 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()
|
| H A D | mt7530.c | 1520 struct dsa_port *dp = dsa_to_port(priv->ds, port), *other_dp; in mt7530_update_port_member() local 1527 dsa_switch_for_each_user_port(other_dp, priv->ds) { in mt7530_update_port_member() 1528 other_port = other_dp->index; in mt7530_update_port_member() 1531 if (dp == other_dp) in mt7530_update_port_member() 1539 if (!dsa_port_offloads_bridge_dev(other_dp, bridge_dev)) in mt7530_update_port_member()
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | chip.c | 1527 struct dsa_port *dp, *other_dp; in mv88e6xxx_port_vlan() local 1579 dsa_switch_for_each_port(other_dp, ds) in mv88e6xxx_port_vlan() 1580 if (other_dp->type == DSA_PORT_TYPE_CPU || in mv88e6xxx_port_vlan() 1581 other_dp->type == DSA_PORT_TYPE_DSA || in mv88e6xxx_port_vlan() 1582 dsa_port_bridge_same(dp, other_dp)) in mv88e6xxx_port_vlan() 1583 pvlan |= BIT(other_dp->index); in mv88e6xxx_port_vlan() 2110 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; in mv88e6xxx_port_check_hw_vlan() local 2126 dsa_switch_for_each_user_port(other_dp, ds) { in mv88e6xxx_port_check_hw_vlan() 2129 if (vlan.member[other_dp->index] == in mv88e6xxx_port_check_hw_vlan() 2133 if (dsa_port_bridge_same(dp, other_dp)) in mv88e6xxx_port_check_hw_vlan() [all …]
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_common.c | 2029 const struct dsa_port *other_dp = dsa_to_port(ds, i); in ksz_update_port_member() local 2037 if (!dsa_port_bridge_same(dp, other_dp)) in ksz_update_port_member() 2079 if (dsa_port_bridge_same(other_dp, third_dp) && in ksz_update_port_member()
|