Searched refs:wqe_size (Results 1 - 24 of 24) sorted by relevance

/freebsd-current/sys/dev/qlnx/qlnxe/
H A Drdma_common.h298 u8 wqe_size /* Size of WQE in 16B chunks including SGE */; member in struct:rdma_sq_atomic_wqe
329 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
370 u8 wqe_size /* Size of WQE in 16B chunks */; member in struct:rdma_sq_bind_wqe
420 u8 wqe_size /* Size of WQE in 16B chunks */; member in struct:rdma_sq_bind_wqe_1st
476 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
500 u8 wqe_size /* Size of WQE in 16B chunks */; member in struct:rdma_sq_fmr_wqe
577 u8 wqe_size /* Size of WQE in 16B chunks */; member in struct:rdma_sq_fmr_wqe_1st
663 u8 wqe_size /* Size of WQE in 16B chunks */; member in struct:rdma_sq_local_inv_wqe
690 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
732 u8 wqe_size /* Siz member in struct:rdma_sq_rdma_wqe_1st
796 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
820 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-current/contrib/ofed/libmlx5/
H A Dverbs.c886 int wqe_size; local
893 wqe_size = mlx5_calc_send_wqe(ctx, attr, qp);
894 if (wqe_size < 0) {
896 return wqe_size;
899 if (wqe_size > ctx->max_sq_desc_sz) {
904 qp->max_inline_data = wqe_size - sq_overhead(attr->qp_type) -
917 wq_size = mlx5_round_up_power_of_two(attr->cap.max_send_wr * wqe_size);
926 qp->sq.max_post = wq_size / wqe_size;
935 size_t wqe_size; local
945 wqe_size
969 int wqe_size; local
[all...]
/freebsd-current/contrib/ofed/libmlx4/
H A Dqp.c707 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-current/sys/dev/qlnx/qlnxr/
H A Dqlnxr_roce.h498 u8 wqe_size; member in struct:roce_sq_rdma_wqe
526 u8 wqe_size; member in struct:roce_sq_rdma_wqe_1st
576 u8 wqe_size; member in struct:roce_sq_send_wqe
H A Dqlnxr_verbs.c3937 u8 *wqe_size,
3982 (*wqe_size)++;
4013 u8 *wqe_size, const struct ib_send_wr *wr)
4032 if (wqe_size)
4033 *wqe_size += wr->num_sge;
4060 return qlnxr_prepare_sq_inline_data(dev, qp, &rwqe->wqe_size,
4064 ret = qlnxr_prepare_sq_sges(dev, qp, &rwqe->wqe_size, wr);
4091 return qlnxr_prepare_sq_inline_data(dev, qp, &swqe->wqe_size,
4095 ret = qlnxr_prepare_sq_sges(dev, qp, &swqe->wqe_size, wr);
4339 swqe->wqe_size
3935 qlnxr_prepare_sq_inline_data(struct qlnxr_dev *dev, struct qlnxr_qp *qp, u8 *wqe_size, const struct ib_send_wr *wr, const struct ib_send_wr **bad_wr, u8 *bits, u8 bit) argument
4012 qlnxr_prepare_sq_sges(struct qlnxr_dev *dev, struct qlnxr_qp *qp, u8 *wqe_size, const struct ib_send_wr *wr) argument
[all...]
H A Dqlnxr_def.h663 u8 wqe_size; member in struct:qlnxr_qp::__anon4425
674 uint8_t wqe_size; member in struct:qlnxr_qp::__anon4426
/freebsd-current/sys/dev/bnxt/bnxt_re/
H A Dqplib_fp.c656 hwq_attr.stride = srq->wqe_size;
787 memset(srqe, 0, srq->wqe_size);
788 /* Calculate wqe_size and data_len */
797 srqe->wqe_size = wqe->num_sge +
800 srqe->wqe_size++;
883 return (que->wqe_size * que->max_wqe) / stride;
902 return (que->wqe_size / sizeof(struct sq_sge));
1869 u16 wqe_size; local
1876 wqe_size = (ilsize > qp->max_inline_data) ?
1878 wqe_size
1943 u16 wqe_size; local
[all...]
H A Dqplib_fp.h87 u16 wqe_size; member in struct:bnxt_qplib_srq
304 u16 wqe_size; member in struct:bnxt_qplib_q
H A Dib_verbs.c1184 bytes = (qplib_srq->max_wqe * qplib_srq->wqe_size);
1263 srq->qplib_srq.wqe_size = _max_rwqe_sz(6); /* 128 byte wqe size */
1588 u16 wqe_size, calc_ils; local
1590 wqe_size = _get_swqe_sz(nsge);
1593 wqe_size = max_t(int, calc_ils, wqe_size);
1594 wqe_size = ALIGN(wqe_size, 32);
1596 return wqe_size;
1616 sq->wqe_size
[all...]
/freebsd-current/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_qp.c237 int wqe_size; local
257 wqe_size = qp->wq_sig ? sizeof(struct mlx5_wqe_signature_seg) : 0;
258 wqe_size += cap->max_recv_sge * sizeof(struct mlx5_wqe_data_seg);
259 wqe_size = roundup_pow_of_two(wqe_size);
260 wq_size = roundup_pow_of_two(cap->max_recv_wr) * wqe_size;
262 qp->rq.wqe_cnt = wq_size / wqe_size;
263 if (wqe_size > MLX5_CAP_GEN(dev->mdev, max_wqe_sz_rq)) {
264 mlx5_ib_dbg(dev, "wqe_size %d, max %d\n",
265 wqe_size,
351 get_send_sge(struct ib_qp_init_attr *attr, int wqe_size) argument
377 int wqe_size; local
3564 int wqe_size; local
[all...]
/freebsd-current/sys/dev/mana/
H A Dgdma_main.c1336 uint32_t wqe_size; local
1358 wqe_size = ALIGN(sizeof(struct gdma_wqe) + client_oob_size +
1360 if (wqe_size > max_wqe_size)
1363 if (wq->monitor_avl_buf && wqe_size > mana_gd_wq_avail_space(wq)) {
1370 wqe_info->wqe_size_in_bu = wqe_size / GDMA_WQE_BU_SIZE;
1380 wq->head += wqe_size / GDMA_WQE_BU_SIZE;
/freebsd-current/contrib/ofed/libibverbs/
H A Dkern-abi.h987 __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 Dcmd.c1474 cmd->wqe_size = sizeof *n;
1564 cmd->wqe_size = sizeof *n;
1625 cmd->wqe_size = sizeof *n;
/freebsd-current/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h834 __u32 wqe_size; member in struct:ib_uverbs_post_send
853 __u32 wqe_size; member in struct:ib_uverbs_post_recv
866 __u32 wqe_size; member in struct:ib_uverbs_post_srq_recv
/freebsd-current/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_cmd.c2019 wqes = uverbs_request_next_ptr(&iter, cmd.wqe_size * cmd.wr_count);
2030 user_wr = kmalloc(cmd.wqe_size, GFP_KERNEL);
2044 if (copy_from_user(user_wr, (const u8 *)wqes + i * cmd.wqe_size,
2045 cmd.wqe_size)) {
2196 u32 wqe_size, u32 sge_count)
2206 if (wqe_size < sizeof (struct ib_uverbs_recv_wr))
2209 wqes = uverbs_request_next_ptr(iter, wqe_size * wr_count);
2220 user_wr = kmalloc(wqe_size, GFP_KERNEL);
2227 if (copy_from_user(user_wr, (const char *)wqes + i * wqe_size,
2228 wqe_size)) {
2195 ib_uverbs_unmarshall_recv(struct uverbs_req_iter *iter, u32 wr_count, u32 wqe_size, u32 sge_count) argument
[all...]
/freebsd-current/sys/dev/irdma/
H A Dirdma_uk.c1800 * @wqe_size: size in bytes given frag_cnt
1803 irdma_fragcnt_to_wqesize_rq(u32 frag_cnt, u16 *wqe_size) argument
1808 *wqe_size = 32;
1812 *wqe_size = 64;
1818 *wqe_size = 128;
1827 *wqe_size = 256;
H A Dirdma_user.h563 int irdma_fragcnt_to_wqesize_rq(u32 frag_cnt, u16 *wqe_size);
H A Dirdma_ctrl.c436 u16 wqe_size; local
474 wqe_size = IRDMA_WQE_SIZE_128;
477 &wqe_size);
483 (wqe_size / IRDMA_QP_WQE_MIN_SIZE),
486 "hw_rq_size[%04d] qp_uk.rq_size[%04d] wqe_size[%04d]\n",
487 qp->hw_rq_size, qp->qp_uk.rq_size, wqe_size);
/freebsd-current/contrib/ofed/libirdma/
H A Dirdma_uk.c1882 * @wqe_size: size in bytes given frag_cnt
1885 irdma_fragcnt_to_wqesize_rq(u32 frag_cnt, u16 *wqe_size) argument
1890 *wqe_size = 32;
1894 *wqe_size = 64;
1900 *wqe_size = 128;
1909 *wqe_size = 256;
H A Dirdma_user.h462 int irdma_fragcnt_to_wqesize_rq(u32 frag_cnt, u16 *wqe_size);
/freebsd-current/sys/dev/ocs_fc/
H A Docs_hw.c1247 ocs_free(hw->os, hw->wqe_buffs, hw->config.n_io * hw->sli.config.wqe_size);
3650 sli_abort_wqe(&wq->hw->sli, wqe->wqebuf, wq->hw->sli.config.wqe_size, SLI_ABORT_XRI,
3698 sli_abort_wqe(&wq->hw->sli, wqe->wqebuf, wq->hw->sli.config.wqe_size, SLI_ABORT_XRI,
3757 if (sli_fcp_cont_treceive64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, &io->def_sgl,
3768 if (sli_fcp_treceive64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, &io->def_sgl,
3890 if ( (!send) || sli_els_request64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, io->sgl,
3899 if ( (!send) || sli_xmit_els_rsp64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, send, len,
3908 if ( (!send) || sli_xmit_els_rsp64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, send, len,
3917 if ( (!send) || sli_gen_request64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, io->sgl, len,
3926 if ( (!send) || sli_xmit_sequence64_wqe(&hw->sli, io->wqe.wqebuf, hw->sli.config.wqe_size, i
[all...]
H A Dsli4.c3891 sli4->config.wqe_size = SLI4_WQE_EXT_BYTES;
3893 sli4->config.wqe_size = SLI4_WQE_BYTES;
4586 size = sli4->config.wqe_size;
6015 n_wqe = qmem->size / sli4->config.wqe_size;
6054 if (sli4->config.wqe_size == SLI4_WQE_EXT_BYTES) {
6055 wq->wqe_size = SLI4_WQE_EXT_SIZE;
6057 wq->wqe_size = SLI4_WQE_SIZE;
7168 if (app_id && (sli4->config.wqe_size == SLI4_WQE_EXT_BYTES) && !trecv->eat) {
7312 if (app_id && (sli4->config.wqe_size == SLI4_WQE_EXT_BYTES) && !trsp->eat) {
7448 if (app_id && (sli4->config.wqe_size
[all...]
H A Dsli4.h3290 size_t wqe_size; member in struct:sli4_s::__anon99
3847 wqe_size:4, member in struct:sli4_req_fcoe_wq_create_v1_s
/freebsd-current/sys/dev/bnxt/bnxt_en/
H A Dhsi_struct_def.h77844 uint8_t wqe_size; member in struct:sq_send
77980 uint8_t wqe_size; member in struct:sq_send_hdr
78079 uint8_t wqe_size; member in struct:sq_send_raweth_qp1
78276 uint8_t wqe_size; member in struct:sq_send_raweth_qp1_hdr
78491 uint8_t wqe_size; member in struct:sq_rdma
78605 uint8_t wqe_size; member in struct:sq_rdma_hdr
80236 uint8_t wqe_size; member in struct:sq_msn_search_v3
80315 uint8_t wqe_size; member in struct:sq_send_v3
80445 uint8_t wqe_size; member in struct:sq_send_hdr_v3
80556 uint8_t wqe_size; member in struct:sq_rawqp1send_v3
80807 uint8_t wqe_size; member in struct:sq_rawqp1send_hdr_v3
81057 uint8_t wqe_size; member in struct:sq_udsend_v3
81209 uint8_t wqe_size; member in struct:sq_udsend_hdr_v3
81354 uint8_t wqe_size; member in struct:sq_rdma_v3
81489 uint8_t wqe_size; member in struct:sq_rdma_hdr_v3
81606 uint8_t wqe_size; member in struct:sq_atomic_v3
81726 uint8_t wqe_size; member in struct:sq_atomic_hdr_v3
81819 uint8_t wqe_size; member in struct:sq_localinvalidate_v3
81896 uint8_t wqe_size; member in struct:sq_localinvalidate_hdr_v3
82846 uint8_t wqe_size; member in struct:sq_change_udpsrcport_v3
82918 uint8_t wqe_size; member in struct:sq_change_udpsrcport_hdr_v3
82961 uint8_t wqe_size; member in struct:rq_wqe
83002 uint8_t wqe_size; member in struct:rq_wqe_hdr
83036 uint8_t wqe_size; member in struct:rq_wqe_v3
83068 uint8_t wqe_size; member in struct:rq_wqe_hdr_v3
[all...]

Completed in 1287 milliseconds