/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_debugfs.h | 758 u16 pvid; member
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | mirror_gre_bridge_1q.sh | 68 bridge vlan add dev br1 vid 555 pvid untagged self
|
H A D | router_bridge_pvid_vlan_upper.sh | 75 bridge vlan add dev br1 vid 10 pvid untagged self
|
H A D | router_bridge.sh | 116 bridge vlan add dev br1 vid 1 self pvid untagged
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_netdev.c | 190 sparx5_mact_forget(sparx5, dev->dev_addr, port->pvid); in sparx5_set_mac_address() 193 sparx5_mact_learn(sparx5, PGID_CPU, addr->sa_data, port->pvid); in sparx5_set_mac_address()
|
H A D | sparx5_mactable.c | 123 return sparx5_mact_forget(sparx5, addr, port->pvid); in sparx5_mc_unsync() 131 return sparx5_mact_learn(sparx5, PGID_CPU, addr, port->pvid); in sparx5_mc_sync()
|
/openbmc/linux/drivers/net/dsa/b53/ |
H A D | b53_common.c | 1506 bool pvid = vlan->flags & BRIDGE_VLAN_INFO_PVID; in b53_vlan_add() local 1530 if (pvid && !dsa_is_cpu_port(ds, port)) { in b53_vlan_add() 1546 u16 pvid; in b53_vlan_del() local 1548 b53_read16(dev, B53_VLAN_PAGE, B53_VLAN_PORT_DEF_TAG(port), &pvid); in b53_vlan_del() 1556 if (pvid == vlan->vid) in b53_vlan_del() 1557 pvid = b53_default_pvid(dev); in b53_vlan_del() 1566 b53_fast_age_vlan(dev, pvid); in b53_vlan_del() 1948 u16 pvlan, reg, pvid; in b53_br_leave() local 1970 pvid = b53_default_pvid(dev); in b53_br_leave() 1980 b53_get_vlan_entry(dev, pvid, vl); in b53_br_leave() [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am335x-igep0033.dtsi | 114 ti,dual-emac-pvid = <1>; 120 ti,dual-emac-pvid = <2>;
|
H A D | dra72-evm.dts | 80 ti,dual-emac-pvid = <1>;
|
H A D | dra71-evm.dts | 234 ti,dual-emac-pvid = <1>; 240 ti,dual-emac-pvid = <2>;
|
H A D | am335x-lxm.dts | 301 ti,dual-emac-pvid = <2>; 307 ti,dual-emac-pvid = <3>;
|
H A D | am335x-moxa-uc-8100-common.dtsi | 335 ti,dual-emac-pvid = <1>; 341 ti,dual-emac-pvid = <2>;
|
/openbmc/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek.c | 151 bool pvid) in hellcreek_select_vlan() argument 156 if (pvid) in hellcreek_select_vlan() 407 bool pvid, bool untagged) in hellcreek_apply_vlan() argument 413 port, vid, pvid, untagged); in hellcreek_apply_vlan() 418 hellcreek_select_vlan(hellcreek, vid, pvid); in hellcreek_apply_vlan() 464 bool pvid = vlan->flags & BRIDGE_VLAN_INFO_PVID; in hellcreek_vlan_add() local 474 pvid ? "PVID" : "no PVID"); in hellcreek_vlan_add() 476 hellcreek_apply_vlan(hellcreek, port, vlan->vid, pvid, untagged); in hellcreek_vlan_add()
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 108 if (mac[port].vlanid == pvid) in sja1105_pvid_apply() 111 mac[port].vlanid = pvid; in sja1105_pvid_apply() 125 u16 pvid; in sja1105_commit_pvid() local 128 pvid = priv->bridge_pvid[port]; in sja1105_commit_pvid() 130 pvid = priv->tag_8021q_pvid[port]; in sja1105_commit_pvid() 132 rc = sja1105_pvid_apply(priv, port, pvid); in sja1105_commit_pvid() 143 if (pvid == priv->bridge_pvid[port]) { in sja1105_commit_pvid() 463 struct sja1105_vlan_lookup_entry pvid = { in sja1105_init_static_vlan() local 493 pvid.vmemb_port |= BIT(port); in sja1105_init_static_vlan() 494 pvid.vlan_bc |= BIT(port); in sja1105_init_static_vlan() [all …]
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | port.h | 396 int mv88e6xxx_port_get_pvid(struct mv88e6xxx_chip *chip, int port, u16 *pvid); 397 int mv88e6xxx_port_set_pvid(struct mv88e6xxx_chip *chip, int port, u16 pvid);
|
H A D | port.c | 1101 int mv88e6xxx_port_get_pvid(struct mv88e6xxx_chip *chip, int port, u16 *pvid) in mv88e6xxx_port_get_pvid() argument 1111 *pvid = reg & MV88E6XXX_PORT_DEFAULT_VLAN_MASK; in mv88e6xxx_port_get_pvid() 1116 int mv88e6xxx_port_set_pvid(struct mv88e6xxx_chip *chip, int port, u16 pvid) in mv88e6xxx_port_set_pvid() argument 1127 reg |= pvid & MV88E6XXX_PORT_DEFAULT_VLAN_MASK; in mv88e6xxx_port_set_pvid() 1134 dev_dbg(chip->dev, "p%d: DefaultVID set to %u\n", port, pvid); in mv88e6xxx_port_set_pvid()
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_iov.c | 383 s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid) in fm10k_iov_update_pvid() argument 400 if (vf_info->sw_vid != pvid) { in fm10k_iov_update_pvid() 401 vf_info->sw_vid = pvid; in fm10k_iov_update_pvid()
|
/openbmc/linux/drivers/net/dsa/ |
H A D | lantiq_gswip.c | 1030 bool pvid) in gswip_vlan_add_aware() argument 1097 if (pvid) in gswip_vlan_add_aware() 1105 u16 vid, bool pvid, bool vlan_aware) in gswip_vlan_remove() argument 1155 if (pvid) in gswip_vlan_remove() 1252 bool pvid = vlan->flags & BRIDGE_VLAN_INFO_PVID; in gswip_port_vlan_add() local 1268 untagged, pvid); in gswip_port_vlan_add() 1276 bool pvid = vlan->flags & BRIDGE_VLAN_INFO_PVID; in gswip_port_vlan_del() local 1286 return gswip_vlan_remove(priv, bridge, port, vlan->vid, pvid, true); in gswip_port_vlan_del()
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.h | 445 u16 pvid; member 549 bool pvid, 553 bool pvid,
|
/openbmc/linux/net/bridge/ |
H A D | br_vlan_options.c | 273 u16 pvid; in br_vlan_process_options() local 289 pvid = br_get_pvid(vg); in br_vlan_process_options() 313 if (v->vid == pvid || in br_vlan_process_options()
|
H A D | br_switchdev.c | 419 u16 pvid; in br_switchdev_vlan_replay_group() local 424 pvid = br_get_pvid(vg); in br_switchdev_vlan_replay_group() 430 .flags = br_vlan_flags(v, pvid), in br_switchdev_vlan_replay_group()
|
H A D | br_private.h | 262 u16 pvid; member 1537 int __br_vlan_set_default_pvid(struct net_bridge *br, u16 pvid, 1613 return vg->pvid; in br_get_pvid() 1616 static inline u16 br_vlan_flags(const struct net_bridge_vlan *v, u16 pvid) in br_vlan_flags() argument 1618 return v->vid == pvid ? v->flags | BRIDGE_VLAN_INFO_PVID : v->flags; in br_vlan_flags() 1802 static inline u16 br_vlan_flags(const struct net_bridge_vlan *v, u16 pvid) in br_vlan_flags() argument
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_net.c | 492 static int ocelot_vlan_vid_add(struct net_device *dev, u16 vid, bool pvid, in ocelot_vlan_vid_add() argument 501 ret = ocelot_vlan_add(ocelot, port, vid, pvid, untagged); in ocelot_vlan_vid_add() 1074 static int ocelot_vlan_vid_prepare(struct net_device *dev, u16 vid, bool pvid, in ocelot_vlan_vid_prepare() argument 1082 return ocelot_vlan_prepare(ocelot, port, vid, pvid, untagged, extack); in ocelot_vlan_vid_prepare() 1090 bool pvid = vlan->flags & BRIDGE_VLAN_INFO_PVID; in ocelot_port_obj_add_vlan() local 1093 ret = ocelot_vlan_vid_prepare(dev, vlan->vid, pvid, untagged, extack); in ocelot_port_obj_add_vlan() 1097 return ocelot_vlan_vid_add(dev, vlan->vid, pvid, untagged); in ocelot_port_obj_add_vlan()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-switch.h | 154 u16 pvid; member
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_switchdev.c | 1417 else if (mlxsw_sp_port->pvid == vid) in mlxsw_sp_port_pvid_determine() 1420 return mlxsw_sp_port->pvid; in mlxsw_sp_port_pvid_determine() 1518 u16 pvid = mlxsw_sp_port_pvid_determine(mlxsw_sp_port, vid, is_pvid); in mlxsw_sp_bridge_port_vlan_add() local 1520 u16 old_pvid = mlxsw_sp_port->pvid; in mlxsw_sp_bridge_port_vlan_add() 1546 err = mlxsw_sp_port_pvid_set(mlxsw_sp_port, pvid, proto); in mlxsw_sp_bridge_port_vlan_add() 2292 u16 pvid = mlxsw_sp_port->pvid == vid ? 0 : mlxsw_sp_port->pvid; in mlxsw_sp_bridge_port_vlan_del() local 2302 mlxsw_sp_port_pvid_set(mlxsw_sp_port, pvid, proto); in mlxsw_sp_bridge_port_vlan_del() 2575 u16 pvid; in mlxsw_sp_bridge_8021q_vxlan_dev_find() local 2581 err = mlxsw_sp_vxlan_mapped_vid(dev, &pvid); in mlxsw_sp_bridge_8021q_vxlan_dev_find() 2582 if (err || pvid != vid) in mlxsw_sp_bridge_8021q_vxlan_dev_find()
|