num_qps 807 drivers/infiniband/hw/hns/hns_roce_device.h int num_qps; num_qps 1107 drivers/infiniband/hw/hns/hns_roce_device.h return xa_load(&hr_dev->qp_table_xa, qpn & (hr_dev->caps.num_qps - 1)); num_qps 1524 drivers/infiniband/hw/hns/hns_roce_hw_v1.c caps->num_qps = HNS_ROCE_V1_MAX_QP_NUM; num_qps 1644 drivers/infiniband/hw/hns/hns_roce_hw_v2.c caps->num_qps = HNS_ROCE_V2_MAX_QP_NUM; num_qps 1879 drivers/infiniband/hw/hns/hns_roce_hw_v2.c pg_num_a = hr_dev->caps.num_qps * 8 / buf_chk_sz; num_qps 195 drivers/infiniband/hw/hns/hns_roce_main.c props->max_qp = hr_dev->caps.num_qps; num_qps 321 drivers/infiniband/hw/hns/hns_roce_main.c resp.qp_tab_size = hr_dev->caps.num_qps; num_qps 616 drivers/infiniband/hw/hns/hns_roce_main.c hr_dev->caps.num_qps, 1); num_qps 626 drivers/infiniband/hw/hns/hns_roce_main.c hr_dev->caps.num_qps, 1); num_qps 638 drivers/infiniband/hw/hns/hns_roce_main.c hr_dev->caps.num_qps, 1); num_qps 697 drivers/infiniband/hw/hns/hns_roce_main.c hr_dev->caps.num_qps, 1); num_qps 155 drivers/infiniband/hw/hns/hns_roce_qp.c ret = xa_err(xa_store_irq(xa, hr_qp->qpn & (hr_dev->caps.num_qps - 1), num_qps 240 drivers/infiniband/hw/hns/hns_roce_qp.c __xa_erase(xa, hr_qp->qpn & (hr_dev->caps.num_qps - 1)); num_qps 1317 drivers/infiniband/hw/hns/hns_roce_qp.c ret = hns_roce_bitmap_init(&qp_table->bitmap, hr_dev->caps.num_qps, num_qps 1318 drivers/infiniband/hw/hns/hns_roce_qp.c hr_dev->caps.num_qps - 1, reserved_from_bot, num_qps 1107 drivers/infiniband/hw/mlx4/main.c resp_v3.qp_tab_size = dev->dev->caps.num_qps; num_qps 1112 drivers/infiniband/hw/mlx4/main.c resp.qp_tab_size = dev->dev->caps.num_qps; num_qps 53 drivers/infiniband/hw/mlx5/gsi.c int num_qps; num_qps 123 drivers/infiniband/hw/mlx5/gsi.c const int num_qps = mlx5_ib_deth_sqpn_cap(dev) ? num_pkeys : 0; num_qps 139 drivers/infiniband/hw/mlx5/gsi.c gsi->tx_qps = kcalloc(num_qps, sizeof(*gsi->tx_qps), GFP_KERNEL); num_qps 163 drivers/infiniband/hw/mlx5/gsi.c gsi->num_qps = num_qps; num_qps 182 drivers/infiniband/hw/mlx5/gsi.c if (num_qps) { num_qps 235 drivers/infiniband/hw/mlx5/gsi.c for (qp_index = 0; qp_index < gsi->num_qps; ++qp_index) { num_qps 369 drivers/infiniband/hw/mlx5/gsi.c for (qp_index = 0; qp_index < gsi->num_qps; ++qp_index) num_qps 474 drivers/infiniband/hw/mlx5/gsi.c if (qp_index >= gsi->num_qps) num_qps 522 drivers/infiniband/hw/mthca/mthca_cq.c (dev->limits.num_qps - 1)); num_qps 144 drivers/infiniband/hw/mthca/mthca_dev.h int num_qps; num_qps 445 drivers/infiniband/hw/mthca/mthca_main.c mdev->limits.num_qps, num_qps 456 drivers/infiniband/hw/mthca/mthca_main.c mdev->limits.num_qps, num_qps 467 drivers/infiniband/hw/mthca/mthca_main.c mdev->limits.num_qps << num_qps 175 drivers/infiniband/hw/mthca/mthca_profile.c dev->limits.num_qps = profile[i].num; num_qps 98 drivers/infiniband/hw/mthca/mthca_provider.c props->max_qp = mdev->limits.num_qps - mdev->limits.reserved_qps; num_qps 315 drivers/infiniband/hw/mthca/mthca_provider.c uresp.qp_tab_size = to_mdev(ibdev)->limits.num_qps; num_qps 245 drivers/infiniband/hw/mthca/mthca_qp.c qp = mthca_array_get(&dev->qp_table.qp, qpn & (dev->limits.num_qps - 1)); num_qps 771 drivers/infiniband/hw/mthca/mthca_qp.c ((qp->qpn & (dev->limits.num_qps - 1)) * MTHCA_RDB_ENTRY_SIZE << num_qps 1327 drivers/infiniband/hw/mthca/mthca_qp.c qp->qpn & (dev->limits.num_qps - 1), qp); num_qps 1459 drivers/infiniband/hw/mthca/mthca_qp.c qp->qpn & (dev->limits.num_qps - 1)); num_qps 2271 drivers/infiniband/hw/mthca/mthca_qp.c dev->limits.num_qps, num_qps 2279 drivers/infiniband/hw/mthca/mthca_qp.c dev->limits.num_qps); num_qps 2300 drivers/infiniband/hw/mthca/mthca_qp.c mthca_array_cleanup(&dev->qp_table.qp, dev->limits.num_qps); num_qps 2313 drivers/infiniband/hw/mthca/mthca_qp.c mthca_array_cleanup(&dev->qp_table.qp, dev->limits.num_qps); num_qps 241 drivers/infiniband/hw/vmw_pvrdma/pvrdma.h atomic_t num_qps; num_qps 115 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c atomic_set(&dev->num_qps, 0); num_qps 224 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c if (!atomic_add_unless(&dev->num_qps, 1, dev->dsr->caps.max_qp)) num_qps 398 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c atomic_dec(&dev->num_qps); num_qps 435 drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c atomic_dec(&dev->num_qps); num_qps 57 drivers/net/ethernet/huawei/hinic/hinic_dev.h u16 num_qps; num_qps 347 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c cmd->data = nic_dev->num_qps; num_qps 608 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c for (qid = 0; qid < nic_dev->num_qps; qid++) { num_qps 621 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c for (qid = 0; qid < nic_dev->num_qps; qid++) { num_qps 688 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c q_num = nic_dev->num_qps; num_qps 722 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c for (i = 0; i < nic_dev->num_qps; i++) { num_qps 729 drivers/net/ethernet/huawei/hinic/hinic_ethtool.c for (i = 0; i < nic_dev->num_qps; i++) { num_qps 87 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c nic_cap->num_qps = (num_irqs - (num_aeqs + num_ceqs)) / 2; num_qps 89 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c if (nic_cap->num_qps > HINIC_Q_CTXT_MAX) num_qps 90 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c nic_cap->num_qps = HINIC_Q_CTXT_MAX; num_qps 96 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c if (nic_cap->num_qps > nic_cap->max_qps) num_qps 97 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c nic_cap->num_qps = nic_cap->max_qps; num_qps 474 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c int err, num_aeqs, num_ceqs, num_qps; num_qps 499 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c num_qps = nic_cap->num_qps; num_qps 501 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c rq_msix_entries = &hwdev->msix_entries[num_aeqs + num_ceqs + num_qps]; num_qps 503 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c err = hinic_io_create_qps(func_to_io, base_qpn, num_qps, num_qps 525 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c hinic_io_destroy_qps(func_to_io, num_qps); num_qps 544 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c hinic_io_destroy_qps(func_to_io, nic_cap->num_qps); num_qps 845 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c return nic_cap->num_qps; num_qps 27 drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h u16 num_qps; num_qps 32 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c #define CI_TABLE_SIZE(num_qps) ((num_qps) * CI_Q_ADDR_SIZE) num_qps 199 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c u16 num_qps) num_qps 201 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c return (write_sq_ctxts(func_to_io, base_qpn, num_qps) || num_qps 202 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c write_rq_ctxts(func_to_io, base_qpn, num_qps)); num_qps 367 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c u16 base_qpn, int num_qps, num_qps 377 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c qps_size = num_qps * sizeof(*func_to_io->qps); num_qps 382 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c wq_size = num_qps * sizeof(*func_to_io->sq_wq); num_qps 389 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c wq_size = num_qps * sizeof(*func_to_io->rq_wq); num_qps 396 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c db_size = num_qps * sizeof(*func_to_io->sq_db); num_qps 403 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c ci_addr_base = dma_alloc_coherent(&pdev->dev, CI_TABLE_SIZE(num_qps), num_qps 414 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c for (i = 0; i < num_qps; i++) { num_qps 423 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c err = write_qp_ctxts(func_to_io, base_qpn, num_qps); num_qps 442 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c dma_free_coherent(&pdev->dev, CI_TABLE_SIZE(num_qps), num_qps 464 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c void hinic_io_destroy_qps(struct hinic_func_to_io *func_to_io, int num_qps) num_qps 471 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c ci_table_size = CI_TABLE_SIZE(num_qps); num_qps 473 drivers/net/ethernet/huawei/hinic/hinic_hw_io.c for (i = 0; i < num_qps; i++) num_qps 75 drivers/net/ethernet/huawei/hinic/hinic_hw_io.h u16 base_qpn, int num_qps, num_qps 80 drivers/net/ethernet/huawei/hinic/hinic_hw_io.h int num_qps); num_qps 117 drivers/net/ethernet/huawei/hinic/hinic_main.c int i, num_qps = hinic_hwdev_num_qps(nic_dev->hwdev); num_qps 119 drivers/net/ethernet/huawei/hinic/hinic_main.c for (i = 0; i < num_qps; i++) num_qps 122 drivers/net/ethernet/huawei/hinic/hinic_main.c for (i = 0; i < num_qps; i++) num_qps 329 drivers/net/ethernet/huawei/hinic/hinic_main.c nic_dev->num_qps = nic_dev->max_qps; num_qps 342 drivers/net/ethernet/huawei/hinic/hinic_main.c nic_dev->num_qps = nic_dev->max_qps; num_qps 359 drivers/net/ethernet/huawei/hinic/hinic_main.c nic_dev->num_qps = hinic_hwdev_num_qps(hwdev); num_qps 360 drivers/net/ethernet/huawei/hinic/hinic_main.c nic_dev->num_qps = min_t(u16, nic_dev->num_qps, num_cpus); num_qps 362 drivers/net/ethernet/huawei/hinic/hinic_main.c nic_dev->rss_limit = nic_dev->num_qps; num_qps 363 drivers/net/ethernet/huawei/hinic/hinic_main.c nic_dev->num_rss = nic_dev->num_qps; num_qps 409 drivers/net/ethernet/huawei/hinic/hinic_main.c netif_set_real_num_tx_queues(netdev, nic_dev->num_qps); num_qps 410 drivers/net/ethernet/huawei/hinic/hinic_main.c netif_set_real_num_rx_queues(netdev, nic_dev->num_qps); num_qps 937 drivers/net/ethernet/huawei/hinic/hinic_main.c int err, num_qps; num_qps 945 drivers/net/ethernet/huawei/hinic/hinic_main.c num_qps = hinic_hwdev_num_qps(hwdev); num_qps 946 drivers/net/ethernet/huawei/hinic/hinic_main.c if (num_qps <= 0) { num_qps 952 drivers/net/ethernet/huawei/hinic/hinic_main.c netdev = alloc_etherdev_mq(sizeof(*nic_dev), num_qps); num_qps 1679 drivers/net/ethernet/intel/i40e/i40e_main.c int i, override_q, pow, num_qps, ret; num_qps 1688 drivers/net/ethernet/intel/i40e/i40e_main.c num_qps = vsi->mqprio_qopt.qopt.count[0]; num_qps 1691 drivers/net/ethernet/intel/i40e/i40e_main.c pow = ilog2(num_qps); num_qps 1692 drivers/net/ethernet/intel/i40e/i40e_main.c if (!is_power_of_2(num_qps)) num_qps 1809 drivers/net/ethernet/intel/i40e/i40e_main.c int pow, num_qps; num_qps 1833 drivers/net/ethernet/intel/i40e/i40e_main.c num_qps = qcount; num_qps 1835 drivers/net/ethernet/intel/i40e/i40e_main.c while (num_qps && (BIT_ULL(pow) < qcount)) { num_qps 1837 drivers/net/ethernet/intel/i40e/i40e_main.c num_qps >>= 1; num_qps 7099 drivers/net/ethernet/intel/i40e/i40e_main.c u16 sections, qmap, num_qps; num_qps 7107 drivers/net/ethernet/intel/i40e/i40e_main.c num_qps = vsi->num_queue_pairs - (macvlan_cnt * qcnt); num_qps 7110 drivers/net/ethernet/intel/i40e/i40e_main.c pow = fls(roundup_pow_of_two(num_qps) - 1); num_qps 7130 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->rss_size = max_t(u16, num_qps, qcnt); num_qps 7141 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->next_base_queue = num_qps; num_qps 7142 drivers/net/ethernet/intel/i40e/i40e_main.c vsi->cnt_q_avail = vsi->num_queue_pairs - num_qps; num_qps 261 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (queue_id < vf->ch[i].num_qps) { num_qps 268 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c queue_id -= vf->ch[i].num_qps; num_qps 812 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c qps = vf->ch[i].num_qps; num_qps 860 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c qps = vf->ch[i].num_qps; num_qps 2116 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c num_qps_all += vf->ch[i].num_qps; num_qps 2171 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c if (j == (vf->ch[idx].num_qps - 1)) { num_qps 2188 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->ch[i].num_qps; num_qps 3673 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c vf->ch[i].num_qps = tci->list[i].count; num_qps 60 drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h u16 num_qps; /* number of queue pairs requested by user */ num_qps 2535 drivers/net/ethernet/intel/iavf/iavf_main.c int i, num_qps = 0; num_qps 2545 drivers/net/ethernet/intel/iavf/iavf_main.c mqprio_qopt->qopt.offset[i] != num_qps) num_qps 2556 drivers/net/ethernet/intel/iavf/iavf_main.c num_qps += mqprio_qopt->qopt.count[i]; num_qps 2558 drivers/net/ethernet/intel/iavf/iavf_main.c if (num_qps > IAVF_MAX_REQ_QUEUES) num_qps 477 drivers/net/ethernet/mellanox/mlx4/fw.c size = dev->caps.num_qps; num_qps 2712 drivers/net/ethernet/mellanox/mlx4/fw.c u32 num_qps; num_qps 2754 drivers/net/ethernet/mellanox/mlx4/fw.c num_qps = be32_to_cpu(mgm->members_count) & num_qps 2759 drivers/net/ethernet/mellanox/mlx4/fw.c for (i = 0; i < num_qps; i++) { num_qps 1002 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.num_qps = 1 << hca_param->log_num_qps; num_qps 1593 drivers/net/ethernet/mellanox/mlx4/main.c cmpt_entry_sz, dev->caps.num_qps, num_qps 1722 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.num_qps, num_qps 1733 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.num_qps, num_qps 1744 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.num_qps, num_qps 1755 drivers/net/ethernet/mellanox/mlx4/main.c dev->caps.num_qps, num_qps 184 drivers/net/ethernet/mellanox/mlx4/profile.c dev->caps.num_qps = profile[i].num; num_qps 421 drivers/net/ethernet/mellanox/mlx4/qp.c (dev->caps.num_qps - 1), qp); num_qps 519 drivers/net/ethernet/mellanox/mlx4/qp.c radix_tree_delete(&dev->qp_table_tree, qp->qpn & (dev->caps.num_qps - 1)); num_qps 570 drivers/net/ethernet/mellanox/mlx4/qp.c err = mlx4_bitmap_init(*bitmap + MLX4_QP_TABLE_ZONE_GENERAL, dev->caps.num_qps, num_qps 799 drivers/net/ethernet/mellanox/mlx4/qp.c int last_base = dev->caps.num_qps; num_qps 831 drivers/net/ethernet/mellanox/mlx4/qp.c if (reserved_from_bot + reserved_from_top > dev->caps.num_qps) { num_qps 452 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c dev->quotas.qp = dev->caps.num_qps - dev->caps.reserved_qps - num_qps 558 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c t, dev->caps.num_qps - num_qps 104 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c atomic_set(&dev->num_qps, 0); num_qps 322 drivers/net/ethernet/mellanox/mlx5/core/qp.c atomic_inc(&dev->num_qps); num_qps 376 drivers/net/ethernet/mellanox/mlx5/core/qp.c atomic_dec(&dev->num_qps); num_qps 2070 drivers/net/ethernet/qlogic/qed/qed_cxt.c u32 num_cons, num_qps, num_srqs; num_qps 2084 drivers/net/ethernet/qlogic/qed/qed_cxt.c num_cons = min_t(u32, IWARP_MAX_QPS, p_params->num_qps); num_qps 2088 drivers/net/ethernet/qlogic/qed/qed_cxt.c num_qps = min_t(u32, ROCE_MAX_QPS, p_params->num_qps); num_qps 2089 drivers/net/ethernet/qlogic/qed/qed_cxt.c num_cons = num_qps * 2; /* each QP requires two connections */ num_qps 100 drivers/net/ethernet/qlogic/qed/qed_iwarp.c p_hwfn->p_rdma_info->num_qps) - num_qps 2742 drivers/net/ethernet/qlogic/qed/qed_iwarp.c iwarp_info->partial_fpdus = kcalloc((u16)p_hwfn->p_rdma_info->num_qps, num_qps 2748 drivers/net/ethernet/qlogic/qed/qed_iwarp.c iwarp_info->max_num_partial_fpdus = (u16)p_hwfn->p_rdma_info->num_qps; num_qps 1058 drivers/net/ethernet/qlogic/qed/qed_main.c params->rdma_pf_params.num_qps = QED_ROCE_QPS; num_qps 180 drivers/net/ethernet/qlogic/qed/qed_rdma.c p_rdma_info->num_qps = num_cons; num_qps 182 drivers/net/ethernet/qlogic/qed/qed_rdma.c p_rdma_info->num_qps = num_cons / 2; /* 2 cids per qp */ num_qps 440 drivers/net/ethernet/qlogic/qed/qed_rdma.c u32 num_qps; num_qps 478 drivers/net/ethernet/qlogic/qed/qed_rdma.c num_qps = ROCE_MAX_QPS; num_qps 479 drivers/net/ethernet/qlogic/qed/qed_rdma.c num_qps = min_t(u64, num_qps, p_hwfn->p_rdma_info->num_qps); num_qps 480 drivers/net/ethernet/qlogic/qed/qed_rdma.c dev->max_qp = num_qps; num_qps 485 drivers/net/ethernet/qlogic/qed/qed_rdma.c dev->max_cq = num_qps * 2; num_qps 514 drivers/net/ethernet/qlogic/qed/qed_rdma.c p_hwfn->p_rdma_info->num_qps; num_qps 518 drivers/net/ethernet/qlogic/qed/qed_rdma.c dev->max_ah = p_hwfn->p_rdma_info->num_qps; num_qps 97 drivers/net/ethernet/qlogic/qed/qed_rdma.h u32 num_qps; num_qps 556 include/linux/mlx4/device.h int num_qps; num_qps 491 include/linux/mlx4/qp.h return radix_tree_lookup(&dev->qp_table_tree, qpn & (dev->caps.num_qps - 1)); num_qps 704 include/linux/mlx5/driver.h atomic_t num_qps; num_qps 573 include/linux/qed/qed_if.h u32 num_qps; /* number of requested Queue Pairs */