Home
last modified time | relevance | path

Searched refs:vfcfg_tbl2 (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_net_sriov.c22 if (!app || !app->pf->vfcfg_tbl2) in nfp_net_sriov_check()
25 cap_vf = readw(app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_CAP); in nfp_net_sriov_check()
48 writeb(vf, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_VF_NUM); in nfp_net_sriov_update()
49 writew(update, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_UPD); in nfp_net_sriov_update()
57 ret = readw(app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_RET); in nfp_net_sriov_update()
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()
142 writel(vlan_tag, app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_VLAN); in nfp_app_set_vf_vlan()
172 app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_RATE); in nfp_app_set_vf_rate()
193 vf_ctrl = readb(app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_spoofchk()
[all …]
Dnfp_net_main.c489 pf->vfcfg_tbl2 = nfp_pf_map_rtsym(pf, "net.vfcfg_tbl2", in nfp_net_pci_map_mem()
492 if (IS_ERR(pf->vfcfg_tbl2)) { in nfp_net_pci_map_mem()
493 if (PTR_ERR(pf->vfcfg_tbl2) != -ENOENT) { in nfp_net_pci_map_mem()
494 err = PTR_ERR(pf->vfcfg_tbl2); in nfp_net_pci_map_mem()
497 pf->vfcfg_tbl2 = NULL; in nfp_net_pci_map_mem()
Dnfp_main.h106 u8 __iomem *vfcfg_tbl2; member