Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/include/trace/events/
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,
/kernel/linux/linux-5.10/drivers/infiniband/core/
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()
473 if (vector != cq->comp_vector) in ib_cq_pool_get()
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()
Duverbs_cmd.c978 if (cmd->comp_vector >= attrs->ufile->device->num_comp_vectors) in create_cq()
999 attr.comp_vector = cmd->comp_vector; in create_cq()
1057 cmd_ex.comp_vector = cmd.comp_vector; in ib_uverbs_create_cq()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dtrace_cq.h84 __field(int, comp_vector)
91 __entry->comp_vector = attr->comp_vector;
98 __entry->comp_vector, __entry->comp_vector_cpu,
Dcq.c210 int comp_vector = attr->comp_vector; in rvt_create_cq() local
219 if (comp_vector < 0) in rvt_create_cq()
220 comp_vector = 0; in rvt_create_cq()
222 comp_vector = comp_vector % rdi->ibdev.num_comp_vectors; in rvt_create_cq()
286 rdi->driver_f.comp_vect_cpu_lookup(rdi, comp_vector); in rvt_create_cq()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
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
Drxe_loc.h26 int cqe, int comp_vector);
29 int comp_vector, struct ib_udata *udata,
Drxe_verbs.c770 err = rxe_cq_chk_attr(rxe, NULL, attr->cqe, attr->comp_vector); in rxe_create_cq()
774 err = rxe_cq_from_init(rxe, cq, attr->cqe, attr->comp_vector, udata, in rxe_create_cq()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srp/
Dib_srp.h178 int comp_vector; member
224 int comp_vector; member
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()
3011 return sprintf(buf, "%d\n", target->comp_vector); in show_comp_vector()
3050 static DEVICE_ATTR(comp_vector, S_IRUGO, show_comp_vector, NULL);
3560 target->comp_vector = token; in srp_parse_options()
3767 ch->comp_vector = ch_idx % ibdev->num_comp_vectors; in srp_create_target()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
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()
/kernel/linux/linux-5.10/Documentation/ABI/stable/
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
/kernel/linux/linux-5.10/include/rdma/
Dib_verbs.h353 u32 comp_vector; member
1584 unsigned int comp_vector; member
2317 int comp_vector);
3783 int comp_vector, enum ib_poll_context poll_ctx,
3786 int nr_cqe, int comp_vector, in ib_alloc_cq() argument
3789 return __ib_alloc_cq(dev, private, nr_cqe, comp_vector, poll_ctx, in ib_alloc_cq()
4574 ib_get_vector_affinity(struct ib_device *device, int comp_vector) in ib_get_vector_affinity() argument
4576 if (comp_vector < 0 || comp_vector >= device->num_comp_vectors || in ib_get_vector_affinity()
4580 return device->ops.get_vector_affinity(device, comp_vector); in ib_get_vector_affinity()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Dib_user_verbs.h320 __u32 comp_vector; member
332 __u32 comp_vector; member
/kernel/linux/linux-5.10/include/uapi/rdma/
Dib_user_verbs.h408 __u32 comp_vector; member
422 __u32 comp_vector; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Dib_user_verbs.h303 __u32 comp_vector; member
315 __u32 comp_vector; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_cq.c250 int vector = attr->comp_vector; in hns_roce_create_cq()
/kernel/linux/linux-5.10/drivers/nvme/target/
Drdma.c110 int comp_vector; member
1270 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()
/kernel/linux/linux-5.10/net/rds/
Dib_cm.c578 cq_attr.comp_vector = ic->i_scq_vector; in rds_ib_setup_qp()
592 cq_attr.comp_vector = ic->i_rcq_vector; in rds_ib_setup_qp()
/kernel/linux/linux-5.10/drivers/nvme/host/
Drdma.c467 int ret, comp_vector, idx = nvme_rdma_queue_idx(queue); in nvme_rdma_create_cq() local
474 comp_vector = (idx == 0 ? idx : idx - 1) % ibdev->num_comp_vectors; in nvme_rdma_create_cq()
480 comp_vector, poll_ctx); in nvme_rdma_create_cq()
484 comp_vector, poll_ctx); in nvme_rdma_create_cq()
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.c505 .cqe = SMC_MAX_CQE, .comp_vector = 0 }; in smc_ib_setup_per_ibdev()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dcq.c179 int vector = attr->comp_vector; in mlx4_ib_create_cq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dcq.c996 int vector = attr->comp_vector; in c4iw_create_cq()
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c1105 if (attr->comp_vector < iwdev->ceqs_count) in i40iw_create_cq()
1106 info.ceq_id = attr->comp_vector; in i40iw_create_cq()

12