Home
last modified time | relevance | path

Searched refs:max_qps (Results 1 – 17 of 17) sorted by relevance

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_io.c124 num_sqs, func_to_io->max_qps); in write_sq_ctxts()
168 num_rqs, func_to_io->max_qps); in write_rq_ctxts()
222 ctxt_block->cmdq_hdr.num_queues = func_to_io->max_qps; in hinic_clean_queue_offload_ctxt()
498 struct hinic_hwif *hwif, u16 max_qps, int num_ceqs, in hinic_io_init() argument
508 func_to_io->max_qps = max_qps; in hinic_io_init()
518 err = hinic_wqs_alloc(&func_to_io->wqs, 2 * max_qps, hwif); in hinic_io_init()
Dhinic_hw_io.h59 u16 max_qps; member
83 struct hinic_hwif *hwif, u16 max_qps, int num_ceqs,
Dhinic_main.c250 err = hinic_set_max_qnum(nic_dev, nic_dev->hwdev->nic_cap.max_qps); in hinic_configure_max_qnum()
325 nic_dev->max_qps = hinic_hwdev_max_num_qps(hwdev); in hinic_enable_rss()
326 if (nic_dev->max_qps <= 1) { in hinic_enable_rss()
328 nic_dev->rss_limit = nic_dev->max_qps; in hinic_enable_rss()
329 nic_dev->num_qps = nic_dev->max_qps; in hinic_enable_rss()
330 nic_dev->num_rss = nic_dev->max_qps; in hinic_enable_rss()
340 nic_dev->max_qps = 1; in hinic_enable_rss()
341 nic_dev->rss_limit = nic_dev->max_qps; in hinic_enable_rss()
342 nic_dev->num_qps = nic_dev->max_qps; in hinic_enable_rss()
343 nic_dev->num_rss = nic_dev->max_qps; in hinic_enable_rss()
[all …]
Dhinic_hw_dev.c31 #define MAX_IRQS(max_qps, num_aeqs, num_ceqs) \ argument
32 (2 * (max_qps) + (num_aeqs) + (num_ceqs))
92 nic_cap->max_qps = dev_cap->max_sqs + 1; in get_capability()
93 if (nic_cap->max_qps != (dev_cap->max_rqs + 1)) in get_capability()
96 if (nic_cap->num_qps > nic_cap->max_qps) in get_capability()
97 nic_cap->num_qps = nic_cap->max_qps; in get_capability()
538 err = hinic_io_init(func_to_io, hwif, nic_cap->max_qps, num_ceqs, in hinic_hwdev_ifup()
878 return nic_cap->max_qps; in hinic_hwdev_max_num_qps()
Dhinic_dev.h58 u16 max_qps; member
Dhinic_hw_dev.h26 u16 max_qps; member
Dhinic_ethtool.c150 channels->max_rx = hwdev->nic_cap.max_qps; in hinic_get_channels()
151 channels->max_tx = hwdev->nic_cap.max_qps; in hinic_get_channels()
/drivers/infiniband/hw/cxgb3/
Diwch.c106 rnicp->attr.max_qps = T3_MAX_NUM_QP - 32; in rnic_init()
120 rnicp->attr.max_rdma_reads_per_qp * rnicp->attr.max_qps; in rnic_init()
123 rnicp->attr.max_rdma_read_qp_depth * rnicp->attr.max_qps; in rnic_init()
Diwch.h52 u32 max_qps; member
Diwch_provider.c974 props->max_qp = dev->attr.max_qps; in iwch_query_device()
/drivers/net/ethernet/mellanox/mlx4/
Dfw.h72 int max_qps; member
Dfw.c847 dev_cap->max_qps = 1 << (field & 0x1f); in mlx4_QUERY_DEV_CAP()
1140 dev_cap->max_qps, dev_cap->reserved_qps, dev_cap->qpc_entry_sz); in mlx4_dev_cap_dump()
/drivers/infiniband/hw/mthca/
Dmthca_cmd.h124 int max_qps; member
Dmthca_cmd.c1073 dev_lim->max_qps = 1 << (field & 0x1f); in mthca_QUERY_DEV_LIM()
1217 dev_lim->max_qps, dev_lim->reserved_qps, dev_lim->qpc_entry_sz); in mthca_QUERY_DEV_LIM()
/drivers/infiniband/hw/qib/
Dqib_verbs.c82 module_param_named(max_qps, ib_qib_max_qps, uint, S_IRUGO);
83 MODULE_PARM_DESC(max_qps, "Maximum number of QPs to support");
/drivers/infiniband/hw/hfi1/
Dverbs.c99 module_param_named(max_qps, hfi1_max_qps, uint, S_IRUGO);
100 MODULE_PARM_DESC(max_qps, "Maximum number of QPs to support");
/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c136 uresp.max_qps = iwdev->max_qp; in i40iw_alloc_ucontext()