/drivers/net/ethernet/mellanox/mlx4/ |
D | srq.c | 49 srq = radix_tree_lookup(&srq_table->tree, srqn & (dev->caps.num_srqs - 1)); in mlx4_srq_event() 281 return mlx4_bitmap_init(&srq_table->bitmap, dev->caps.num_srqs, in mlx4_init_srq_table() 282 dev->caps.num_srqs - 1, dev->caps.reserved_srqs, 0); in mlx4_init_srq_table() 299 srqn & (dev->caps.num_srqs - 1)); in mlx4_srq_lookup()
|
D | profile.c | 205 dev->caps.num_srqs = profile[i].num; in mlx4_make_profile()
|
D | main.c | 1004 dev->caps.num_srqs = 1 << hca_param->log_num_srqs; in mlx4_slave_cap() 1604 cmpt_entry_sz, dev->caps.num_srqs, in mlx4_init_cmpt_table() 1777 dev->caps.num_srqs, in mlx4_init_icm()
|
D | resource_tracker.c | 455 dev->quotas.srq = dev->caps.num_srqs - dev->caps.reserved_srqs; in mlx4_init_quotas() 569 t, dev->caps.num_srqs - in mlx4_init_resource_tracker()
|
D | fw.c | 482 size = dev->caps.num_srqs; in mlx4_QUERY_FUNC_CAP_wrapper()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_srq.c | 285 srq->srqn & (dev->limits.num_srqs - 1), in mthca_alloc_srq() 355 srq->srqn & (dev->limits.num_srqs - 1)); in mthca_free_srq() 437 srq = mthca_array_get(&dev->srq_table.srq, srqn & (dev->limits.num_srqs - 1)); in mthca_srq_event() 677 dev->limits.num_srqs, in mthca_init_srq_table() 678 dev->limits.num_srqs - 1, in mthca_init_srq_table() 684 dev->limits.num_srqs); in mthca_init_srq_table() 696 mthca_array_cleanup(&dev->srq_table.srq, dev->limits.num_srqs); in mthca_cleanup_srq_table()
|
D | mthca_profile.c | 185 dev->limits.num_srqs = profile[i].num; in mthca_make_profile()
|
D | mthca_dev.h | 148 int num_srqs; member
|
D | mthca_main.c | 491 mdev->limits.num_srqs, in mthca_init_icm()
|
D | mthca_provider.c | 110 props->max_srq = mdev->limits.num_srqs - mdev->limits.reserved_srqs; in mthca_query_device()
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_srq.c | 134 if (!atomic_add_unless(&dev->num_srqs, 1, dev->dsr->caps.max_srq)) in pvrdma_create_srq() 211 atomic_dec(&dev->num_srqs); in pvrdma_create_srq() 233 atomic_dec(&dev->num_srqs); in pvrdma_free_srq()
|
D | pvrdma.h | 243 atomic_t num_srqs; member
|
D | pvrdma_main.c | 116 atomic_set(&dev->num_srqs, 0); in pvrdma_init_device()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_srq.c | 18 srq = xa_load(&srq_table->xa, srqn & (hr_dev->caps.num_srqs - 1)); in hns_roce_srq_event() 455 srq_ida->max = hr_dev->caps.num_srqs - 1; in hns_roce_init_srq_table()
|
D | hns_roce_main.c | 199 props->max_srq = hr_dev->caps.num_srqs; in hns_roce_query_device() 312 resp.srq_tab_size = hr_dev->caps.num_srqs; in hns_roce_alloc_ucontext() 632 hr_dev->caps.num_srqs, 1); in hns_roce_init_hem()
|
D | hns_roce_device.h | 763 int num_srqs; member
|
D | hns_roce_hw_v2.c | 1924 to_hr_hem_hopnum(caps->srqc_hop_num, caps->num_srqs)); in hns_roce_v2_set_bt() 1958 caps->num_srqs = HNS_ROCE_V2_MAX_SRQ_NUM; in set_default_caps() 2145 calc_pg_sz(caps->num_srqs, caps->srqc_entry_sz, in set_hem_page_size() 2324 caps->num_srqs = 1 << roce_get_field(resp_d->wq_hop_num_max_srqs, in hns_roce_query_pf_caps()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_rdma.h | 80 u32 num_srqs; member
|
D | qed_cxt.c | 272 u32 num_srqs, u32 num_xrc_srqs) in qed_cxt_set_srq_count() argument 276 p_mgr->srq_count = num_srqs; in qed_cxt_set_srq_count() 2007 u32 num_srqs, num_xrc_srqs; in qed_rdma_set_pf_params() local 2018 num_srqs = min_t(u32, QED_RDMA_MAX_SRQS, p_params->num_srqs); in qed_rdma_set_pf_params() 2023 qed_cxt_set_srq_count(p_hwfn, num_srqs, num_xrc_srqs); in qed_rdma_set_pf_params()
|
D | qed_rdma.c | 272 p_rdma_info->num_srqs = p_hwfn->p_cxt_mngr->srq_count; in qed_rdma_alloc() 274 p_rdma_info->num_srqs, "SRQ"); in qed_rdma_alloc() 510 dev->max_srq = p_hwfn->p_rdma_info->num_srqs; in qed_rdma_init_devinfo()
|
D | qed_main.c | 1123 params->rdma_pf_params.num_srqs = QED_RDMA_SRQS; in qed_update_pf_params()
|