Home
last modified time | relevance | path

Searched refs:cqe_size (Results 1 – 22 of 22) sorted by relevance

/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_cq.c730 int nent, int cqe_size) in alloc_cq_buf() argument
734 err = mlx5_buf_alloc(dev->mdev, nent * cqe_size, in alloc_cq_buf()
739 buf->cqe_size = cqe_size; in alloc_cq_buf()
747 int *cqe_size, int *index, int *inlen) in create_cq_user() argument
770 if (ucmd.cqe_size != 64 && ucmd.cqe_size != 128) in create_cq_user()
773 *cqe_size = ucmd.cqe_size; in create_cq_user()
776 entries * ucmd.cqe_size, in create_cq_user()
854 create_cq_kernel(struct mlx5_ib_dev * dev,struct mlx5_ib_cq * cq,int entries,int cqe_size,u32 ** cqb,int * index,int * inlen) create_cq_kernel() argument
929 int cqe_size; mlx5_ib_create_cq() local
1114 resize_user(struct mlx5_ib_dev * dev,struct mlx5_ib_cq * cq,int entries,struct ib_udata * udata,int * npas,int * page_shift,int * cqe_size) resize_user() argument
1156 resize_kernel(struct mlx5_ib_dev * dev,struct mlx5_ib_cq * cq,int entries,int cqe_size) resize_kernel() argument
[all...]
H A Dmlx5_ib.h424 int cqe_size; member
481 int cqe_size; member
/freebsd/contrib/ofed/libmlx4/
H A Dmlx4.c170 context->cqe_size = sizeof (struct mlx4_cqe); in mlx4_init_context()
179 context->cqe_size = resp.cqe_size; in mlx4_init_context()
181 context->cqe_size = sizeof (struct mlx4_cqe); in mlx4_init_context()
H A Dcq.c99 return cq->buf.buf + entry * cq->cqe_size; in get_cqe()
105 struct mlx4_cqe *tcqe = cq->cqe_size == 64 ? cqe + 1 : cqe; in get_sw_cqe()
212 if (cq->cqe_size == 64) in mlx4_get_next_cqe()
720 int cqe_inc = cq->cqe_size == 64 ? 1 : 0; in __mlx4_cq_clean()
791 int cqe_inc = cq->cqe_size == 64 ? 1 : 0; in mlx4_cq_resize_copy_cqes()
800 memcpy(buf + ((i + 1) & cq->ibv_cq.cqe) * cq->cqe_size, in mlx4_cq_resize_copy_cqes()
801 cqe - cqe_inc, cq->cqe_size); in mlx4_cq_resize_copy_cqes()
H A Dmlx4-abi.h64 __u32 cqe_size; member
H A Dmlx4.h147 int cqe_size; member
187 int cqe_size; member
H A Dverbs.c499 if (mlx4_alloc_cq_buf(to_mdev(context->device), &cq->buf, cq_attr->cqe, mctx->cqe_size)) in create_cq()
502 cq->cqe_size = mctx->cqe_size; in create_cq()
604 ret = mlx4_alloc_cq_buf(to_mdev(ibcq->context->device), &buf, cqe, cq->cqe_size); in mlx4_resize_cq()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_cq.c106 err = mlx4_buf_alloc(dev->dev, nent * dev->dev->caps.cqe_size, in mlx4_ib_alloc_cq_buf()
112 buf->entry_size = dev->dev->caps.cqe_size; in mlx4_ib_alloc_cq_buf()
144 int cqe_size = dev->dev->caps.cqe_size; in mlx4_ib_get_cq_umem() local
148 *umem = ib_umem_get(&context->ibucontext, buf_addr, cqe * cqe_size, in mlx4_ib_get_cq_umem()
347 int cqe_size = cq->buf.entry_size; in mlx4_ib_cq_resize_copy_cqes() local
348 int cqe_inc = cqe_size == 64 ? 1 : 0; in mlx4_ib_cq_resize_copy_cqes()
357 memcpy(new_cqe, get_cqe(cq, i & cq->ibcq.cqe), cqe_size); in mlx4_ib_cq_resize_copy_cqes()
H A Dmlx4_ib_main.c1064 resp.cqe_size = dev->dev->caps.cqe_size; in mlx4_ib_alloc_ucontext()
/freebsd/sys/ofed/include/uapi/rdma/
H A Dmlx5-abi.h163 __u32 cqe_size; member
175 __u16 cqe_size; member
H A Dmlx4-abi.h72 __u32 cqe_size; member
/freebsd/contrib/ofed/libmlx5/
H A Dmlx5-abi.h121 __u32 cqe_size; member
248 __u16 cqe_size; member
H A Dmlx5dv.h132 uint32_t cqe_size; member
H A Dmlx5.c685 cq_out->cqe_size = mcq->cqe_sz; in mlx5dv_get_cq()
H A Dverbs.c431 cmd.cqe_size = cqe_sz; in create_cq()
583 cmd.cqe_size = cq->resize_cqe_sz; in mlx5_resize_cq()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dfw.h205 u16 cqe_size; /* For use only when CQE stride feature enabled */ member
H A Dmlx4_fw.c1928 dev->caps.cqe_size = 64; in mlx4_INIT_HCA()
1931 dev->caps.cqe_size = 32; in mlx4_INIT_HCA()
1940 dev->caps.cqe_size = cache_line_size(); in mlx4_INIT_HCA()
2144 param->cqe_size = 1 << ((byte_field & in mlx4_QUERY_HCA()
H A Dmlx4_main.c969 dev->caps.cqe_size = 64; in mlx4_slave_cap()
972 dev->caps.cqe_size = 32; in mlx4_slave_cap()
981 dev->caps.cqe_size = hca_param.cqe_size; in mlx4_slave_cap()
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_cq.c71 cq->buf_size = cq->size * mdev->dev->caps.cqe_size; in mlx4_en_create_cq()
H A Dmlx4_en_netdev.c2198 priv->cqe_factor = (mdev->dev->caps.cqe_size == 64) ? 1 : 0; in mlx4_en_init_netdev()
/freebsd/sys/dev/mlx4/
H A Ddevice.h613 u32 cqe_size; member
/freebsd/sys/dev/ocs_fc/
H A Dsli4.h1613 cqe_size:2,