Searched refs:cq_attr (Results 1 - 20 of 20) sorted by relevance

/freebsd-11-stable/contrib/ofed/libmlx4/
H A Dverbs.c405 struct ibv_cq_init_attr_ex *cq_attr,
415 ret = ibv_cmd_create_cq(context, cq_attr->cqe, cq_attr->channel,
416 cq_attr->comp_vector,
428 struct ibv_cq_init_attr_ex *cq_attr,
438 ret = ibv_cmd_create_cq_ex(context, cq_attr,
452 struct ibv_cq_init_attr_ex *cq_attr,
460 if (cq_attr->cqe > 0x3fffff) {
465 if (cq_attr->comp_mask & ~CREATE_CQ_SUPPORTED_COMP_MASK) {
470 if (cq_attr
404 mlx4_cmd_create_cq(struct ibv_context *context, struct ibv_cq_init_attr_ex *cq_attr, struct mlx4_cq *cq) argument
427 mlx4_cmd_create_cq_ex(struct ibv_context *context, struct ibv_cq_init_attr_ex *cq_attr, struct mlx4_cq *cq) argument
451 create_cq(struct ibv_context *context, struct ibv_cq_init_attr_ex *cq_attr, int cq_alloc_flags) argument
549 struct ibv_cq_init_attr_ex cq_attr = {.cqe = cqe, .channel = channel, local
557 mlx4_create_cq_ex(struct ibv_context *context, struct ibv_cq_init_attr_ex *cq_attr) argument
[all...]
H A Dcq.c648 void mlx4_cq_fill_pfns(struct mlx4_cq *cq, const struct ibv_cq_init_attr_ex *cq_attr) argument
663 if (cq_attr->wc_flags & IBV_WC_EX_WITH_BYTE_LEN)
665 if (cq_attr->wc_flags & IBV_WC_EX_WITH_IMM)
667 if (cq_attr->wc_flags & IBV_WC_EX_WITH_QP_NUM)
669 if (cq_attr->wc_flags & IBV_WC_EX_WITH_SRC_QP)
671 if (cq_attr->wc_flags & IBV_WC_EX_WITH_SLID)
673 if (cq_attr->wc_flags & IBV_WC_EX_WITH_SL)
675 if (cq_attr->wc_flags & IBV_WC_EX_WITH_DLID_PATH_BITS)
677 if (cq_attr->wc_flags & IBV_WC_EX_WITH_COMPLETION_TIMESTAMP)
H A Dmlx4.h388 struct ibv_cq_init_attr_ex *cq_attr);
389 void mlx4_cq_fill_pfns(struct mlx4_cq *cq, const struct ibv_cq_init_attr_ex *cq_attr);
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c143 struct ib_cq_init_attr cq_attr = {}; local
165 cq_attr.cqe = size;
166 priv->recv_cq = ib_create_cq(priv->ca, ipoib_ib_completion, NULL, priv, &cq_attr);
172 cq_attr.cqe = ipoib_sendq_size;
174 priv, &cq_attr);
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_cq.c92 struct ib_cq_init_attr cq_attr = { local
111 cq = dev->create_cq(dev, &cq_attr, NULL, NULL);
H A Dib_verbs.c1361 const struct ib_cq_init_attr *cq_attr)
1365 cq = device->create_cq(device, cq_attr, NULL, NULL);
1357 ib_create_cq(struct ib_device *device, ib_comp_handler comp_handler, void (*event_handler)(struct ib_event *, void *), void *cq_context, const struct ib_cq_init_attr *cq_attr) argument
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Ddevice.c157 struct ibv_cq_init_attr_ex *cq_attr)
162 if (cq_attr->wc_flags & ~IBV_CREATE_CQ_SUP_WC_FLAGS) {
167 cq = vctx->priv->create_cq_ex(context, cq_attr);
171 cq_attr->channel, cq_attr->cq_context);
156 __lib_ibv_create_cq_ex(struct ibv_context *context, struct ibv_cq_init_attr_ex *cq_attr) argument
H A Dcmd.c491 struct ibv_cq_init_attr_ex *cq_attr,
506 if (cq_attr->comp_mask & ~(IBV_CQ_INIT_ATTR_MASK_RESERVED - 1))
510 cmd->cqe = cq_attr->cqe;
511 cmd->comp_vector = cq_attr->comp_vector;
512 cmd->comp_channel = cq_attr->channel ? cq_attr->channel->fd : -1;
517 if ((cq_attr->comp_mask & IBV_CQ_INIT_ATTR_MASK_FLAGS) &&
518 (cq_attr->flags & ~(IBV_CREATE_CQ_ATTR_RESERVED - 1)))
521 if (cq_attr->wc_flags & IBV_WC_EX_WITH_COMPLETION_TIMESTAMP)
490 ibv_cmd_create_cq_ex(struct ibv_context *context, struct ibv_cq_init_attr_ex *cq_attr, struct ibv_cq_ex *cq, struct ibv_create_cq_ex *cmd, size_t cmd_core_size, size_t cmd_size, struct ibv_create_cq_resp_ex *resp, size_t resp_core_size, size_t resp_size) argument
H A Ddriver.h191 struct ibv_cq_init_attr_ex *cq_attr,
H A Dverbs.h1842 * @cq_attr - Attributes to create the CQ with
1846 struct ibv_cq_init_attr_ex *cq_attr)
1855 if (cq_attr->comp_mask & ~(IBV_CQ_INIT_ATTR_MASK_RESERVED - 1)) {
1860 return vctx->create_cq_ex(context, cq_attr);
1845 ibv_create_cq_ex(struct ibv_context *context, struct ibv_cq_init_attr_ex *cq_attr) argument
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dib_verbs_compat.h338 const struct ib_cq_init_attr cq_attr = {.cqe = cqe,.comp_vector = comp_vector}; local
340 return (ib_create_cq(device, comp_handler, event_handler, cq_context, &cq_attr));
349 struct ib_cq_attr *cq_attr,
353 return (ib_modify_cq(cq, cq_attr->moderation.cq_count,
354 cq_attr->moderation.cq_period));
348 ib_modify_cq_compat(struct ib_cq *cq, struct ib_cq_attr *cq_attr, int cq_attr_mask) argument
H A Dib_verbs.h2838 * @cq_attr: The attributes the CQ should be created upon.
2846 const struct ib_cq_init_attr *cq_attr);
/freebsd-11-stable/contrib/ofed/libmlx5/
H A Dverbs.c343 const struct ibv_cq_init_attr_ex *cq_attr,
356 if (!cq_attr->cqe) {
362 if (cq_attr->comp_mask & ~CREATE_CQ_SUPPORTED_COMP_MASK) {
369 if (cq_attr->comp_mask & IBV_CQ_INIT_ATTR_MASK_FLAGS &&
370 cq_attr->flags & ~CREATE_CQ_SUPPORTED_FLAGS) {
377 if (cq_attr->wc_flags & ~CREATE_CQ_SUPPORTED_WC_FLAGS) {
395 ncqe = align_queue_size(cq_attr->cqe + 1);
396 if ((ncqe > (1 << 24)) || (ncqe < (cq_attr->cqe + 1))) {
426 if (cq_attr->comp_mask & IBV_CQ_INIT_ATTR_MASK_FLAGS &&
427 cq_attr
342 create_cq(struct ibv_context *context, const struct ibv_cq_init_attr_ex *cq_attr, int cq_alloc_flags, struct mlx5dv_cq_init_attr *mlx5cq_attr) argument
496 struct ibv_cq_init_attr_ex cq_attr = {.cqe = cqe, .channel = channel, local
509 mlx5_create_cq_ex(struct ibv_context *context, struct ibv_cq_init_attr_ex *cq_attr) argument
515 mlx5dv_create_cq(struct ibv_context *context, struct ibv_cq_init_attr_ex *cq_attr, struct mlx5dv_cq_init_attr *mlx5_cq_attr) argument
[all...]
H A Dcq.c1243 void mlx5_cq_fill_pfns(struct mlx5_cq *cq, const struct ibv_cq_init_attr_ex *cq_attr) argument
1259 if (cq_attr->wc_flags & IBV_WC_EX_WITH_BYTE_LEN)
1261 if (cq_attr->wc_flags & IBV_WC_EX_WITH_IMM)
1263 if (cq_attr->wc_flags & IBV_WC_EX_WITH_QP_NUM)
1265 if (cq_attr->wc_flags & IBV_WC_EX_WITH_SRC_QP)
1267 if (cq_attr->wc_flags & IBV_WC_EX_WITH_SLID)
1269 if (cq_attr->wc_flags & IBV_WC_EX_WITH_SL)
1271 if (cq_attr->wc_flags & IBV_WC_EX_WITH_DLID_PATH_BITS)
1273 if (cq_attr->wc_flags & IBV_WC_EX_WITH_COMPLETION_TIMESTAMP)
1275 if (cq_attr
[all...]
H A Dmlx5.h598 struct ibv_cq_init_attr_ex *cq_attr);
599 void mlx5_cq_fill_pfns(struct mlx5_cq *cq, const struct ibv_cq_init_attr_ex *cq_attr);
H A Dmlx5dv.h97 struct ibv_cq_init_attr_ex *cq_attr,
/freebsd-11-stable/sys/dev/iser/
H A Diser_verbs.c231 struct ib_cq_init_attr cq_attr = { local
241 &cq_attr);
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mad.c1948 struct ib_cq_init_attr cq_attr = {}; local
1977 cq_attr.cqe = cq_size;
1979 NULL, ctx, &cq_attr);
H A Dmlx4_ib_main.c1261 struct ib_cq_init_attr cq_attr = {}; local
1281 cq_attr.cqe = 1;
1282 xrcd->cq = ib_create_cq(ibdev, NULL, NULL, xrcd, &cq_attr);
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c2712 struct ib_cq_init_attr cq_attr = {.cqe = 1}; local
2729 devr->c0 = mlx5_ib_create_cq(&dev->ib_dev, &cq_attr, NULL, NULL);

Completed in 200 milliseconds