Searched refs:pf_ring_cfg (Results 1 – 3 of 3) sorted by relevance
74 #define CFG_GET_PORTS_MAX_IO_RINGS(cfg) ((cfg)->pf_ring_cfg.max_io_rings)75 #define CFG_GET_PORTS_ACTIVE_IO_RINGS(cfg) ((cfg)->pf_ring_cfg.active_io_rings)76 #define CFG_GET_PORTS_PF_SRN(cfg) ((cfg)->pf_ring_cfg.srn)238 struct octep_pf_ring_config pf_ring_cfg; member
115 q_no += conf->pf_ring_cfg.srn; in cn93_reset_iq()220 conf->pf_ring_cfg.srn = CN98_SDP_MAC_PF_RING_CTL_SRN(val); in octep_init_config_cn93_pf()221 conf->pf_ring_cfg.max_io_rings = CN98_SDP_MAC_PF_RING_CTL_RPPF(val); in octep_init_config_cn93_pf()222 conf->pf_ring_cfg.active_io_rings = conf->pf_ring_cfg.max_io_rings; in octep_init_config_cn93_pf()224 conf->pf_ring_cfg.srn = CN93_SDP_MAC_PF_RING_CTL_SRN(val); in octep_init_config_cn93_pf()225 conf->pf_ring_cfg.max_io_rings = CN93_SDP_MAC_PF_RING_CTL_RPPF(val); in octep_init_config_cn93_pf()226 conf->pf_ring_cfg.active_io_rings = conf->pf_ring_cfg.max_io_rings; 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()244 conf->msix_cfg.ioq_msix = conf->pf_ring_cfg.active_io_rings; in octep_init_config_cn93_pf()
135 q_no += conf->pf_ring_cfg.srn; in cnxk_reset_iq()244 conf->pf_ring_cfg.srn = CNXK_SDP_MAC_PF_RING_CTL_SRN(val); in octep_init_config_cnxk_pf()245 conf->pf_ring_cfg.max_io_rings = CNXK_SDP_MAC_PF_RING_CTL_RPPF(val); in octep_init_config_cnxk_pf()246 conf->pf_ring_cfg.active_io_rings = conf->pf_ring_cfg.max_io_rings; 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()264 conf->msix_cfg.ioq_msix = conf->pf_ring_cfg.active_io_rings; in octep_init_config_cnxk_pf()