/linux-4.4.14/net/bridge/ |
D | br_vlan.c | 36 if (vg->pvid == vid) in __vlan_add_pvid() 40 vg->pvid = vid; in __vlan_add_pvid() 45 if (vg->pvid != vid) in __vlan_delete_pvid() 49 vg->pvid = 0; in __vlan_delete_pvid() 321 __vlan_delete_pvid(vg, vg->pvid); in __vlan_flush() 405 u16 pvid = br_get_pvid(vg); in __allowed_ingress() local 411 if (!pvid) in __allowed_ingress() 417 *vid = pvid; in __allowed_ingress() 420 __vlan_hwaccel_put_tag(skb, proto, pvid); in __allowed_ingress() 427 skb->vlan_tci |= pvid; in __allowed_ingress() [all …]
|
D | br_netlink.c | 29 u16 flags, pvid; in __get_num_vlan_infos() local 35 pvid = br_get_pvid(vg); in __get_num_vlan_infos() 42 if (v->vid == pvid) in __get_num_vlan_infos() 248 u16 flags, pvid; in br_fill_ifvlaninfo_compressed() local 255 pvid = br_get_pvid(vg); in br_fill_ifvlaninfo_compressed() 260 if (v->vid == pvid) in br_fill_ifvlaninfo_compressed() 303 u16 pvid; in br_fill_ifvlaninfo() local 305 pvid = br_get_pvid(vg); in br_fill_ifvlaninfo() 312 if (v->vid == pvid) in br_fill_ifvlaninfo()
|
D | br_private.h | 134 u16 pvid; member 693 int __br_vlan_set_default_pvid(struct net_bridge *br, u16 pvid); 747 return vg->pvid; in br_get_pvid()
|
/linux-4.4.14/arch/powerpc/platforms/85xx/ |
D | stx_gp3.c | 75 uint pvid, svid, phid1; in stx_gp3_show_cpuinfo() local 77 pvid = mfspr(SPRN_PVR); in stx_gp3_show_cpuinfo() 81 seq_printf(m, "PVR\t\t: 0x%x\n", pvid); in stx_gp3_show_cpuinfo()
|
D | tqm85xx.c | 74 uint pvid, svid, phid1; in tqm85xx_show_cpuinfo() local 76 pvid = mfspr(SPRN_PVR); in tqm85xx_show_cpuinfo() 80 seq_printf(m, "PVR\t\t: 0x%x\n", pvid); in tqm85xx_show_cpuinfo()
|
D | sbc8548.c | 101 uint pvid, svid, phid1; in sbc8548_show_cpuinfo() local 103 pvid = mfspr(SPRN_PVR); in sbc8548_show_cpuinfo() 108 seq_printf(m, "PVR\t\t: 0x%x\n", pvid); in sbc8548_show_cpuinfo()
|
D | ksi8560.c | 148 uint pvid, svid, phid1; in ksi8560_show_cpuinfo() local 150 pvid = mfspr(SPRN_PVR); in ksi8560_show_cpuinfo() 164 seq_printf(m, "PVR\t\t: 0x%x\n", pvid); in ksi8560_show_cpuinfo()
|
D | mpc85xx_ads.c | 157 uint pvid, svid, phid1; in mpc85xx_ads_show_cpuinfo() local 159 pvid = mfspr(SPRN_PVR); in mpc85xx_ads_show_cpuinfo() 163 seq_printf(m, "PVR\t\t: 0x%x\n", pvid); in mpc85xx_ads_show_cpuinfo()
|
D | mpc85xx_cds.c | 348 uint pvid, svid, phid1; in mpc85xx_cds_show_cpuinfo() local 350 pvid = mfspr(SPRN_PVR); in mpc85xx_cds_show_cpuinfo() 356 seq_printf(m, "PVR\t\t: 0x%x\n", pvid); in mpc85xx_cds_show_cpuinfo()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 420 if (flag_pvid && mlxsw_sp_port->pvid != vid) { in __mlxsw_sp_port_vlans_add() 427 mlxsw_sp_port->pvid = vid; in __mlxsw_sp_port_vlans_add() 463 vid = mlxsw_sp_port->pvid; in mlxsw_sp_port_fdb_op() 564 if ((mlxsw_sp_port->pvid >= vid_begin) && in __mlxsw_sp_port_vlans_del() 565 (mlxsw_sp_port->pvid <= vid_end)) { in __mlxsw_sp_port_vlans_del() 567 mlxsw_sp_port->pvid = 1; in __mlxsw_sp_port_vlans_del() 569 mlxsw_sp_port->pvid); in __mlxsw_sp_port_vlans_del() 706 if (vid == mlxsw_sp_port->pvid) in mlxsw_sp_port_vlan_dump() 887 mlxsw_sp_port->pvid = 1; in mlxsw_sp_port_vlan_init()
|
D | spectrum.h | 93 u16 pvid; member
|
D | reg.h | 584 MLXSW_ITEM32(reg, spvid, pvid, 0x04, 0, 12); 586 static inline void mlxsw_reg_spvid_pack(char *payload, u8 local_port, u16 pvid) in mlxsw_reg_spvid_pack() argument 590 mlxsw_reg_spvid_pvid_set(payload, pvid); in mlxsw_reg_spvid_pack()
|
D | spectrum.c | 1231 mlxsw_sp_port->pvid = 1; in mlxsw_sp_port_create()
|
/linux-4.4.14/drivers/net/dsa/ |
D | mv88e6xxx.c | 1128 static int _mv88e6xxx_port_pvid_get(struct dsa_switch *ds, int port, u16 *pvid) in _mv88e6xxx_port_pvid_get() argument 1136 *pvid = ret & PORT_DEFAULT_VLAN_MASK; in _mv88e6xxx_port_pvid_get() 1141 int mv88e6xxx_port_pvid_get(struct dsa_switch *ds, int port, u16 *pvid) in mv88e6xxx_port_pvid_get() argument 1149 *pvid = ret & PORT_DEFAULT_VLAN_MASK; in mv88e6xxx_port_pvid_get() 1154 static int _mv88e6xxx_port_pvid_set(struct dsa_switch *ds, int port, u16 pvid) in _mv88e6xxx_port_pvid_set() argument 1157 pvid & PORT_DEFAULT_VLAN_MASK); in _mv88e6xxx_port_pvid_set() 1508 bool pvid = vlan->flags & BRIDGE_VLAN_INFO_PVID; in mv88e6xxx_port_vlan_add() local 1521 if (pvid) in mv88e6xxx_port_vlan_add() 1572 u16 pvid, vid; in mv88e6xxx_port_vlan_del() local 1577 err = _mv88e6xxx_port_pvid_get(ds, port, &pvid); in mv88e6xxx_port_vlan_del() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_iov.c | 244 s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid) in fm10k_iov_update_pvid() argument 261 if (vf_info->sw_vid != pvid) { in fm10k_iov_update_pvid() 262 vf_info->sw_vid = pvid; in fm10k_iov_update_pvid()
|
D | fm10k_pci.c | 1255 u16 glort, pvid; in fm10k_update_pvid() local 1266 pvid = FM10K_MSG_HDR_FIELD_GET(pvid_update, UPDATE_PVID_PVID); in fm10k_update_pvid() 1273 if (pvid >= FM10K_VLAN_TABLE_VID_MAX) in fm10k_update_pvid() 1279 err = fm10k_iov_update_pvid(interface, glort, pvid); in fm10k_update_pvid() 1284 if (pvid != hw->mac.default_vid) in fm10k_update_pvid() 1287 hw->mac.default_vid = pvid; in fm10k_update_pvid()
|
D | fm10k_pf.c | 1684 u16 glort, pvid; in fm10k_msg_update_pvid_pf() local 1695 pvid = FM10K_MSG_HDR_FIELD_GET(pvid_update, UPDATE_PVID_PVID); in fm10k_msg_update_pvid_pf() 1702 if (pvid >= FM10K_VLAN_TABLE_VID_MAX) in fm10k_msg_update_pvid_pf() 1706 hw->mac.default_vid = pvid; in fm10k_msg_update_pvid_pf()
|
D | fm10k.h | 512 s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid);
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 1203 if (!vsi->info.pvid) in i40e_vc_get_vf_resources_msg() 1731 if (vsi->info.pvid) { in i40e_vc_add_vlan_msg() 1785 if (vsi->info.pvid) { in i40e_vc_remove_vlan_msg() 2158 if (le16_to_cpu(vsi->info.pvid) == vlanprio) in i40e_ndo_set_vf_port_vlan() 2166 if (le16_to_cpu(vsi->info.pvid) == 0 && is_vsi_in_vlan) { in i40e_ndo_set_vf_port_vlan() 2186 vlanprio != le16_to_cpu(vsi->info.pvid)) && in i40e_ndo_set_vf_port_vlan() 2187 vsi->info.pvid) in i40e_ndo_set_vf_port_vlan() 2190 if (vsi->info.pvid) { in i40e_ndo_set_vf_port_vlan() 2192 ret = i40e_vsi_kill_vlan(vsi, (le16_to_cpu(vsi->info.pvid) & in i40e_ndo_set_vf_port_vlan() 2230 vf->port_vlan_id = le16_to_cpu(vsi->info.pvid); in i40e_ndo_set_vf_port_vlan() [all …]
|
D | i40e_adminq_cmd.h | 754 __le16 pvid; /* VLANS include priority bits */ member
|
D | i40e_main.c | 1280 if (f->vlan >= 0 || vsi->info.pvid) in i40e_is_vsi_in_vlan() 1305 if (vsi->info.pvid) in i40e_put_mac_in_vlan() 1306 f->vlan = le16_to_cpu(vsi->info.pvid); in i40e_put_mac_in_vlan() 2361 if (vid > 0 && !vsi->info.pvid) { in i40e_vsi_add_vlan() 2573 vsi->info.pvid = cpu_to_le16(vid); in i40e_vsi_add_pvid() 2603 vsi->info.pvid = 0; in i40e_vsi_remove_pvid()
|
D | i40e_debugfs.c | 618 vsi->info.pvid, vsi->info.fcoe_pvid, in i40e_dbg_dump_vsi_seid()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov.h | 131 u16 pvid; member
|
D | qlcnic_sriov_pf.c | 710 cmd.req.arg[3] |= vp->pvid << 8; in qlcnic_sriov_set_vf_acl() 1274 cmd->req.arg[3] |= vp->pvid << 16; in qlcnic_sriov_validate_cfg_macvlan() 1364 cmd->rsp.arg[1] = mode | 1 << 8 | vp->pvid << 16; in qlcnic_sriov_pf_get_acl_cmd() 1962 vp->pvid = vlan; in qlcnic_sriov_set_vf_vlan() 1977 vlan = vp->pvid; in qlcnic_sriov_get_vf_vlan()
|
D | qlcnic_sysfs.c | 615 npar->pvid = esw_cfg[i].vlan_id; in qlcnic_sysfs_write_esw_config() 618 npar->pvid = 0; in qlcnic_sysfs_write_esw_config()
|
D | qlcnic_main.c | 1529 npar->pvid = esw_cfg.vlan_id; in qlcnic_set_default_offload_settings() 1548 esw_cfg.vlan_id = npar->pvid; in qlcnic_reset_eswitch_config()
|
D | qlcnic.h | 1297 u16 pvid; member
|
/linux-4.4.14/include/net/ |
D | dsa.h | 321 int (*port_pvid_get)(struct dsa_switch *ds, int port, u16 *pvid);
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 72 vlan_tag = dev->pvid; in set_av_attr()
|
D | ocrdma.h | 292 u16 pvid; member
|
D | ocrdma_hw.c | 810 dev->pvid = ((evt->tag_enabled & in ocrdma_process_grp5_aync()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 337 adapter->pvid = le16_to_cpu(evt->tag) & VLAN_VID_MASK; in be_async_grp5_pvid_state_process() 338 dev_info(&adapter->pdev->dev, "LPVID: %d\n", adapter->pvid); in be_async_grp5_pvid_state_process() 340 adapter->pvid = 0; in be_async_grp5_pvid_state_process() 3225 int be_cmd_set_hsw_config(struct be_adapter *adapter, u16 pvid, in be_cmd_set_hsw_config() argument 3250 if (pvid) { in be_cmd_set_hsw_config() 3252 AMAP_SET_BITS(struct amap_set_hsw_context, pvid, ctxt, pvid); in be_cmd_set_hsw_config() 3279 int be_cmd_get_hsw_config(struct be_adapter *adapter, u16 *pvid, in be_cmd_get_hsw_config() argument 3322 pvid, &resp->context); in be_cmd_get_hsw_config() 3323 if (pvid) in be_cmd_get_hsw_config() 3324 *pvid = le16_to_cpu(vid); in be_cmd_get_hsw_config()
|
D | be.h | 582 u16 pvid; member 635 #define be_pvid_tagging_enabled(adapter) (adapter->pvid)
|
D | be_cmds.h | 1792 u8 pvid[16]; member 1816 u8 pvid[16]; member 2374 int be_cmd_set_hsw_config(struct be_adapter *adapter, u16 pvid, u32 domain, 2376 int be_cmd_get_hsw_config(struct be_adapter *adapter, u16 *pvid, u32 domain,
|
D | be_main.c | 991 if (qnq_async_evt_rcvd(adapter) && adapter->pvid) { in be_insert_vlan_in_pkt() 993 vlan_tag = adapter->pvid; in be_insert_vlan_in_pkt() 1045 return skb_vlan_tag_present(skb) || adapter->pvid || adapter->qnq_vid; in be_vlan_tag_tx_chk() 1098 (adapter->pvid || adapter->qnq_vid) && in be_lancer_xmit_workarounds() 2273 if (adapter->pvid == (rxcp->vlan_tag & VLAN_VID_MASK) && in be_rx_compl_get()
|
/linux-4.4.14/net/dsa/ |
D | slave.c | 297 u16 pvid, vid = 0; in dsa_slave_port_vlan_dump() local 303 err = ds->drv->port_pvid_get(ds, p->port, &pvid); in dsa_slave_port_vlan_dump() 318 if (vid == pvid) in dsa_slave_port_vlan_dump()
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfad_bsg.h | 222 u16 pvid; /* Port vlan id */ member
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_adminq_cmd.h | 751 __le16 pvid; /* VLANS include priority bits */ member
|