Searched refs:other_dp (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/net/dsa/ |
A D | port.c | 275 struct dsa_port *other_dp; in dsa_port_reset_vlan_filtering() local 298 dsa_switch_for_each_port(other_dp, ds) { in dsa_port_reset_vlan_filtering() 299 struct net_device *br = dsa_port_bridge_dev_get(other_dp); in dsa_port_reset_vlan_filtering() 732 struct dsa_port *other_dp; in dsa_port_can_apply_vlan_filtering() local 775 dsa_switch_for_each_port(other_dp, ds) { in dsa_port_can_apply_vlan_filtering() 776 struct net_device *other_br = dsa_port_bridge_dev_get(other_dp); in dsa_port_can_apply_vlan_filtering() 823 struct dsa_port *other_dp; in dsa_port_vlan_filtering() local 827 dsa_switch_for_each_user_port(other_dp, ds) { in dsa_port_vlan_filtering() 828 struct net_device *slave = other_dp->slave; in dsa_port_vlan_filtering()
|
A D | tag_sja1105.c | 180 struct dsa_port *other_dp; in sja1105_xmit_tpid() local 193 dsa_switch_for_each_port(other_dp, ds) { in sja1105_xmit_tpid() 194 struct net_device *br = dsa_port_bridge_dev_get(other_dp); in sja1105_xmit_tpid()
|
A D | slave.c | 1863 struct dsa_port *other_dp; in dsa_bridge_mtu_normalization() local 1878 list_for_each_entry(other_dp, &dst->ports, list) { in dsa_bridge_mtu_normalization() 1882 if (other_dp->type != DSA_PORT_TYPE_USER) in dsa_bridge_mtu_normalization() 1885 if (!dsa_port_bridge_same(dp, other_dp)) in dsa_bridge_mtu_normalization() 1888 if (!other_dp->ds->mtu_enforcement_ingress) in dsa_bridge_mtu_normalization() 1891 slave = other_dp->slave; in dsa_bridge_mtu_normalization() 1931 struct dsa_port *other_dp; in dsa_slave_change_mtu() local 1942 dsa_tree_for_each_user_port(other_dp, ds->dst) { in dsa_slave_change_mtu() 1949 if (!other_dp->slave) in dsa_slave_change_mtu() 1955 if (dp == other_dp) in dsa_slave_change_mtu() [all …]
|
/linux-6.3-rc2/drivers/net/dsa/ |
A D | mt7530.c | 1201 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; in mt7530_port_bridge_join() local 1208 dsa_switch_for_each_user_port(other_dp, ds) { in mt7530_port_bridge_join() 1209 int other_port = other_dp->index; in mt7530_port_bridge_join() 1211 if (dp == other_dp) in mt7530_port_bridge_join() 1218 if (!dsa_port_offloads_bridge(other_dp, &bridge)) in mt7530_port_bridge_join() 1334 struct dsa_port *dp = dsa_to_port(ds, port), *other_dp; in mt7530_port_bridge_leave() local 1340 dsa_switch_for_each_user_port(other_dp, ds) { in mt7530_port_bridge_leave() 1341 int other_port = other_dp->index; in mt7530_port_bridge_leave() 1343 if (dp == other_dp) in mt7530_port_bridge_leave() 1350 if (!dsa_port_offloads_bridge(other_dp, &bridge)) in mt7530_port_bridge_leave()
|
/linux-6.3-rc2/drivers/net/dsa/ocelot/ |
A D | felix.c | 448 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.3-rc2/drivers/net/dsa/mv88e6xxx/ |
A D | chip.c | 1393 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.3-rc2/drivers/net/dsa/microchip/ |
A D | ksz_common.c | 1763 const struct dsa_port *other_dp = dsa_to_port(ds, i); in ksz_update_port_member() local 1771 if (!dsa_port_bridge_same(dp, other_dp)) in ksz_update_port_member() 1796 if (dsa_port_bridge_same(other_dp, third_dp)) in ksz_update_port_member()
|
Completed in 41 milliseconds