/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper-fpa.c | 115 * @param wqe_size Should always be CVMX_FPA_WQE_POOL_SIZE 136 int wqe_pool, int wqe_size, int wqe_entries, 159 status = __cvmx_helper_initialize_fpa_pool(wqe_pool, wqe_size, wqe_entries, 135 __cvmx_helper_initialize_fpa(int pip_pool, int pip_size, int pip_buffers, int wqe_pool, int wqe_size, int wqe_entries, int pko_pool, int pko_size, int pko_buffers, int tim_pool, int tim_size, int tim_buffers, int dfa_pool, int dfa_size, int dfa_buffers) argument
|
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | rdma_common.h | 317 u8 wqe_size /* Size of WQE in 16B chunks including SGE */; member in struct:rdma_sq_atomic_wqe 349 u8 wqe_size /* Size of WQE in 16B chunks including all SGEs. Set to number of SGEs + 1. */; member in struct:rdma_sq_atomic_wqe_1st 393 u8 wqe_size /* Size of WQE in 16B chunks */; member in struct:rdma_sq_bind_wqe 444 u8 wqe_size /* Size of WQE in 16B chunks */; member in struct:rdma_sq_bind_wqe_1st 502 u8 wqe_size /* Size of WQE in 16B chunks including all SGEs or inline data. In case there are SGEs: set to number of SGEs + 1. In case of inline data: set to the whole number of 16B which contain the inline data + 1. */; member in struct:rdma_sq_common_wqe 527 u8 wqe_size /* Size of WQE in 16B chunks */; member in struct:rdma_sq_fmr_wqe 605 u8 wqe_size /* Size of WQE in 16B chunks */; member in struct:rdma_sq_fmr_wqe_1st 694 u8 wqe_size /* Size of WQE in 16B chunks */; member in struct:rdma_sq_local_inv_wqe 722 u8 wqe_size /* Size of WQE in 16B chunks including all SGEs or inline data. In case there are SGEs: set to number of SGEs + 1. In case of inline data: set to the whole number of 16B which contain the inline data + 1. */; member in struct:rdma_sq_rdma_wqe 765 u8 wqe_size /* Siz member in struct:rdma_sq_rdma_wqe_1st 832 u8 wqe_size /* Size of WQE in 16B chunks including all SGEs or inline data. In case there are SGEs: set to number of SGEs + 1. In case of inline data: set to the whole number of 16B which contain the inline data + 1. */; member in struct:rdma_sq_send_wqe 857 u8 wqe_size /* Size of WQE in 16B chunks including all SGEs or inline data. In case there are SGEs: set to number of SGEs + 1. In case of inline data: set to the whole number of 16B which contain the inline data + 1. */; member in struct:rdma_sq_send_wqe_1st [all...] |
/freebsd-11-stable/contrib/ofed/libmlx5/ |
H A D | verbs.c | 870 int wqe_size; local 877 wqe_size = mlx5_calc_send_wqe(ctx, attr, qp); 878 if (wqe_size < 0) { 880 return wqe_size; 883 if (wqe_size > ctx->max_sq_desc_sz) { 888 qp->max_inline_data = wqe_size - sq_overhead(attr->qp_type) - 901 wq_size = mlx5_round_up_power_of_two(attr->cap.max_send_wr * wqe_size); 910 qp->sq.max_post = wq_size / wqe_size; 919 size_t wqe_size; local 929 wqe_size 953 int wqe_size; local [all...] |
/freebsd-11-stable/contrib/ofed/libmlx4/ |
H A D | qp.c | 707 int wqe_size; local 709 wqe_size = (1 << qp->sq.wqe_shift) - sizeof (struct mlx4_wqe_ctrl_seg); 712 wqe_size -= sizeof (struct mlx4_wqe_datagram_seg); 718 wqe_size -= sizeof (struct mlx4_wqe_raddr_seg); 725 qp->sq.max_gs = wqe_size / sizeof (struct mlx4_wqe_data_seg); 733 * taking into account the fact that wqe_size will be 32 mod 736 qp->max_inline_data = wqe_size - 738 (align(wqe_size, MLX4_INLINE_ALIGN) / MLX4_INLINE_ALIGN);
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_qp.c | 235 int wqe_size; local 255 wqe_size = qp->wq_sig ? sizeof(struct mlx5_wqe_signature_seg) : 0; 256 wqe_size += cap->max_recv_sge * sizeof(struct mlx5_wqe_data_seg); 257 wqe_size = roundup_pow_of_two(wqe_size); 258 wq_size = roundup_pow_of_two(cap->max_recv_wr) * wqe_size; 260 qp->rq.wqe_cnt = wq_size / wqe_size; 261 if (wqe_size > MLX5_CAP_GEN(dev->mdev, max_wqe_sz_rq)) { 262 mlx5_ib_dbg(dev, "wqe_size %d, max %d\n", 263 wqe_size, 349 get_send_sge(struct ib_qp_init_attr *attr, int wqe_size) argument 375 int wqe_size; local 3455 int wqe_size; local [all...] |
/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | kern-abi.h | 987 __u32 wqe_size; member in struct:ibv_post_send 1009 __u32 wqe_size; member in struct:ibv_post_recv 1025 __u32 wqe_size; member in struct:ibv_post_srq_recv
|
H A D | cmd.c | 1395 cmd->wqe_size = sizeof *n; 1485 cmd->wqe_size = sizeof *n; 1546 cmd->wqe_size = sizeof *n;
|
/freebsd-11-stable/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 756 __u32 wqe_size; member in struct:ib_uverbs_post_send 775 __u32 wqe_size; member in struct:ib_uverbs_post_recv 788 __u32 wqe_size; member in struct:ib_uverbs_post_srq_recv
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_cmd.c | 2547 if (in_len < sizeof cmd + cmd.wqe_size * cmd.wr_count + 2551 if (cmd.wqe_size < sizeof (struct ib_uverbs_send_wr)) 2554 user_wr = kmalloc(cmd.wqe_size, GFP_KERNEL); 2567 buf + sizeof cmd + i * cmd.wqe_size, 2568 cmd.wqe_size)) { 2676 cmd.wr_count * cmd.wqe_size + 2721 u32 wqe_size) 2729 if (in_len < wqe_size * wr_count + 2733 if (wqe_size < sizeof (struct ib_uverbs_recv_wr)) 2736 user_wr = kmalloc(wqe_size, GFP_KERNE 2717 ib_uverbs_unmarshall_recv(const char __user *buf, int in_len, u32 wr_count, u32 sge_count, u32 wqe_size) argument [all...] |
/freebsd-11-stable/sys/dev/ocs_fc/ |
H A D | ocs_hw.c | 1243 ocs_free(hw->os, hw->wqe_buffs, hw->config.n_io * hw->sli.config.wqe_size); 3656 sli_abort_wqe(&wq->hw->sli, wqe->wqebuf, wq->hw->sli.config.wqe_size, SLI_ABORT_XRI, 3704 sli_abort_wqe(&wq->hw->sli, wqe->wqebuf, wq->hw->sli.config.wqe_size, SLI_ABORT_XRI, 3763 if (sli_fcp_cont_treceive64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, &io->def_sgl, 3774 if (sli_fcp_treceive64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, &io->def_sgl, 3896 if ( (!send) || sli_els_request64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, io->sgl, 3905 if ( (!send) || sli_xmit_els_rsp64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, send, len, 3914 if ( (!send) || sli_xmit_els_rsp64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, send, len, 3923 if ( (!send) || sli_gen_request64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, io->sgl, len, 3932 if ( (!send) || sli_xmit_sequence64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, i [all...] |
H A D | sli4.c | 3785 sli4->config.wqe_size = SLI4_WQE_EXT_BYTES; 3787 sli4->config.wqe_size = SLI4_WQE_BYTES; 4468 size = sli4->config.wqe_size; 5869 n_wqe = qmem->size / sli4->config.wqe_size; 5908 if (sli4->config.wqe_size == SLI4_WQE_EXT_BYTES) { 5909 wq->wqe_size = SLI4_WQE_EXT_SIZE; 5911 wq->wqe_size = SLI4_WQE_SIZE; 7024 if (app_id && (sli4->config.wqe_size == SLI4_WQE_EXT_BYTES) && !trecv->eat) { 7168 if (app_id && (sli4->config.wqe_size == SLI4_WQE_EXT_BYTES) && !trsp->eat) { 7304 if (app_id && (sli4->config.wqe_size [all...] |
H A D | sli4.h | 3236 size_t wqe_size; member in struct:sli4_s::__anon7705 3775 wqe_size:4, member in struct:sli4_req_fcoe_wq_create_v1_s
|
/freebsd-11-stable/sys/dev/bnxt/ |
H A D | hsi_struct_def.h | 3624 uint8_t wqe_size; member in struct:sq_send 3675 * on the wqe_size field. When inline=1, this area is filled with 3708 uint8_t wqe_size; member in struct:sq_send_raweth_qp1 3839 * on the wqe_size field. When inline=1, this area is filled with 3888 uint8_t wqe_size; member in struct:sq_rdma 3916 * on the wqe_size field. When inline=1, this area is filled with 4293 uint8_t wqe_size; member in struct:rq_wqe 4298 * wqe_size field, the actual WQE size is fixed at 128B. 4316 * as defined by the wqe_size field. [all...] |