Home
last modified time | relevance | path

Searched refs:pvid (Results 1 – 31 of 31) sorted by relevance

/linux-4.1.27/net/bridge/
Dbr_vlan.c10 if (v->pvid == vid) in __vlan_add_pvid()
14 v->pvid = vid; in __vlan_add_pvid()
19 if (v->pvid != vid) in __vlan_delete_pvid()
23 v->pvid = 0; in __vlan_delete_pvid()
117 v->pvid = 0; in __vlan_flush()
220 u16 pvid = br_get_pvid(v); in br_allowed_ingress() local
226 if (!pvid) in br_allowed_ingress()
232 *vid = pvid; in br_allowed_ingress()
235 __vlan_hwaccel_put_tag(skb, proto, pvid); in br_allowed_ingress()
242 skb->vlan_tci |= pvid; in br_allowed_ingress()
[all …]
Dbr_netlink.c30 u16 pvid, vid, flags; in br_get_num_vlan_infos() local
41 pvid = br_get_pvid(pv); in br_get_num_vlan_infos()
44 if (vid == pvid) in br_get_num_vlan_infos()
195 u16 pvid, vid, flags; in br_fill_ifvlaninfo_compressed() local
202 pvid = br_get_pvid(pv); in br_fill_ifvlaninfo_compressed()
205 if (vid == pvid) in br_fill_ifvlaninfo_compressed()
247 u16 pvid, vid; in br_fill_ifvlaninfo() local
249 pvid = br_get_pvid(pv); in br_fill_ifvlaninfo()
253 if (vid == pvid) in br_fill_ifvlaninfo()
Dbr_private.h81 u16 pvid; member
652 return v->pvid; in br_get_pvid()
/linux-4.1.27/arch/powerpc/platforms/85xx/
Dstx_gp3.c75 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()
Dtqm85xx.c74 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()
Dsbc8548.c101 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()
Dksi8560.c148 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()
Dmpc85xx_ads.c157 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()
Dmpc85xx_cds.c349 uint pvid, svid, phid1; in mpc85xx_cds_show_cpuinfo() local
351 pvid = mfspr(SPRN_PVR); in mpc85xx_cds_show_cpuinfo()
357 seq_printf(m, "PVR\t\t: 0x%x\n", pvid); in mpc85xx_cds_show_cpuinfo()
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_iov.c244 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()
Dfm10k_pci.c1194 u16 glort, pvid; in fm10k_update_pvid() local
1205 pvid = FM10K_MSG_HDR_FIELD_GET(pvid_update, UPDATE_PVID_PVID); in fm10k_update_pvid()
1212 if (pvid >= FM10K_VLAN_TABLE_VID_MAX) in fm10k_update_pvid()
1218 err = fm10k_iov_update_pvid(interface, glort, pvid); in fm10k_update_pvid()
1223 if (pvid != hw->mac.default_vid) in fm10k_update_pvid()
1226 hw->mac.default_vid = pvid; in fm10k_update_pvid()
Dfm10k_pf.c1658 u16 glort, pvid; in fm10k_msg_update_pvid_pf() local
1669 pvid = FM10K_MSG_HDR_FIELD_GET(pvid_update, UPDATE_PVID_PVID); in fm10k_msg_update_pvid_pf()
1676 if (pvid >= FM10K_VLAN_TABLE_VID_MAX) in fm10k_msg_update_pvid_pf()
1680 hw->mac.default_vid = pvid; in fm10k_msg_update_pvid_pf()
Dfm10k.h493 s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid);
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c1166 if (!vsi->info.pvid) in i40e_vc_get_vf_resources_msg()
1673 if (vsi->info.pvid) { in i40e_vc_add_vlan_msg()
1726 if (vsi->info.pvid) { in i40e_vc_remove_vlan_msg()
2084 if (vsi->info.pvid == 0 && i40e_is_vsi_in_vlan(vsi)) { in i40e_ndo_set_vf_port_vlan()
2104 (vlan_id | qos) != le16_to_cpu(vsi->info.pvid)) && in i40e_ndo_set_vf_port_vlan()
2105 vsi->info.pvid) in i40e_ndo_set_vf_port_vlan()
2108 if (vsi->info.pvid) { in i40e_ndo_set_vf_port_vlan()
2110 ret = i40e_vsi_kill_vlan(vsi, (le16_to_cpu(vsi->info.pvid) & in i40e_ndo_set_vf_port_vlan()
2149 vf->port_vlan_id = le16_to_cpu(vsi->info.pvid); in i40e_ndo_set_vf_port_vlan()
2277 ivi->vlan = le16_to_cpu(vsi->info.pvid) & I40E_VLAN_MASK; in i40e_ndo_get_vf_config()
[all …]
Di40e_adminq_cmd.h755 __le16 pvid; /* VLANS include priority bits */ member
Di40e_debugfs.c616 vsi->info.pvid, vsi->info.fcoe_pvid, in i40e_dbg_dump_vsi_seid()
Di40e_main.c2099 if (vid > 0 && !vsi->info.pvid) { in i40e_vsi_add_vlan()
2295 vsi->info.pvid = cpu_to_le16(vid); in i40e_vsi_add_pvid()
2323 vsi->info.pvid = 0; in i40e_vsi_remove_pvid()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov.h130 u16 pvid; member
Dqlcnic_sriov_pf.c709 cmd.req.arg[3] |= vp->pvid << 8; in qlcnic_sriov_set_vf_acl()
1273 cmd->req.arg[3] |= vp->pvid << 16; in qlcnic_sriov_validate_cfg_macvlan()
1363 cmd->rsp.arg[1] = mode | 1 << 8 | vp->pvid << 16; in qlcnic_sriov_pf_get_acl_cmd()
1961 vp->pvid = vlan; in qlcnic_sriov_set_vf_vlan()
1976 vlan = vp->pvid; in qlcnic_sriov_get_vf_vlan()
Dqlcnic_sysfs.c618 npar->pvid = esw_cfg[i].vlan_id; in qlcnic_sysfs_write_esw_config()
621 npar->pvid = 0; in qlcnic_sysfs_write_esw_config()
Dqlcnic_main.c1519 npar->pvid = esw_cfg.vlan_id; in qlcnic_set_default_offload_settings()
1538 esw_cfg.vlan_id = npar->pvid; in qlcnic_reset_eswitch_config()
Dqlcnic.h1296 u16 pvid; member
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c58 vlan_tag = dev->pvid; in set_av_attr()
Docrdma.h273 u16 pvid; member
Docrdma_hw.c770 dev->pvid = ((evt->tag_enabled & in ocrdma_process_grp5_aync()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c326 adapter->pvid = le16_to_cpu(evt->tag) & VLAN_VID_MASK; in be_async_grp5_pvid_state_process()
327 dev_info(&adapter->pdev->dev, "LPVID: %d\n", adapter->pvid); in be_async_grp5_pvid_state_process()
329 adapter->pvid = 0; in be_async_grp5_pvid_state_process()
3158 int be_cmd_set_hsw_config(struct be_adapter *adapter, u16 pvid, in be_cmd_set_hsw_config() argument
3183 if (pvid) { in be_cmd_set_hsw_config()
3185 AMAP_SET_BITS(struct amap_set_hsw_context, pvid, ctxt, pvid); in be_cmd_set_hsw_config()
3204 int be_cmd_get_hsw_config(struct be_adapter *adapter, u16 *pvid, in be_cmd_get_hsw_config() argument
3247 pvid, &resp->context); in be_cmd_get_hsw_config()
3248 if (pvid) in be_cmd_get_hsw_config()
3249 *pvid = le16_to_cpu(vid); in be_cmd_get_hsw_config()
Dbe.h565 u16 pvid; member
612 #define be_pvid_tagging_enabled(adapter) (adapter->pvid)
Dbe_cmds.h1756 u8 pvid[16]; member
1778 u8 pvid[16]; member
2336 int be_cmd_set_hsw_config(struct be_adapter *adapter, u16 pvid, u32 domain,
2338 int be_cmd_get_hsw_config(struct be_adapter *adapter, u16 *pvid, u32 domain,
Dbe_main.c972 if (qnq_async_evt_rcvd(adapter) && adapter->pvid) { in be_insert_vlan_in_pkt()
974 vlan_tag = adapter->pvid; in be_insert_vlan_in_pkt()
1026 return skb_vlan_tag_present(skb) || adapter->pvid || adapter->qnq_vid; in be_vlan_tag_tx_chk()
1079 (adapter->pvid || adapter->qnq_vid) && in be_lancer_xmit_workarounds()
2031 if (adapter->pvid == (rxcp->vlan_tag & VLAN_VID_MASK) && in be_rx_compl_get()
/linux-4.1.27/drivers/scsi/bfa/
Dbfad_bsg.h222 u16 pvid; /* Port vlan id */ member
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40e_adminq_cmd.h753 __le16 pvid; /* VLANS include priority bits */ member