/freebsd-13-stable/contrib/ofed/libmlx4/ |
H A D | verbs.c | 405 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 D | cq.c | 648 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 D | mlx4.h | 388 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-13-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_verbs.c | 145 struct ib_cq_init_attr cq_attr = {}; local 167 cq_attr.cqe = size; 168 priv->recv_cq = ib_create_cq(priv->ca, ipoib_ib_completion, NULL, priv, &cq_attr); 174 cq_attr.cqe = ipoib_sendq_size; 176 priv, &cq_attr);
|
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_cq.c | 92 struct ib_cq_init_attr cq_attr = { local 111 cq = dev->create_cq(dev, &cq_attr, NULL, NULL);
|
H A D | ib_verbs.c | 1361 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-13-stable/contrib/ofed/libibverbs/ |
H A D | device.c | 157 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 D | cmd.c | 491 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 D | driver.h | 191 struct ibv_cq_init_attr_ex *cq_attr,
|
H A D | verbs.h | 1842 * @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-13-stable/contrib/ofed/libmlx5/ |
H A D | verbs.c | 343 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 D | cq.c | 1243 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 D | mlx5.h | 598 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 D | mlx5dv.h | 97 struct ibv_cq_init_attr_ex *cq_attr,
|
/freebsd-13-stable/sys/dev/iser/ |
H A D | iser_verbs.c | 231 struct ib_cq_init_attr cq_attr = { local 241 &cq_attr);
|
/freebsd-13-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mad.c | 1948 struct ib_cq_init_attr cq_attr = {}; local 1977 cq_attr.cqe = cq_size; 1979 NULL, ctx, &cq_attr);
|
H A D | mlx4_ib_main.c | 1261 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-13-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_main.c | 2855 struct ib_cq_init_attr cq_attr = {.cqe = 1}; local 2872 devr->c0 = mlx5_ib_create_cq(&dev->ib_dev, &cq_attr, NULL, NULL);
|
/freebsd-13-stable/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 2830 * @cq_attr: The attributes the CQ should be created upon. 2838 const struct ib_cq_init_attr *cq_attr);
|