Searched refs:vf_offset (Results 1 – 8 of 8) sorted by relevance
65 unsigned int vf_offset; in nfp_app_set_vf_mac() local80 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() local118 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() local138 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 …]
682 unsigned vf_offset = EFX_VI_BASE + vf->index * efx_vf_size(efx); in efx_vfdi_fini_all_queues() local702 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()
880 u8 vf_offset; member896 u8 vf_offset; member
2007 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()
9923 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()
1495 u16 vf_offset; in hinic_vf_mbox_random_id_init() local1502 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()
3593 p_out_params->vf_resc_start = mfw_resc_info.vf_offset; in qed_mcp_resc_allocation_msg()
12370 u32 vf_offset; member