Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net_sriov.c67 unsigned int vf_offset; in nfp_app_set_vf_mac() local
82 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_mac()
83 writel(get_unaligned_be32(mac), app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_mac()
85 app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_MAC_LO); in nfp_app_set_vf_mac()
102 unsigned int vf_offset; in nfp_app_set_vf_vlan() local
141 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_vlan()
142 writel(vlan_tag, app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_VLAN); in nfp_app_set_vf_vlan()
151 u32 vf_offset, ratevalue; in nfp_app_set_vf_rate() local
165 vf_offset = NFP_NET_VF_CFG_MB_SZ + vf * NFP_NET_VF_CFG_SZ; in nfp_app_set_vf_rate()
172 app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_RATE); in nfp_app_set_vf_rate()
[all …]
/Linux-v6.1/drivers/net/ethernet/sfc/siena/
Dsiena_sriov.c683 unsigned vf_offset = EFX_VI_BASE + vf->index * efx_vf_size(efx); in efx_vfdi_fini_all_queues() local
703 vf_offset + index); in efx_vfdi_fini_all_queues()
709 rxqs_count, vf_offset + index); in efx_vfdi_fini_all_queues()
730 rxqs_count, 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()
750 vf_offset + index); in efx_vfdi_fini_all_queues()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h533 u8 vf_offset; member
549 u8 vf_offset; member
Dhclge_debugfs.c2065 req->vf_offset = vf_id / HCLGE_VF_NUM_PER_CMD; in hclge_get_vlan_rx_offload_cfg()
2099 req->vf_offset = vf_id / HCLGE_VF_NUM_PER_CMD; in hclge_get_vlan_tx_offload_cfg()
Dhclge_main.c9796 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_tx_offload_cfg()
9836 req->vf_offset = vport->vport_id / HCLGE_VF_NUM_PER_CMD; in hclge_set_vlan_rx_offload_cfg()
/Linux-v6.1/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_mbox.c1490 u16 vf_offset; in hinic_vf_mbox_random_id_init() local
1497 vf_offset = hinic_glb_pf_vf_offset(hwdev->hwif); in hinic_vf_mbox_random_id_init()
1500 err = set_vf_mbox_random_id(hwdev, vf_offset + vf_in_pf); in hinic_vf_mbox_random_id_init()
/Linux-v6.1/drivers/net/ethernet/qlogic/qed/
Dqed_mfw_hsi.h987 u32 vf_offset; member
Dqed_mcp.c3654 p_out_params->vf_resc_start = mfw_resc_info.vf_offset; in qed_mcp_resc_allocation_msg()