Home
last modified time | relevance | path

Searched refs:vf_offset (Results 1 – 8 of 8) 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.c682 unsigned vf_offset = EFX_VI_BASE + vf->index * efx_vf_size(efx); in efx_vfdi_fini_all_queues() local
702 vf_offset + index); in efx_vfdi_fini_all_queues()
708 rxqs_count, vf_offset + index); in efx_vfdi_fini_all_queues()
729 rxqs_count, vf_offset + index); in efx_vfdi_fini_all_queues()
743 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()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h880 u8 vf_offset; member
896 u8 vf_offset; member
Dhclge_debugfs.c2007 req->vf_offset = vf_id / HCLGE_VF_NUM_PER_CMD; in hclge_get_vlan_rx_offload_cfg()
2041 req->vf_offset = vf_id / HCLGE_VF_NUM_PER_CMD; in hclge_get_vlan_tx_offload_cfg()
Dhclge_main.c9923 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_tx_offload_cfg()
9963 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_rx_offload_cfg()
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mbox.c1495 u16 vf_offset; in hinic_vf_mbox_random_id_init() local
1502 vf_offset = hinic_glb_pf_vf_offset(hwdev->hwif); in hinic_vf_mbox_random_id_init()
1505 err = set_vf_mbox_random_id(hwdev, vf_offset + vf_in_pf); in hinic_vf_mbox_random_id_init()
/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c3593 p_out_params->vf_resc_start = mfw_resc_info.vf_offset; in qed_mcp_resc_allocation_msg()
Dqed_hsi.h12370 u32 vf_offset; member