Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.c35 #define MAX_IRQS(max_qps, num_aeqs, num_ceqs) \ argument
36 (2 * (max_qps) + (num_aeqs) + (num_ceqs))
55 int num_aeqs, num_ceqs, num_irqs; in parse_capability() local
61 num_ceqs = HINIC_HWIF_NUM_CEQS(hwdev->hwif); in parse_capability()
65 nic_cap->num_qps = (num_irqs - (num_aeqs + num_ceqs)) / 2; in parse_capability()
158 int nr_irqs, num_aeqs, num_ceqs; in init_msix() local
162 num_ceqs = HINIC_HWIF_NUM_CEQS(hwif); in init_msix()
163 nr_irqs = MAX_IRQS(HINIC_MAX_QPS, num_aeqs, num_ceqs); in init_msix()
443 int err, num_aeqs, num_ceqs, num_qps; in hinic_hwdev_ifup() local
457 num_ceqs = HINIC_HWIF_NUM_CEQS(hwif); in hinic_hwdev_ifup()
[all …]
Dhinic_hw_eqs.c919 int num_ceqs, u32 q_len, u32 page_size, in hinic_ceqs_init() argument
926 ceqs->num_ceqs = num_ceqs; in hinic_ceqs_init()
928 for (q_id = 0; q_id < num_ceqs; q_id++) { in hinic_ceqs_init()
955 for (q_id = 0; q_id < ceqs->num_ceqs; q_id++) in hinic_ceqs_free()
965 for (q_id = 0; q_id < hwdev->func_to_io.ceqs.num_ceqs; q_id++) { in hinic_dump_ceq_info()
Dhinic_hw_eqs.h226 int num_ceqs; member
253 int num_ceqs, u32 q_len, u32 page_size,
Dhinic_hw_if.h143 #define HINIC_HWIF_NUM_CEQS(hwif) ((hwif)->attr.num_ceqs)
233 u8 num_ceqs; member
Dhinic_hw_io.h118 struct hinic_hwif *hwif, u16 max_qps, int num_ceqs,
Dhinic_hw_io.c529 struct hinic_hwif *hwif, u16 max_qps, int num_ceqs, in hinic_io_init() argument
542 err = hinic_ceqs_init(&func_to_io->ceqs, hwif, num_ceqs, in hinic_io_init()
Dhinic_hw_if.c209 hwif->attr.num_ceqs = BIT(HINIC_FA1_GET(attr1, CEQS_PER_FUNC)); in set_hwif_attr()
/drivers/infiniband/hw/irdma/
Dhw.c1247 u32 num_ceqs; in irdma_setup_ceq_0() local
1249 num_ceqs = min(rf->msix_count, rf->sc_dev.hmc_fpm_misc.max_ceqs); in irdma_setup_ceq_0()
1250 rf->ceqlist = kcalloc(num_ceqs, sizeof(*rf->ceqlist), GFP_KERNEL); in irdma_setup_ceq_0()
1305 u32 num_ceqs; in irdma_setup_ceqs() local
1307 num_ceqs = min(rf->msix_count, rf->sc_dev.hmc_fpm_misc.max_ceqs); in irdma_setup_ceqs()
1309 for (ceq_id = 1; i < num_ceqs; i++, ceq_id++) { in irdma_setup_ceqs()