Home
last modified time | relevance | path

Searched refs:sriov_cfg (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/marvell/octeon_ep/
A Doctep_config.h75 #define CFG_GET_MAX_VFS(cfg) ((cfg)->sriov_cfg.max_vfs)
76 #define CFG_GET_ACTIVE_VFS(cfg) ((cfg)->sriov_cfg.active_vfs)
77 #define CFG_GET_MAX_RPVF(cfg) ((cfg)->sriov_cfg.max_rings_per_vf)
78 #define CFG_GET_ACTIVE_RPVF(cfg) ((cfg)->sriov_cfg.active_rings_per_vf)
79 #define CFG_GET_VF_SRN(cfg) ((cfg)->sriov_cfg.vf_srn)
196 struct octep_sriov_config sriov_cfg; member
A Doctep_cn9k_pf.c207 conf->sriov_cfg.max_rings_per_vf = CN93_SDP_EPF_RINFO_RPVF(val); in octep_init_config_cn93_pf()
208 conf->sriov_cfg.active_rings_per_vf = conf->sriov_cfg.max_rings_per_vf; in octep_init_config_cn93_pf()
209 conf->sriov_cfg.max_vfs = CN93_SDP_EPF_RINFO_NVFS(val); in octep_init_config_cn93_pf()
210 conf->sriov_cfg.active_vfs = conf->sriov_cfg.max_vfs; in octep_init_config_cn93_pf()
211 conf->sriov_cfg.vf_srn = CN93_SDP_EPF_RINFO_SRN(val); in octep_init_config_cn93_pf()
218 conf->pf_ring_cfg.srn, conf->sriov_cfg.active_rings_per_vf, in octep_init_config_cn93_pf()
219 conf->sriov_cfg.active_vfs, conf->pf_ring_cfg.active_io_rings); in octep_init_config_cn93_pf()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_sriov.c895 bp->sriov_cfg = true; in bnxt_sriov_configure()
916 bp->sriov_cfg = false; in bnxt_sriov_configure()
A Dbnxt.h2098 bool sriov_cfg; member
2297 return BNXT_PF(bp) && (bp->pf.active_vfs || bp->sriov_cfg); in bnxt_sriov_cfg()
A Dbnxt.c10744 if (bp->sriov_cfg) { in bnxt_close_nic()
10746 !bp->sriov_cfg, in bnxt_close_nic()
11906 if (bp->sriov_cfg) in bnxt_get_registered_vfs()

Completed in 52 milliseconds