Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c1088 if (!vsi->info.pvid) in i40e_vc_get_vf_resources_msg()
1594 if (vsi->info.pvid) { in i40e_vc_add_vlan_msg()
1647 if (vsi->info.pvid) { in i40e_vc_remove_vlan_msg()
2116 if (vsi->info.pvid == 0 && i40e_is_vsi_in_vlan(vsi)) { in i40e_ndo_set_vf_port_vlan()
2136 (vlan_id | qos) != le16_to_cpu(vsi->info.pvid)) && in i40e_ndo_set_vf_port_vlan()
2137 vsi->info.pvid) in i40e_ndo_set_vf_port_vlan()
2140 if (vsi->info.pvid) { in i40e_ndo_set_vf_port_vlan()
2142 ret = i40e_vsi_kill_vlan(vsi, (le16_to_cpu(vsi->info.pvid) & in i40e_ndo_set_vf_port_vlan()
2181 vf->port_vlan_id = le16_to_cpu(vsi->info.pvid); in i40e_ndo_set_vf_port_vlan()
2309 ivi->vlan = le16_to_cpu(vsi->info.pvid) & I40E_VLAN_MASK; in i40e_ndo_get_vf_config()
[all …]
Di40e_adminq_cmd.h735 __le16 pvid; /* VLANS include priority bits */ member
Di40e_debugfs.c611 vsi->info.pvid, vsi->info.fcoe_pvid, in i40e_dbg_dump_vsi_seid()
Di40e_main.c2076 if (vid > 0 && !vsi->info.pvid) { in i40e_vsi_add_vlan()
2272 vsi->info.pvid = cpu_to_le16(vid); in i40e_vsi_add_pvid()
2300 vsi->info.pvid = 0; in i40e_vsi_remove_pvid()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_iov.c266 s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid) in fm10k_iov_update_pvid() argument
283 if (vf_info->sw_vid != pvid) { in fm10k_iov_update_pvid()
284 vf_info->sw_vid = pvid; in fm10k_iov_update_pvid()
Dfm10k_pci.c1171 u16 glort, pvid; in fm10k_update_pvid() local
1182 pvid = FM10K_MSG_HDR_FIELD_GET(pvid_update, UPDATE_PVID_PVID); in fm10k_update_pvid()
1189 if (pvid >= FM10K_VLAN_TABLE_VID_MAX) in fm10k_update_pvid()
1195 err = fm10k_iov_update_pvid(interface, glort, pvid); in fm10k_update_pvid()
1200 if (pvid != hw->mac.default_vid) in fm10k_update_pvid()
1203 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.h487 s32 fm10k_iov_update_pvid(struct fm10k_intfc *interface, u16 glort, u16 pvid);
/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c55 vlan_tag = dev->pvid; in set_av_attr()
Docrdma.h243 u16 pvid; member
Docrdma_hw.c767 dev->pvid = ((evt->tag_enabled & in ocrdma_process_grp5_aync()
/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.c1520 npar->pvid = esw_cfg.vlan_id; in qlcnic_set_default_offload_settings()
1539 esw_cfg.vlan_id = npar->pvid; in qlcnic_reset_eswitch_config()
Dqlcnic.h1290 u16 pvid; member
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c287 adapter->pvid = le16_to_cpu(evt->tag) & VLAN_VID_MASK; in be_async_grp5_pvid_state_process()
288 dev_info(&adapter->pdev->dev, "LPVID: %d\n", adapter->pvid); in be_async_grp5_pvid_state_process()
290 adapter->pvid = 0; in be_async_grp5_pvid_state_process()
3140 int be_cmd_set_hsw_config(struct be_adapter *adapter, u16 pvid, in be_cmd_set_hsw_config() argument
3165 if (pvid) { in be_cmd_set_hsw_config()
3167 AMAP_SET_BITS(struct amap_set_hsw_context, pvid, ctxt, pvid); in be_cmd_set_hsw_config()
3186 int be_cmd_get_hsw_config(struct be_adapter *adapter, u16 *pvid, in be_cmd_get_hsw_config() argument
3229 pvid, &resp->context); in be_cmd_get_hsw_config()
3230 if (pvid) in be_cmd_get_hsw_config()
3231 *pvid = le16_to_cpu(vid); in be_cmd_get_hsw_config()
Dbe_cmds.h1553 u8 pvid[16]; member
1575 u8 pvid[16]; member
2122 int be_cmd_set_hsw_config(struct be_adapter *adapter, u16 pvid, u32 domain,
2124 int be_cmd_get_hsw_config(struct be_adapter *adapter, u16 *pvid, u32 domain,
Dbe.h523 u16 pvid; member
570 #define be_pvid_tagging_enabled(adapter) (adapter->pvid)
Dbe_main.c878 if (qnq_async_evt_rcvd(adapter) && adapter->pvid) { in be_insert_vlan_in_pkt()
880 vlan_tag = adapter->pvid; in be_insert_vlan_in_pkt()
934 return vlan_tx_tag_present(skb) || adapter->pvid || adapter->qnq_vid; in be_vlan_tag_tx_chk()
986 (adapter->pvid || adapter->qnq_vid) && in be_lancer_xmit_workarounds()
1839 if (adapter->pvid == (rxcp->vlan_tag & VLAN_VID_MASK) && in be_rx_compl_get()
/drivers/scsi/bfa/
Dbfad_bsg.h222 u16 pvid; /* Port vlan id */ member
/drivers/net/ethernet/intel/i40evf/
Di40e_adminq_cmd.h736 __le16 pvid; /* VLANS include priority bits */ member