Home
last modified time | relevance | path

Searched refs:num_srqs (Results 1 – 21 of 21) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Dsrq.c49 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()
Dprofile.c205 dev->caps.num_srqs = profile[i].num; in mlx4_make_profile()
Dmain.c1004 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()
Dresource_tracker.c455 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()
Dfw.c482 size = dev->caps.num_srqs; in mlx4_QUERY_FUNC_CAP_wrapper()
/drivers/infiniband/hw/mthca/
Dmthca_srq.c285 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()
Dmthca_profile.c185 dev->limits.num_srqs = profile[i].num; in mthca_make_profile()
Dmthca_dev.h148 int num_srqs; member
Dmthca_main.c491 mdev->limits.num_srqs, in mthca_init_icm()
Dmthca_provider.c110 props->max_srq = mdev->limits.num_srqs - mdev->limits.reserved_srqs; in mthca_query_device()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_srq.c134 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()
Dpvrdma.h243 atomic_t num_srqs; member
Dpvrdma_main.c116 atomic_set(&dev->num_srqs, 0); in pvrdma_init_device()
/drivers/infiniband/hw/hns/
Dhns_roce_srq.c18 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()
Dhns_roce_main.c199 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()
Dhns_roce_device.h763 int num_srqs; member
Dhns_roce_hw_v2.c1924 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/
Dqed_rdma.h80 u32 num_srqs; member
Dqed_cxt.c272 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()
Dqed_rdma.c272 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()
Dqed_main.c1123 params->rdma_pf_params.num_srqs = QED_RDMA_SRQS; in qed_update_pf_params()