Home
last modified time | relevance | path

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

/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_dev.c1856 num_pf_rls = (u16)OSAL_MIN_T(u32, RESC_NUM(p_hwfn, ECORE_RL), in ecore_init_qm_get_num_pf_rls()
1857 (u16)OSAL_MIN_T(u32, RESC_NUM(p_hwfn, ECORE_VPORT), in ecore_init_qm_get_num_pf_rls()
2241 if (ecore_init_qm_get_num_vports(p_hwfn) > RESC_NUM(p_hwfn, ECORE_VPORT)) { in ecore_init_qm_sanity()
2246 if (ecore_init_qm_get_num_pqs(p_hwfn) > RESC_NUM(p_hwfn, ECORE_PQ)) { in ecore_init_qm_sanity()
4563 RESC_NUM(p_hwfn, ECORE_RDMA_CNQ_RAM)); in ecore_hw_set_feat()
4587 RESC_NUM(p_hwfn, ECORE_L2_QUEUE), in ecore_hw_set_feat()
4592 RESC_NUM(p_hwfn, ECORE_L2_QUEUE) - in ecore_hw_set_feat()
4598 OSAL_MIN_T(u32, sb_cnt.cnt, RESC_NUM(p_hwfn, in ecore_hw_set_feat()
4603 OSAL_MIN_T(u32, sb_cnt.cnt, RESC_NUM(p_hwfn, in ecore_hw_set_feat()
4822 p_resc_num = &RESC_NUM(p_hwfn, res_id); in __ecore_hw_set_resc_info()
[all …]
H A Decore.h462 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) macro
464 RESC_NUM(_p_hwfn, resc))
H A Decore_int.c2117 if (!RESC_NUM(p_hwfn, ECORE_SB)) { in ecore_int_igu_reset_cam()
2129 if (p_info->usage.cnt != RESC_NUM(p_hwfn, ECORE_SB) - 1) { in ecore_int_igu_reset_cam()
2132 RESC_NUM(p_hwfn, ECORE_SB) - 1, in ecore_int_igu_reset_cam()
2134 p_info->usage.cnt = RESC_NUM(p_hwfn, ECORE_SB) - 1; in ecore_int_igu_reset_cam()
H A Decore_sriov.c1126 if (p_params->vport_id >= RESC_NUM(p_hwfn, ECORE_VPORT)) { in ecore_iov_init_hw_for_vf()
1133 (p_params->rss_eng_id >= RESC_NUM(p_hwfn, ECORE_RSS_ENG))) { in ecore_iov_init_hw_for_vf()
1159 if (qid > (u16)RESC_NUM(p_hwfn, ECORE_L2_QUEUE)) { in ecore_iov_init_hw_for_vf()
1163 (u16)RESC_NUM(p_hwfn, ECORE_L2_QUEUE)); in ecore_iov_init_hw_for_vf()
1168 if (qid > (u16)RESC_NUM(p_hwfn, ECORE_L2_QUEUE)) { in ecore_iov_init_hw_for_vf()
1172 (u16)RESC_NUM(p_hwfn, ECORE_L2_QUEUE)); in ecore_iov_init_hw_for_vf()
H A Decore_rdma.c304 p_rdma_info->max_queue_zones = (u16) RESC_NUM(p_hwfn, ECORE_L2_QUEUE); in ecore_rdma_alloc()
694 dev->max_stats_queues = (u8)RESC_NUM(p_hwfn, ECORE_RDMA_STATS_QUEUE); in ecore_rdma_init_devinfo()
H A Decore_cxt.c900 RESC_NUM(p_hwfn, ECORE_ILT)) { in ecore_cxt_cfg_ilt_compute()
916 available_lines = RESC_NUM(p_hwfn, ECORE_ILT); in ecore_cxt_cfg_ilt_compute_excess()
H A Decore_l2.c85 p_l2_info->queues = RESC_NUM(p_hwfn, ECORE_L2_QUEUE); in ecore_l2_alloc()
H A Dqlnx_os.c8010 max_vfs = RESC_NUM(&cdev->hwfns[0], ECORE_VPORT); in qlnx_iov_init()
8017 (RESC_NUM(&cdev->hwfns[0], ECORE_VPORT) - 1)); in qlnx_iov_init()