Home
last modified time | relevance | path

Searched refs:pvid (Results 101 – 125 of 157) sorted by relevance

1234567

/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Ddra7-evm.dts547 ti,dual-emac-pvid = <1>;
553 ti,dual-emac-pvid = <2>;
H A Dam335x-pepper.dts266 ti,dual-emac-pvid = <1>;
272 ti,dual-emac-pvid = <2>;
H A Dam57xx-cl-som-am57x.dts559 ti,dual-emac-pvid = <1>;
565 ti,dual-emac-pvid = <2>;
H A Dam335x-myirtech-myc.dtsi77 ti,dual-emac-pvid = <1>;
H A Dam335x-phycore-som.dtsi104 ti,dual-emac-pvid = <1>;
H A Dam335x-evmsk.dts623 ti,dual-emac-pvid = <1>;
629 ti,dual-emac-pvid = <2>;
H A Dam335x-bone-common.dtsi364 ti,dual-emac-pvid = <1>;
H A Dam437x-sk-evm.dts819 ti,dual-emac-pvid = <1>;
825 ti,dual-emac-pvid = <2>;
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c228 static int dpaa2_switch_port_set_pvid(struct ethsw_port_priv *port_priv, u16 pvid) in dpaa2_switch_port_set_pvid() argument
243 tci_cfg.vlan_id = pvid; in dpaa2_switch_port_set_pvid()
265 port_priv->vlans[port_priv->pvid] &= ~ETHSW_VLAN_PVID; in dpaa2_switch_port_set_pvid()
266 port_priv->vlans[pvid] |= ETHSW_VLAN_PVID; in dpaa2_switch_port_set_pvid()
267 port_priv->pvid = pvid; in dpaa2_switch_port_set_pvid()
2442 if (vid == port_priv->pvid) { in dpaa2_switch_rx()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c401 adapter->pvid = le16_to_cpu(evt->tag) & VLAN_VID_MASK; in be_async_grp5_pvid_state_process()
402 dev_info(&adapter->pdev->dev, "LPVID: %d\n", adapter->pvid); in be_async_grp5_pvid_state_process()
404 adapter->pvid = 0; in be_async_grp5_pvid_state_process()
3880 int be_cmd_set_hsw_config(struct be_adapter *adapter, u16 pvid, in be_cmd_set_hsw_config() argument
3909 if (pvid) { in be_cmd_set_hsw_config()
3911 AMAP_SET_BITS(struct amap_set_hsw_context, pvid, ctxt, pvid); in be_cmd_set_hsw_config()
3938 int be_cmd_get_hsw_config(struct be_adapter *adapter, u16 *pvid, in be_cmd_get_hsw_config() argument
3981 pvid, &resp->context); in be_cmd_get_hsw_config()
3982 if (pvid) in be_cmd_get_hsw_config()
3983 *pvid = le16_to_cpu(vid); in be_cmd_get_hsw_config()
H A Dbe.h654 u16 pvid; member
740 #define be_pvid_tagging_enabled(adapter) (adapter->pvid)
H A Dbe_cmds.h1859 u8 pvid[16]; member
1883 u8 pvid[16]; member
2475 int be_cmd_set_hsw_config(struct be_adapter *adapter, u16 pvid, u32 domain,
2477 int be_cmd_get_hsw_config(struct be_adapter *adapter, u16 *pvid, u32 domain,
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot.c461 u16 pvid = ocelot_vlan_unaware_pvid(ocelot, ocelot_port->bridge); in ocelot_port_set_pvid() local
467 pvid = pvid_vlan->vid; in ocelot_port_set_pvid()
470 ANA_PORT_VLAN_CFG_VLAN_VID(pvid), in ocelot_port_set_pvid()
641 int ocelot_vlan_prepare(struct ocelot *ocelot, int port, u16 vid, bool pvid, in ocelot_vlan_prepare() argument
670 int ocelot_vlan_add(struct ocelot *ocelot, int port, u16 vid, bool pvid, in ocelot_vlan_add() argument
687 if (pvid) in ocelot_vlan_add()
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_main.c87 prestera_hw_vlan_port_vid_set(port, port->pvid); in prestera_port_pvid_set()
89 port->pvid = vid; in prestera_port_pvid_set()
617 port->pvid = PRESTERA_DEFAULT_VID; in prestera_port_create()
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k.h531 s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid);
/openbmc/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma.h291 u16 pvid; member
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_l2_drops.sh137 bridge vlan add vid 1 dev $swp1 pvid untagged master
H A Drtnetlink.sh181 bridge vlan add vid 10 dev $swp1 pvid untagged
183 bridge vlan add vid 10 dev $swp1 pvid
/openbmc/linux/drivers/net/dsa/qca/
H A Dqca8k-common.c1004 bool pvid = vlan->flags & BRIDGE_VLAN_INFO_PVID; in qca8k_port_vlan_add() local
1014 if (pvid) { in qca8k_port_vlan_add()
/openbmc/linux/include/soc/mscc/
H A Docelot.h1062 int ocelot_vlan_prepare(struct ocelot *ocelot, int port, u16 vid, bool pvid,
1064 int ocelot_vlan_add(struct ocelot *ocelot, int port, u16 vid, bool pvid,
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c1334 if (vsi->info.pvid) in i40e_is_vsi_in_vlan()
1394 s16 pvid = le16_to_cpu(vsi->info.pvid); in i40e_correct_mac_vlan_filters() local
1416 if (pvid && new->f->vlan != pvid) in i40e_correct_mac_vlan_filters()
1431 if ((pvid && f->vlan != pvid) || in i40e_correct_mac_vlan_filters()
1435 if (pvid) in i40e_correct_mac_vlan_filters()
1436 new_vlan = pvid; in i40e_correct_mac_vlan_filters()
1490 s16 pvid = le16_to_cpu(vsi->info.pvid); in i40e_get_vf_new_vlan() local
1497 if (pvid && f->vlan != pvid) in i40e_get_vf_new_vlan()
1498 return pvid; in i40e_get_vf_new_vlan()
1747 if (vsi->info.pvid) in i40e_add_mac_filter()
[all …]
/openbmc/linux/drivers/net/dsa/
H A Drzn1_a5psw.c733 bool pvid = vlan->flags & BRIDGE_VLAN_INFO_PVID; in a5psw_port_vlan_add() local
753 if (pvid) in a5psw_port_vlan_add()
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dchip.c2060 u16 pvid = MV88E6XXX_VID_STANDALONE; in mv88e6xxx_port_commit_pvid() local
2066 pvid = p->bridge_pvid.vid; in mv88e6xxx_port_commit_pvid()
2069 pvid = MV88E6XXX_VID_BRIDGED; in mv88e6xxx_port_commit_pvid()
2073 err = mv88e6xxx_port_set_pvid(chip, port, pvid); in mv88e6xxx_port_commit_pvid()
2541 bool pvid = vlan->flags & BRIDGE_VLAN_INFO_PVID; in mv88e6xxx_port_vlan_add() local
2575 if (pvid) { in mv88e6xxx_port_vlan_add()
2648 u16 pvid; in mv88e6xxx_port_vlan_del() local
2662 err = mv88e6xxx_port_get_pvid(chip, port, &pvid); in mv88e6xxx_port_vlan_del()
2670 if (vlan->vid == pvid) { in mv88e6xxx_port_vlan_del()
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_vlan_mcast.sh414 bridge vlan add vid 10 dev br1 self pvid untagged
/openbmc/linux/tools/testing/selftests/net/
H A Dtest_vxlan_vnifiltering.sh279 bridge -netns hv-$hvid vlan add vid $vid pvid dev $vxlandev

1234567