Searched refs:num_qps (Results 1 – 18 of 18) sorted by relevance
/drivers/infiniband/hw/ehca/ |
D | ehca_qp.c | 472 if (!atomic_add_unless(&shca->num_qps, 1, shca->max_num_qps)) { in internal_create_qp() 481 atomic_dec(&shca->num_qps); in internal_create_qp() 492 atomic_dec(&shca->num_qps); in internal_create_qp() 511 atomic_dec(&shca->num_qps); in internal_create_qp() 522 atomic_dec(&shca->num_qps); in internal_create_qp() 534 atomic_dec(&shca->num_qps); in internal_create_qp() 546 atomic_dec(&shca->num_qps); in internal_create_qp() 560 atomic_dec(&shca->num_qps); in internal_create_qp() 568 atomic_dec(&shca->num_qps); in internal_create_qp() 580 atomic_dec(&shca->num_qps); in internal_create_qp() [all …]
|
D | ehca_classes.h | 134 atomic_t num_qps; member
|
D | ehca_main.c | 746 atomic_set(&shca->num_qps, 0); in ehca_probe()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | qp.c | 113 atomic_read(&dev->num_qps)); in mlx5_core_create_qp() 136 atomic_inc(&dev->num_qps); in mlx5_core_create_qp() 181 atomic_dec(&dev->num_qps); in mlx5_core_destroy_qp()
|
D | debugfs.c | 108 atomic_set(&dev->num_qps, 0); in mlx5_qp_debugfs_init()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | qp.c | 375 (dev->caps.num_qps - 1), qp); in mlx4_qp_alloc() 441 radix_tree_delete(&dev->qp_table_tree, qp->qpn & (dev->caps.num_qps - 1)); in mlx4_qp_remove() 488 int last_base = dev->caps.num_qps; in mlx4_init_qp_table() 524 err = mlx4_bitmap_init(&qp_table->bitmap, dev->caps.num_qps, in mlx4_init_qp_table()
|
D | profile.c | 188 dev->caps.num_qps = profile[i].num; in mlx4_make_profile()
|
D | main.c | 703 dev->caps.num_qps = 1 << hca_param.log_num_qps; in mlx4_slave_cap() 1100 cmpt_entry_sz, dev->caps.num_qps, in mlx4_init_cmpt_table() 1231 dev->caps.num_qps, in mlx4_init_icm() 1242 dev->caps.num_qps, in mlx4_init_icm() 1253 dev->caps.num_qps, in mlx4_init_icm() 1264 dev->caps.num_qps, in mlx4_init_icm()
|
D | fw.c | 296 size = dev->caps.num_qps; in mlx4_QUERY_FUNC_CAP_wrapper() 1981 u32 num_qps; in mlx4_opreq_action() local 2023 num_qps = be32_to_cpu(mgm->members_count) & in mlx4_opreq_action() 2028 for (i = 0; i < num_qps; i++) { in mlx4_opreq_action()
|
D | resource_tracker.c | 441 dev->quotas.qp = dev->caps.num_qps - dev->caps.reserved_qps - in mlx4_init_quotas() 509 t, dev->caps.num_qps - in mlx4_init_resource_tracker()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 244 qp = mthca_array_get(&dev->qp_table.qp, qpn & (dev->limits.num_qps - 1)); in mthca_qp_event() 755 ((qp->qpn & (dev->limits.num_qps - 1)) * MTHCA_RDB_ENTRY_SIZE << in __mthca_modify_qp() 1307 qp->qpn & (dev->limits.num_qps - 1), qp); in mthca_alloc_qp() 1438 qp->qpn & (dev->limits.num_qps - 1)); in mthca_free_qp() 2267 dev->limits.num_qps, in mthca_init_qp_table() 2275 dev->limits.num_qps); in mthca_init_qp_table() 2296 mthca_array_cleanup(&dev->qp_table.qp, dev->limits.num_qps); in mthca_init_qp_table() 2309 mthca_array_cleanup(&dev->qp_table.qp, dev->limits.num_qps); in mthca_cleanup_qp_table()
|
D | mthca_main.c | 446 mdev->limits.num_qps, in mthca_init_icm() 457 mdev->limits.num_qps, in mthca_init_icm() 468 mdev->limits.num_qps << in mthca_init_icm()
|
D | mthca_profile.c | 179 dev->limits.num_qps = profile[i].num; in mthca_make_profile()
|
D | mthca_dev.h | 144 int num_qps; member
|
D | mthca_provider.c | 94 props->max_qp = mdev->limits.num_qps - mdev->limits.reserved_qps; in mthca_query_device() 309 uresp.qp_tab_size = to_mdev(ibdev)->limits.num_qps; in mthca_alloc_ucontext()
|
D | mthca_cq.c | 527 (dev->limits.num_qps - 1)); in mthca_poll_one()
|
/drivers/infiniband/hw/mlx4/ |
D | main.c | 637 resp_v3.qp_tab_size = dev->dev->caps.num_qps; in mlx4_ib_alloc_ucontext() 642 resp.qp_tab_size = dev->dev->caps.num_qps; in mlx4_ib_alloc_ucontext()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 1522 int pow, num_qps; in i40e_vsi_setup_queue_map() local 1545 num_qps = qcount; in i40e_vsi_setup_queue_map() 1547 while (num_qps && ((1 << pow) < qcount)) { in i40e_vsi_setup_queue_map() 1549 num_qps >>= 1; in i40e_vsi_setup_queue_map()
|