/Linux-v4.19/drivers/infiniband/hw/mlx5/ |
D | cq.c | 729 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 …]
|
D | mlx5_ib.h | 439 int cqe_size; member 501 int cqe_size; member
|
/Linux-v4.19/drivers/infiniband/hw/mlx4/ |
D | cq.c | 104 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()
|
D | main.c | 1100 resp.cqe_size = dev->dev->caps.cqe_size; in mlx4_ib_alloc_ucontext()
|
/Linux-v4.19/include/uapi/rdma/ |
D | mlx5-abi.h | 268 __u32 cqe_size; member 281 __u16 cqe_size; member
|
D | mlx4-abi.h | 71 __u32 cqe_size; member
|
/Linux-v4.19/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_qp.c | 326 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/ |
D | fw.h | 202 u16 cqe_size; /* For use only when CQE stride feature enabled */ member
|
D | en_cq.c | 65 cq->buf_size = cq->size * mdev->dev->caps.cqe_size; in mlx4_en_create_cq()
|
D | en_tx.c | 416 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()
|
D | en_rx.c | 682 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()
|
D | mlx4_en.h | 577 int cqe_size; member
|
D | fw.c | 1938 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()
|
D | en_netdev.c | 1661 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()
|
D | main.c | 1050 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/ |
D | ocrdma_hw.c | 1793 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/ |
D | bnx2i.h | 661 u32 cqe_size; member
|
D | bnx2i_hwi.c | 171 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/ |
D | lpfc_sli4.h | 473 uint32_t cqe_size; member
|
D | lpfc_init.c | 10559 sli4_params->cqe_size = bf_get(cqe_size, &mqe->un.sli4_params); in lpfc_pc_sli4_params_get()
|
/Linux-v4.19/include/linux/mlx4/ |
D | device.h | 618 u32 cqe_size; member
|