Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dcq.c729 int cqe_size) in alloc_cq_frag_buf() argument
736 MLX5_SET(cqc, cqc_buff, log_cq_size, ilog2(cqe_size)); in alloc_cq_frag_buf()
737 MLX5_SET(cqc, cqc_buff, cqe_sz, (cqe_size == 128) ? 1 : 0); in alloc_cq_frag_buf()
742 nent * cqe_size, in alloc_cq_frag_buf()
748 buf->cqe_size = cqe_size; in alloc_cq_frag_buf()
779 int *cqe_size, int *index, int *inlen) in create_cq_user() argument
800 if (ucmd.cqe_size != 64 && ucmd.cqe_size != 128) in create_cq_user()
803 *cqe_size = ucmd.cqe_size; in create_cq_user()
806 entries * ucmd.cqe_size, in create_cq_user()
821 ucmd.buf_addr, entries * ucmd.cqe_size, npages, page_shift, ncont); in create_cq_user()
[all …]
Dmlx5_ib.h439 int cqe_size; member
501 int cqe_size; member
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dcq.c104 err = mlx4_buf_alloc(dev->dev, nent * dev->dev->caps.cqe_size, in mlx4_ib_alloc_cq_buf()
110 buf->entry_size = dev->dev->caps.cqe_size; in mlx4_ib_alloc_cq_buf()
142 int cqe_size = dev->dev->caps.cqe_size; in mlx4_ib_get_cq_umem() local
146 *umem = ib_umem_get(context, buf_addr, cqe * cqe_size, in mlx4_ib_get_cq_umem()
360 int cqe_size = cq->buf.entry_size; in mlx4_ib_cq_resize_copy_cqes() local
361 int cqe_inc = cqe_size == 64 ? 1 : 0; in mlx4_ib_cq_resize_copy_cqes()
370 memcpy(new_cqe, get_cqe(cq, i & cq->ibcq.cqe), cqe_size); in mlx4_ib_cq_resize_copy_cqes()
Dmain.c1100 resp.cqe_size = dev->dev->caps.cqe_size; in mlx4_ib_alloc_ucontext()
/Linux-v4.19/include/uapi/rdma/
Dmlx5-abi.h268 __u32 cqe_size; member
281 __u16 cqe_size; member
Dmlx4-abi.h71 __u32 cqe_size; member
/Linux-v4.19/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_qp.c326 size_t cqe_dma_size, cqe_size; in alloc_rq_cqe() local
330 cqe_size = wq->q_depth * sizeof(*rq->cqe); in alloc_rq_cqe()
331 rq->cqe = vzalloc(cqe_size); in alloc_rq_cqe()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dfw.h202 u16 cqe_size; /* For use only when CQE stride feature enabled */ member
Den_cq.c65 cq->buf_size = cq->size * mdev->dev->caps.cqe_size; in mlx4_en_create_cq()
Den_tx.c416 cqe = mlx4_en_get_cqe(buf, index, priv->cqe_size) + factor; in mlx4_en_process_tx_cq()
470 cqe = mlx4_en_get_cqe(buf, index, priv->cqe_size) + factor; in mlx4_en_process_tx_cq()
Den_rx.c682 cqe = mlx4_en_get_cqe(cq->buf, index, priv->cqe_size) + factor; in mlx4_en_process_rx_cq()
884 cqe = mlx4_en_get_cqe(cq->buf, index, priv->cqe_size) + factor; in mlx4_en_process_rx_cq()
Dmlx4_en.h577 int cqe_size; member
Dfw.c1938 dev->caps.cqe_size = 64; in mlx4_INIT_HCA()
1941 dev->caps.cqe_size = 32; in mlx4_INIT_HCA()
1948 dev->caps.cqe_size = cache_line_size(); in mlx4_INIT_HCA()
2158 param->cqe_size = 1 << ((byte_field & in mlx4_QUERY_HCA()
Den_netdev.c1661 cqe = mlx4_en_get_cqe(cq->buf, j, priv->cqe_size) + in mlx4_en_start_port()
3320 priv->cqe_factor = (mdev->dev->caps.cqe_size == 64) ? 1 : 0; in mlx4_en_init_netdev()
3321 priv->cqe_size = mdev->dev->caps.cqe_size; in mlx4_en_init_netdev()
Dmain.c1050 dev->caps.cqe_size = 64; in mlx4_slave_cap()
1053 dev->caps.cqe_size = 32; in mlx4_slave_cap()
1062 dev->caps.cqe_size = hca_param->cqe_size; in mlx4_slave_cap()
/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c1793 u32 hw_pages, cqe_size, page_size, cqe_count; in ocrdma_mbx_create_cq() local
1806 cqe_size = OCRDMA_DPP_CQE_SIZE; in ocrdma_mbx_create_cq()
1811 cqe_size = sizeof(struct ocrdma_cqe); in ocrdma_mbx_create_cq()
1815 cq->len = roundup(max_hw_cqe * cqe_size, OCRDMA_MIN_Q_PAGE_SIZE); in ocrdma_mbx_create_cq()
1835 cqe_count = cq->len / cqe_size; in ocrdma_mbx_create_cq()
1864 cmd->cmd.pdid_cqecnt = (cq->len / cqe_size); in ocrdma_mbx_create_cq()
1866 cmd->cmd.pdid_cqecnt = (cq->len / cqe_size) - 1; in ocrdma_mbx_create_cq()
/Linux-v4.19/drivers/scsi/bnx2i/
Dbnx2i.h661 u32 cqe_size; member
Dbnx2i_hwi.c171 if (cq_index > ep->qp.cqe_size * 2) in bnx2i_arm_cq_event_coalescing()
172 cq_index -= ep->qp.cqe_size * 2; in bnx2i_arm_cq_event_coalescing()
1125 ep->qp.cqe_size = hba->max_cqes; in bnx2i_alloc_qp_resc()
2069 if (qp->cqe_exp_seq_sn == (qp->cqe_size * 2 + 1)) in bnx2i_process_new_cqes()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_sli4.h473 uint32_t cqe_size; member
Dlpfc_init.c10559 sli4_params->cqe_size = bf_get(cqe_size, &mqe->un.sli4_params); in lpfc_pc_sli4_params_get()
/Linux-v4.19/include/linux/mlx4/
Ddevice.h618 u32 cqe_size; member