Searched refs:RESC_NUM (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_dev.c | 1475 num_pf_rls = (u16) min_t(u32, RESC_NUM(p_hwfn, QED_RL), in qed_init_qm_get_num_pf_rls() 1476 RESC_NUM(p_hwfn, QED_VPORT)); in qed_init_qm_get_num_pf_rls() 1945 if (qed_init_qm_get_num_vports(p_hwfn) > RESC_NUM(p_hwfn, QED_VPORT)) { in qed_init_qm_sanity() 1950 if (qed_init_qm_get_num_pqs(p_hwfn) <= RESC_NUM(p_hwfn, QED_PQ)) in qed_init_qm_sanity() 1957 if (qed_init_qm_get_num_pqs(p_hwfn) <= RESC_NUM(p_hwfn, QED_PQ)) in qed_init_qm_sanity() 3512 RESC_NUM(p_hwfn, QED_RDMA_CNQ_RAM)); in qed_hw_set_feat() 3519 RESC_NUM(p_hwfn, QED_L2_QUEUE), in qed_hw_set_feat() 3523 RESC_NUM(p_hwfn, in qed_hw_set_feat() 3531 RESC_NUM(p_hwfn, in qed_hw_set_feat() 3536 RESC_NUM(p_hwfn, in qed_hw_set_feat() [all …]
|
D | qed.h | 292 #define RESC_NUM(_p_hwfn, resc) ((_p_hwfn)->hw_info.resc_num[resc]) macro 294 RESC_NUM(_p_hwfn, resc))
|
D | qed_int.c | 2022 if (!RESC_NUM(p_hwfn, QED_SB)) { in qed_int_igu_reset_cam() 2030 if (p_info->usage.cnt != RESC_NUM(p_hwfn, QED_SB) - 1) { in qed_int_igu_reset_cam() 2033 RESC_NUM(p_hwfn, QED_SB) - 1, in qed_int_igu_reset_cam() 2035 p_info->usage.cnt = RESC_NUM(p_hwfn, QED_SB) - 1; in qed_int_igu_reset_cam()
|
D | qed_fcoe.c | 507 if (RESC_NUM(p_hwfn, QED_BDQ)) { in qed_fcoe_get_primary_bdq_prod() 522 if (RESC_NUM(p_hwfn, QED_BDQ)) { in qed_fcoe_get_secondary_bdq_prod()
|
D | qed_iscsi.c | 628 if (RESC_NUM(p_hwfn, QED_BDQ)) { in qed_iscsi_get_primary_bdq_prod() 643 if (RESC_NUM(p_hwfn, QED_BDQ)) { in qed_iscsi_get_secondary_bdq_prod()
|
D | qed_l2.c | 67 p_l2_info->queues = RESC_NUM(p_hwfn, QED_L2_QUEUE); in qed_l2_alloc() 2234 info->num_vlan_filters = RESC_NUM(QED_LEADING_HWFN(cdev), in qed_fill_eth_dev_info() 2237 info->num_mac_filters = RESC_NUM(QED_LEADING_HWFN(cdev), in qed_fill_eth_dev_info()
|
D | qed_rdma.c | 168 p_rdma_info->max_queue_zones = (u16)RESC_NUM(p_hwfn, QED_L2_QUEUE); in qed_rdma_alloc() 522 dev->max_stats_queues = (u8)RESC_NUM(p_hwfn, QED_RDMA_STATS_QUEUE); in qed_rdma_init_devinfo()
|
D | qed_cxt.c | 727 RESC_NUM(p_hwfn, QED_ILT)) in qed_cxt_cfg_ilt_compute() 742 available_lines = RESC_NUM(p_hwfn, QED_ILT); in qed_cxt_cfg_ilt_compute_excess()
|
D | qed_sriov.c | 4506 if (num >= RESC_NUM(&cdev->hwfns[0], QED_VPORT)) { in qed_sriov_enable() 4508 RESC_NUM(&cdev->hwfns[0], QED_VPORT) - 1); in qed_sriov_enable()
|