Home
last modified time | relevance | path

Searched refs:num_qps (Results 1 – 18 of 18) sorted by relevance

/drivers/infiniband/hw/ehca/
Dehca_qp.c472 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 …]
Dehca_classes.h134 atomic_t num_qps; member
Dehca_main.c746 atomic_set(&shca->num_qps, 0); in ehca_probe()
/drivers/net/ethernet/mellanox/mlx5/core/
Dqp.c113 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()
Ddebugfs.c108 atomic_set(&dev->num_qps, 0); in mlx5_qp_debugfs_init()
/drivers/net/ethernet/mellanox/mlx4/
Dqp.c375 (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()
Dprofile.c188 dev->caps.num_qps = profile[i].num; in mlx4_make_profile()
Dmain.c703 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()
Dfw.c296 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()
Dresource_tracker.c441 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/
Dmthca_qp.c244 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()
Dmthca_main.c446 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()
Dmthca_profile.c179 dev->limits.num_qps = profile[i].num; in mthca_make_profile()
Dmthca_dev.h144 int num_qps; member
Dmthca_provider.c94 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()
Dmthca_cq.c527 (dev->limits.num_qps - 1)); in mthca_poll_one()
/drivers/infiniband/hw/mlx4/
Dmain.c637 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/
Di40e_main.c1522 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()