Home
last modified time | relevance | path

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

12

/linux-6.1.9/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,
/linux-6.1.9/drivers/infiniband/core/
Dcq.c213 int comp_vector, enum ib_poll_context poll_ctx, in __ib_alloc_cq() argument
218 .comp_vector = comp_vector, in __ib_alloc_cq()
231 cq->comp_vector = comp_vector; in __ib_alloc_cq()
270 trace_cq_alloc(cq, nr_cqe, comp_vector, poll_ctx); in __ib_alloc_cq()
281 trace_cq_alloc_error(nr_cqe, comp_vector, poll_ctx, ret); in __ib_alloc_cq()
302 int comp_vector = 0; in __ib_alloc_cq_any() local
305 comp_vector = in __ib_alloc_cq_any()
309 return __ib_alloc_cq(dev, private, nr_cqe, comp_vector, poll_ctx, in __ib_alloc_cq_any()
464 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.c1015 if (cmd->comp_vector >= attrs->ufile->device->num_comp_vectors) in create_cq()
1036 attr.comp_vector = cmd->comp_vector; in create_cq()
1094 cmd_ex.comp_vector = cmd.comp_vector; in ib_uverbs_create_cq()
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dtrace_cq.h42 __field(int, comp_vector)
49 __entry->comp_vector = attr->comp_vector;
56 __entry->comp_vector, __entry->comp_vector_cpu,
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-6.1.9/drivers/infiniband/ulp/srp/
Dib_srp.h187 int comp_vector; member
232 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()
3023 return sysfs_emit(buf, "%d\n", target->comp_vector); in comp_vector_show()
3026 static DEVICE_ATTR_RO(comp_vector);
3619 target->comp_vector = token; in srp_parse_options()
3846 ch->comp_vector = ch_idx % ibdev->num_comp_vectors; in add_target_store()
/linux-6.1.9/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.c786 err = rxe_cq_chk_attr(rxe, NULL, attr->cqe, attr->comp_vector); in rxe_create_cq()
790 err = rxe_cq_from_init(rxe, cq, attr->cqe, attr->comp_vector, udata, in rxe_create_cq()
/linux-6.1.9/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()
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_cq.c290 if (attr->comp_vector >= hr_dev->caps.num_comp_vectors) { in verify_cq_create_attr()
292 attr->comp_vector, hr_dev->caps.num_comp_vectors); in verify_cq_create_attr()
379 set_cq_param(hr_cq, attr->cqe, attr->comp_vector, &ucmd); in hns_roce_create_cq()
/linux-6.1.9/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
/linux-6.1.9/include/rdma/
Dib_verbs.h369 u32 comp_vector; member
1604 unsigned int comp_vector; member
2361 int comp_vector);
3857 int comp_vector, enum ib_poll_context poll_ctx,
3860 int nr_cqe, int comp_vector, in ib_alloc_cq() argument
3863 return __ib_alloc_cq(dev, private, nr_cqe, comp_vector, poll_ctx, in ib_alloc_cq()
4652 ib_get_vector_affinity(struct ib_device *device, int comp_vector) in ib_get_vector_affinity() argument
4654 if (comp_vector < 0 || comp_vector >= device->num_comp_vectors || in ib_get_vector_affinity()
4658 return device->ops.get_vector_affinity(device, comp_vector); in ib_get_vector_affinity()
/linux-6.1.9/include/uapi/rdma/
Dib_user_verbs.h408 __u32 comp_vector; member
422 __u32 comp_vector; member
/linux-6.1.9/drivers/nvme/target/
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-6.1.9/drivers/nvme/host/
Drdma.c466 int ret, comp_vector, idx = nvme_rdma_queue_idx(queue); in nvme_rdma_create_cq() local
473 comp_vector = (idx == 0 ? idx : idx - 1) % ibdev->num_comp_vectors; in nvme_rdma_create_cq()
479 comp_vector, poll_ctx); in nvme_rdma_create_cq()
483 comp_vector, poll_ctx); in nvme_rdma_create_cq()
/linux-6.1.9/net/rds/
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-6.1.9/drivers/infiniband/hw/mlx4/
Dcq.c179 int vector = attr->comp_vector; in mlx4_ib_create_cq()
/linux-6.1.9/net/smc/
Dsmc_ib.c836 .cqe = SMC_MAX_CQE, .comp_vector = 0 }; in smc_ib_setup_per_ibdev()
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Dcq.c1002 int vector = attr->comp_vector; in c4iw_create_cq()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dcq.c946 int vector = attr->comp_vector; in mlx5_ib_create_cq()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_verbs.c1383 cq->assoc_eqn = attr->comp_vector + 1; in erdma_create_cq()
/linux-6.1.9/drivers/infiniband/hw/efa/
Defa_verbs.c1149 cq->eq = efa_vec2eq(dev, attr->comp_vector); in efa_create_cq()

12