Home
last modified time | relevance | path

Searched refs:vf_offset (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_sriov.c95 unsigned int vf_offset; in nfp_app_set_vf_mac() local
110 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_mac()
111 writel(get_unaligned_be32(mac), app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_mac()
113 app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_MAC_LO); in nfp_app_set_vf_mac()
128 unsigned int vf_offset; in nfp_app_set_vf_vlan() local
148 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_vlan()
149 writew(vlan_tci, app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_VLAN); in nfp_app_set_vf_vlan()
158 unsigned int vf_offset; in nfp_app_set_vf_spoofchk() local
168 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ + in nfp_app_set_vf_spoofchk()
170 vf_ctrl = readb(app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_spoofchk()
[all …]
/Linux-v4.19/drivers/net/ethernet/sfc/
Dsiena_sriov.c684 unsigned vf_offset = EFX_VI_BASE + vf->index * efx_vf_size(efx); in efx_vfdi_fini_all_queues() local
704 vf_offset + index); in efx_vfdi_fini_all_queues()
710 rxqs_count, vf_offset + index); in efx_vfdi_fini_all_queues()
731 rxqs_count, vf_offset + index); in efx_vfdi_fini_all_queues()
745 vf_offset + index); in efx_vfdi_fini_all_queues()
747 vf_offset + index); in efx_vfdi_fini_all_queues()
749 vf_offset + index); in efx_vfdi_fini_all_queues()
751 vf_offset + index); in efx_vfdi_fini_all_queues()
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h699 u8 vf_offset; member
713 u8 vf_offset; member
Dhclge_main.c4825 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_tx_offload_cfg()
4826 req->vf_bitmap[req->vf_offset] = in hclge_set_vlan_tx_offload_cfg()
4858 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_rx_offload_cfg()
4859 req->vf_bitmap[req->vf_offset] = in hclge_set_vlan_rx_offload_cfg()
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c3049 p_out_params->vf_resc_start = mfw_resc_info.vf_offset; in qed_mcp_resc_allocation_msg()
Dqed_hsi.h12325 u32 vf_offset; member