/drivers/infiniband/hw/mlx5/ |
D | cq.c | 597 int nent, int cqe_size) in alloc_cq_buf() argument 601 err = mlx5_buf_alloc(dev->mdev, nent * cqe_size, &buf->buf); in alloc_cq_buf() 605 buf->cqe_size = cqe_size; in alloc_cq_buf() 614 int *cqe_size, int *index, int *inlen) in create_cq_user() argument 635 if (ucmd.cqe_size != 64 && ucmd.cqe_size != 128) in create_cq_user() 638 *cqe_size = ucmd.cqe_size; in create_cq_user() 641 entries * ucmd.cqe_size, in create_cq_user() 656 ucmd.buf_addr, entries * ucmd.cqe_size, npages, page_shift, ncont); in create_cq_user() 692 cqe = get_cqe_from_buf(buf, i, buf->cqe_size); in init_cq_buf() 693 cqe64 = buf->cqe_size == 64 ? cqe : cqe + 64; in init_cq_buf() [all …]
|
D | user.h | 93 __u32 cqe_size; member 104 __u16 cqe_size; member
|
D | mlx5_ib.h | 238 int cqe_size; member 286 int cqe_size; member
|
/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 144 *umem = ib_umem_get(context, buf_addr, cqe * cqe_size, in mlx4_ib_get_cq_umem() 354 int cqe_size = cq->buf.entry_size; in mlx4_ib_cq_resize_copy_cqes() local 355 int cqe_inc = cqe_size == 64 ? 1 : 0; in mlx4_ib_cq_resize_copy_cqes() 364 memcpy(new_cqe, get_cqe(cq, i & cq->ibcq.cqe), cqe_size); in mlx4_ib_cq_resize_copy_cqes()
|
D | user.h | 66 __u32 cqe_size; member
|
D | main.c | 925 resp.cqe_size = dev->dev->caps.cqe_size; in mlx4_ib_alloc_ucontext()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | fw.h | 204 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 | 414 cqe = mlx4_en_get_cqe(buf, index, priv->cqe_size) + factor; in mlx4_en_process_tx_cq() 467 cqe = mlx4_en_get_cqe(buf, index, priv->cqe_size) + factor; in mlx4_en_process_tx_cq()
|
D | en_rx.c | 795 cqe = mlx4_en_get_cqe(cq->buf, index, priv->cqe_size) + factor; in mlx4_en_process_rx_cq() 1034 cqe = mlx4_en_get_cqe(cq->buf, index, priv->cqe_size) + factor; in mlx4_en_process_rx_cq()
|
D | fw.c | 1786 dev->caps.cqe_size = 64; in mlx4_INIT_HCA() 1789 dev->caps.cqe_size = 32; in mlx4_INIT_HCA() 1796 dev->caps.cqe_size = cache_line_size(); in mlx4_INIT_HCA() 2013 param->cqe_size = 1 << ((byte_field & in mlx4_QUERY_HCA()
|
D | mlx4_en.h | 547 int cqe_size; member
|
D | en_netdev.c | 1591 cqe = mlx4_en_get_cqe(cq->buf, j, priv->cqe_size) + in mlx4_en_start_port() 2902 priv->cqe_factor = (mdev->dev->caps.cqe_size == 64) ? 1 : 0; in mlx4_en_init_netdev() 2903 priv->cqe_size = mdev->dev->caps.cqe_size; in mlx4_en_init_netdev()
|
D | main.c | 921 dev->caps.cqe_size = 64; in mlx4_slave_cap() 924 dev->caps.cqe_size = 32; in mlx4_slave_cap() 933 dev->caps.cqe_size = hca_param.cqe_size; in mlx4_slave_cap()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.c | 1787 u32 hw_pages, cqe_size, page_size, cqe_count; in ocrdma_mbx_create_cq() local 1800 cqe_size = OCRDMA_DPP_CQE_SIZE; in ocrdma_mbx_create_cq() 1805 cqe_size = sizeof(struct ocrdma_cqe); in ocrdma_mbx_create_cq() 1809 cq->len = roundup(max_hw_cqe * cqe_size, OCRDMA_MIN_Q_PAGE_SIZE); in ocrdma_mbx_create_cq() 1830 cqe_count = cq->len / cqe_size; in ocrdma_mbx_create_cq() 1859 cmd->cmd.pdid_cqecnt = (cq->len / cqe_size); in ocrdma_mbx_create_cq() 1861 cmd->cmd.pdid_cqecnt = (cq->len / cqe_size) - 1; in ocrdma_mbx_create_cq()
|
/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() 1140 ep->qp.cqe_size = hba->max_cqes; in bnx2i_alloc_qp_resc() 2084 if (qp->cqe_exp_seq_sn == (qp->cqe_size * 2 + 1)) in bnx2i_process_new_cqes()
|
/drivers/scsi/lpfc/ |
D | lpfc_sli4.h | 411 uint32_t cqe_size; member
|
D | lpfc_init.c | 9413 sli4_params->cqe_size = bf_get(cqe_size, &mqe->un.sli4_params); in lpfc_pc_sli4_params_get()
|