Home
last modified time | relevance | path

Searched refs:comp_vector (Results 1 – 25 of 27) sorted by relevance

12

/linux/include/trace/events/
A Drdma_core.h195 int comp_vector,
199 TP_ARGS(cq, nr_cqe, comp_vector, poll_ctx),
204 __field(int, comp_vector)
211 __entry->comp_vector = comp_vector;
216 __entry->cq_id, __entry->nr_cqe, __entry->comp_vector,
224 int comp_vector,
229 TP_ARGS(nr_cqe, comp_vector, poll_ctx, rc),
234 __field(int, comp_vector)
241 __entry->comp_vector = comp_vector;
246 __entry->nr_cqe, __entry->comp_vector,
/linux/drivers/infiniband/core/
A Dcq.c214 int comp_vector, enum ib_poll_context poll_ctx, in __ib_alloc_cq() argument
219 .comp_vector = comp_vector, in __ib_alloc_cq()
232 cq->comp_vector = comp_vector; in __ib_alloc_cq()
271 trace_cq_alloc(cq, nr_cqe, comp_vector, poll_ctx); in __ib_alloc_cq()
282 trace_cq_alloc_error(nr_cqe, comp_vector, poll_ctx, ret); in __ib_alloc_cq()
303 int comp_vector = 0; in __ib_alloc_cq_any() local
306 comp_vector = in __ib_alloc_cq_any()
310 return __ib_alloc_cq(dev, private, nr_cqe, comp_vector, poll_ctx, in __ib_alloc_cq_any()
465 if (vector != cq->comp_vector) in ib_cq_pool_get()
A Duverbs_std_types_cq.c78 ret = uverbs_copy_from(&attr.comp_vector, attrs, in UVERBS_HANDLER()
107 if (attr.comp_vector >= attrs->ufile->device->num_comp_vectors) { in UVERBS_HANDLER()
A Duverbs_cmd.c1012 if (cmd->comp_vector >= attrs->ufile->device->num_comp_vectors) in create_cq()
1033 attr.comp_vector = cmd->comp_vector; in create_cq()
1091 cmd_ex.comp_vector = cmd.comp_vector; in ib_uverbs_create_cq()
/linux/drivers/infiniband/sw/rdmavt/
A Dtrace_cq.h42 __field(int, comp_vector)
49 __entry->comp_vector = attr->comp_vector;
56 __entry->comp_vector, __entry->comp_vector_cpu,
A Dcq.c168 int comp_vector = attr->comp_vector; in rvt_create_cq() local
177 if (comp_vector < 0) in rvt_create_cq()
178 comp_vector = 0; in rvt_create_cq()
180 comp_vector = comp_vector % rdi->ibdev.num_comp_vectors; in rvt_create_cq()
244 rdi->driver_f.comp_vect_cpu_lookup(rdi, comp_vector); in rvt_create_cq()
/linux/drivers/infiniband/sw/rxe/
A Drxe_cq.c12 int cqe, int comp_vector) in rxe_cq_chk_attr() argument
58 int comp_vector, struct ib_udata *udata, in rxe_cq_from_init() argument
A Drxe_loc.h26 int cqe, int comp_vector);
29 int comp_vector, struct ib_udata *udata,
A Drxe_verbs.c790 err = rxe_cq_chk_attr(rxe, NULL, attr->cqe, attr->comp_vector); in rxe_create_cq()
794 err = rxe_cq_from_init(rxe, cq, attr->cqe, attr->comp_vector, udata, in rxe_create_cq()
/linux/drivers/infiniband/ulp/srp/
A Dib_srp.h177 int comp_vector; member
222 int comp_vector; member
A Dib_srp.c546 ch->comp_vector, IB_POLL_SOFTIRQ); in srp_create_ch_ib()
553 ch->comp_vector, IB_POLL_DIRECT); in srp_create_ch_ib()
3025 return sysfs_emit(buf, "%d\n", target->comp_vector); in comp_vector_show()
3028 static DEVICE_ATTR_RO(comp_vector);
3570 target->comp_vector = token; in srp_parse_options()
3775 ch->comp_vector = ch_idx % ibdev->num_comp_vectors; in add_target_store()
/linux/drivers/infiniband/ulp/ipoib/
A Dipoib_verbs.c177 cq_attr.comp_vector = req_vec % priv->ca->num_comp_vectors; in ipoib_transport_dev_init()
186 cq_attr.comp_vector = (req_vec + 1) % priv->ca->num_comp_vectors; in ipoib_transport_dev_init()
/linux/drivers/infiniband/hw/hns/
A Dhns_roce_cq.c289 if (attr->comp_vector >= hr_dev->caps.num_comp_vectors) { in verify_cq_create_attr()
291 attr->comp_vector, hr_dev->caps.num_comp_vectors); in verify_cq_create_attr()
378 set_cq_param(hr_cq, attr->cqe, attr->comp_vector, &ucmd); in hns_roce_create_cq()
/linux/Documentation/ABI/stable/
A Dsysfs-driver-ib_srp58 * comp_vector, a number in the range 0..n-1 specifying the
63 different CPU then the comp_vector parameter can be used to
108 What: /sys/class/scsi_host/host<n>/comp_vector
/linux/include/rdma/
A Dib_verbs.h356 u32 comp_vector; member
1590 unsigned int comp_vector; member
2343 int comp_vector);
3847 int comp_vector, enum ib_poll_context poll_ctx,
3850 int nr_cqe, int comp_vector, in ib_alloc_cq() argument
3853 return __ib_alloc_cq(dev, private, nr_cqe, comp_vector, poll_ctx, in ib_alloc_cq()
4631 ib_get_vector_affinity(struct ib_device *device, int comp_vector) in ib_get_vector_affinity() argument
4633 if (comp_vector < 0 || comp_vector >= device->num_comp_vectors || in ib_get_vector_affinity()
4637 return device->ops.get_vector_affinity(device, comp_vector); in ib_get_vector_affinity()
/linux/include/uapi/rdma/
A Dib_user_verbs.h408 __u32 comp_vector; member
422 __u32 comp_vector; member
/linux/drivers/nvme/target/
A Drdma.c111 int comp_vector; member
1271 queue->comp_vector, IB_POLL_WORKQUEUE); in nvmet_rdma_create_queue_ib()
1472 queue->comp_vector = !queue->host_qid ? 0 : in nvmet_rdma_alloc_queue()
1483 queue->nsrq = ndev->srqs[queue->comp_vector % ndev->srq_count]; in nvmet_rdma_alloc_queue()
/linux/net/rds/
A Dib_cm.c544 cq_attr.comp_vector = ic->i_scq_vector; in rds_ib_setup_qp()
558 cq_attr.comp_vector = ic->i_rcq_vector; in rds_ib_setup_qp()
/linux/drivers/nvme/host/
A Drdma.c469 int ret, comp_vector, idx = nvme_rdma_queue_idx(queue); in nvme_rdma_create_cq() local
476 comp_vector = (idx == 0 ? idx : idx - 1) % ibdev->num_comp_vectors; in nvme_rdma_create_cq()
482 comp_vector, poll_ctx); in nvme_rdma_create_cq()
486 comp_vector, poll_ctx); in nvme_rdma_create_cq()
/linux/net/smc/
A Dsmc_ib.c803 .cqe = SMC_MAX_CQE, .comp_vector = 0 }; in smc_ib_setup_per_ibdev()
/linux/drivers/infiniband/hw/mlx4/
A Dcq.c179 int vector = attr->comp_vector; in mlx4_ib_create_cq()
/linux/drivers/infiniband/hw/cxgb4/
A Dcq.c1002 int vector = attr->comp_vector; in c4iw_create_cq()
/linux/drivers/infiniband/hw/mlx5/
A Dcq.c939 int vector = attr->comp_vector; in mlx5_ib_create_cq()
/linux/drivers/infiniband/hw/efa/
A Defa_verbs.c1142 cq->eq = efa_vec2eq(dev, attr->comp_vector); in efa_create_cq()
/linux/drivers/infiniband/hw/irdma/
A Dverbs.c1967 if (attr->comp_vector < rf->ceqs_count) in irdma_create_cq()
1968 info.ceq_id = attr->comp_vector; in irdma_create_cq()

Completed in 88 milliseconds

12