Searched refs:sriov_cfg (Results 1 – 7 of 7) sorted by relevance
81 #define CFG_GET_MAX_VFS(cfg) ((cfg)->sriov_cfg.max_vfs)82 #define CFG_GET_ACTIVE_VFS(cfg) ((cfg)->sriov_cfg.active_vfs)83 #define CFG_GET_MAX_RPVF(cfg) ((cfg)->sriov_cfg.max_rings_per_vf)84 #define CFG_GET_ACTIVE_RPVF(cfg) ((cfg)->sriov_cfg.active_rings_per_vf)85 #define CFG_GET_VF_SRN(cfg) ((cfg)->sriov_cfg.vf_srn)241 struct octep_sriov_config sriov_cfg; member
212 conf->sriov_cfg.max_rings_per_vf = CN93_SDP_EPF_RINFO_RPVF(val); in octep_init_config_cn93_pf()213 conf->sriov_cfg.active_rings_per_vf = conf->sriov_cfg.max_rings_per_vf; in octep_init_config_cn93_pf()214 conf->sriov_cfg.max_vfs = CN93_SDP_EPF_RINFO_NVFS(val); in octep_init_config_cn93_pf()215 conf->sriov_cfg.active_vfs = conf->sriov_cfg.max_vfs; in octep_init_config_cn93_pf()216 conf->sriov_cfg.vf_srn = CN93_SDP_EPF_RINFO_SRN(val); in octep_init_config_cn93_pf()229 conf->pf_ring_cfg.srn, conf->sriov_cfg.active_rings_per_vf, in octep_init_config_cn93_pf()230 conf->sriov_cfg.active_vfs, conf->pf_ring_cfg.active_io_rings); in octep_init_config_cn93_pf()
236 conf->sriov_cfg.max_rings_per_vf = CNXK_SDP_EPF_RINFO_RPVF(val); in octep_init_config_cnxk_pf()237 conf->sriov_cfg.active_rings_per_vf = conf->sriov_cfg.max_rings_per_vf; in octep_init_config_cnxk_pf()238 conf->sriov_cfg.max_vfs = CNXK_SDP_EPF_RINFO_NVFS(val); in octep_init_config_cnxk_pf()239 conf->sriov_cfg.active_vfs = conf->sriov_cfg.max_vfs; in octep_init_config_cnxk_pf()240 conf->sriov_cfg.vf_srn = CNXK_SDP_EPF_RINFO_SRN(val); in octep_init_config_cnxk_pf()248 conf->pf_ring_cfg.srn, conf->sriov_cfg.active_rings_per_vf, in octep_init_config_cnxk_pf()249 conf->sriov_cfg.active_vfs, conf->pf_ring_cfg.active_io_rings); in octep_init_config_cnxk_pf()
245 num_vfs = oct->conf->sriov_cfg.active_vfs; in octep_setup_pfvf_mbox()246 rings_per_vf = oct->conf->sriov_cfg.max_rings_per_vf; in octep_setup_pfvf_mbox()280 int rings_per_vf = oct->conf->sriov_cfg.max_rings_per_vf; in octep_delete_pfvf_mbox()281 int num_vfs = oct->conf->sriov_cfg.active_vfs; in octep_delete_pfvf_mbox()
916 bp->sriov_cfg = true; in bnxt_sriov_configure()937 bp->sriov_cfg = false; in bnxt_sriov_configure()
2558 bool sriov_cfg; member2782 return BNXT_PF(bp) && (bp->pf.active_vfs || bp->sriov_cfg); in bnxt_sriov_cfg()
12356 if (bp->sriov_cfg) { in bnxt_close_nic()12360 !bp->sriov_cfg, in bnxt_close_nic()13552 if (bp->sriov_cfg) in bnxt_get_registered_vfs()