Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/
Dnfp_net_sriov.c65 unsigned int vf_offset; in nfp_app_set_vf_mac() local
80 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_mac()
81 writel(get_unaligned_be32(mac), app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_mac()
83 app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_MAC_LO); in nfp_app_set_vf_mac()
98 unsigned int vf_offset; in nfp_app_set_vf_vlan() local
118 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_vlan()
119 writew(vlan_tci, app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_VLAN); in nfp_app_set_vf_vlan()
128 unsigned int vf_offset; in nfp_app_set_vf_spoofchk() local
138 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ + in nfp_app_set_vf_spoofchk()
140 vf_ctrl = readb(app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_spoofchk()
[all …]
/drivers/net/ethernet/sfc/
Dsiena_sriov.c681 unsigned vf_offset = EFX_VI_BASE + vf->index * efx_vf_size(efx); in efx_vfdi_fini_all_queues() local
701 vf_offset + index); in efx_vfdi_fini_all_queues()
707 rxqs_count, vf_offset + index); in efx_vfdi_fini_all_queues()
728 rxqs_count, vf_offset + index); in efx_vfdi_fini_all_queues()
742 vf_offset + index); in efx_vfdi_fini_all_queues()
744 vf_offset + index); in efx_vfdi_fini_all_queues()
746 vf_offset + index); in efx_vfdi_fini_all_queues()
748 vf_offset + index); in efx_vfdi_fini_all_queues()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h812 u8 vf_offset; member
826 u8 vf_offset; member
Dhclge_main.c7797 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_tx_offload_cfg()
7833 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_rx_offload_cfg()
/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c3371 p_out_params->vf_resc_start = mfw_resc_info.vf_offset; in qed_mcp_resc_allocation_msg()
Dqed_hsi.h12500 u32 vf_offset; member