Home
last modified time | relevance | path

Searched refs:max_sge (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_cma.c67 max_sges = device_attr->max_sge; in sdp_get_max_dev_sge()
91 ssk->max_sge = sdp_get_max_dev_sge(device); in sdp_init_qp()
92 sdp_dbg(sk, "Max sges: %d\n", ssk->max_sge); in sdp_init_qp()
94 qp_init_attr.cap.max_send_sge = MIN(ssk->max_sge, SDP_MAX_SEND_SGES); in sdp_init_qp()
98 qp_init_attr.cap.max_recv_sge = MIN(ssk->max_sge, SDP_MAX_RECV_SGES); in sdp_init_qp()
/freebsd/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h192 __u32 max_sge; member
260 __u32 max_sge; member
1170 __u32 max_sge; member
1181 __u32 max_sge; member
1192 __u32 max_sge; member
1214 __u32 max_sge; member
1236 __u32 max_sge; member
1246 __u32 max_sge; member
/freebsd/contrib/ofed/libibverbs/
H A Dkern-abi.h228 __u32 max_sge; member
1103 __u32 max_sge; member
1117 __u32 max_sge; member
1128 __u32 max_sge; member
1155 __u32 max_sge; member
1246 __u32 max_sge; member
1279 __u32 max_sge; member
1289 __u32 max_sge; member
H A Dcmd.c82 device_attr->max_sge = resp->max_sge; in copy_query_dev_fields()
649 cmd->max_sge = attr->attr.max_sge; in ibv_cmd_create_srq()
662 attr->attr.max_sge = resp->max_sge; in ibv_cmd_create_srq()
695 cmd->max_sge = attr_ex->attr.max_sge; in ibv_cmd_create_srq_ex()
752 attr_ex->attr.max_sge = resp->max_sge; in ibv_cmd_create_srq_ex()
783 cmd->max_sge = 0; in ibv_cmd_modify_srq_v3()
829 srq_attr->max_sge = resp.max_sge; in ibv_cmd_query_srq()
2013 cmd->max_sge = wq_init_attr->max_sge; in ibv_cmd_create_wq()
2037 wq_init_attr->max_sge = resp->max_sge; in ibv_cmd_create_wq()
H A Dverbs.h155 int max_sge; member
644 uint32_t max_sge; member
696 uint32_t max_sge; member
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_srq.c91 init_attr->attr.max_sge > dev->dev->caps.max_srq_sge) in mlx4_ib_create_srq()
97 srq->msrq.max_gs = init_attr->attr.max_sge; in mlx4_ib_create_srq()
263 srq_attr->max_sge = srq->msrq.max_gs; in mlx4_ib_query_srq()
/freebsd/contrib/ofed/libmlx5/
H A Dverbs.c633 int max_sge; in mlx5_create_srq() local
662 max_sge = ctx->max_rq_desc_sz / sizeof(struct mlx5_wqe_data_seg); in mlx5_create_srq()
663 if (attr->attr.max_sge > max_sge) { in mlx5_create_srq()
671 srq->max_gs = attr->attr.max_sge; in mlx5_create_srq()
693 attr->attr.max_sge = srq->max_gs; in mlx5_create_srq()
944 num_scatter = max_t(uint32_t, attr->max_sge, 1); in mlx5_calc_rwq_size()
1828 int max_sge; in mlx5_create_xrc_srq() local
1860 max_sge = ctx->max_recv_wr / sizeof(struct mlx5_wqe_data_seg); in mlx5_create_xrc_srq()
1861 if (attr->attr.max_sge > max_sg in mlx5_create_xrc_srq()
[all...]
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dib_verbs.c1265 srq->qplib_srq.max_sge = srq_init_attr->attr.max_sge; in bnxt_re_create_srq()
1368 srq_attr->max_sge = srq->qplib_srq.max_sge; in bnxt_re_query_srq()
1616 sq->wqe_size = bnxt_re_get_swqe_size(ilsize, sq->max_sge); in bnxt_re_setup_swqe_size()
1631 sq->max_sge = qplqp->max_inline_data / in bnxt_re_setup_swqe_size()
1860 qp->qplib_qp.sq.max_sge = 2; in bnxt_re_create_shadow_qp()
1871 qp->qplib_qp.rq.max_sge = qp1_qp->rq.max_sge; in bnxt_re_create_shadow_qp()
1931 rq->max_sge = init_attr->cap.max_recv_sge; in bnxt_re_init_rq_attr()
1932 if (rq->max_sge > dev_attr->max_qp_sges) in bnxt_re_init_rq_attr()
1933 rq->max_sge = dev_attr->max_qp_sges; in bnxt_re_init_rq_attr()
1934 init_attr->cap.max_recv_sge = rq->max_sge; in bnxt_re_init_rq_attr()
[all …]
H A Dqplib_fp.h89 u32 max_sge; member
303 u16 max_sge; member
H A Dqplib_fp.c943 (sq->max_sge & in bnxt_qplib_create_qp1()
967 (rq->max_sge & in bnxt_qplib_create_qp1()
1135 BNXT_MSN_TBLE_SGE : sq->max_sge & in bnxt_qplib_create_qp()
1159 res->dattr->max_qp_sges : rq->max_sge; in bnxt_qplib_create_qp()
1462 req.sq_sge = cpu_to_le16(qp->sq.max_sge); in bnxt_qplib_modify_qp()
1463 req.rq_sge = cpu_to_le16(qp->rq.max_sge); in bnxt_qplib_modify_qp()
1577 qp->sq.max_sge = le16_to_cpu(sb->sq_sge); in bnxt_qplib_query_qp()
1578 qp->rq.max_sge = le16_to_cpu(sb->rq_sge); in bnxt_qplib_query_qp()
/freebsd/sys/dev/mthca/
H A Dmthca_srq.c210 attr->max_sge > dev->limits.max_srq_sge) in mthca_alloc_srq()
214 srq->max_gs = attr->max_sge; in mthca_alloc_srq()
292 attr->max_sge = srq->max_gs; in mthca_alloc_srq()
416 srq_attr->max_sge = srq->max_gs; in mthca_query_srq()
/freebsd/sys/ofed/include/rdma/
H A Drdmavt_qp.h202 u8 max_sge; member
466 rq->max_sge * sizeof(struct ib_sge)) * n); in rvt_get_rwqe_ptr()
H A Dib_verbs.h301 u32 max_sge; member
347 int max_sge; member
941 u32 max_sge; member
1544 u32 max_sge; member
/freebsd/contrib/ofed/libmlx4/
H A Dsrq.c250 if (attr_ex->attr.max_wr > 1 << 16 || attr_ex->attr.max_sge > 64) in mlx4_create_xrc_srq()
261 srq->max_gs = attr_ex->attr.max_sge; in mlx4_create_xrc_srq()
H A Dmlx4.c242 context->max_sge = dev_attrs.orig_attr.max_sge; in mlx4_init_context()
H A Dverbs.c655 if (attr->attr.max_wr > 1 << 16 || attr->attr.max_sge > 64) in mlx4_create_srq()
666 srq->max_gs = attr->attr.max_sge; in mlx4_create_srq()
805 attr->cap.max_send_sge > ctx->max_sge || in mlx4_create_qp_ex()
806 attr->cap.max_recv_sge > ctx->max_sge) in mlx4_create_qp_ex()
H A Dmlx4.h143 int max_sge; member
/freebsd/contrib/ofed/librdmacm/examples/
H A Drdma_xserver.c57 attr.attr.max_sge = 1; in create_srq()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_cmd.c337 resp->max_sge = min(attr->max_send_sge, attr->max_recv_sge); in copy_query_dev_fields()
2933 wq_init_attr.max_sge = cmd.max_sge; in ib_uverbs_ex_create_wq()
2962 resp.max_sge = wq_init_attr.max_sge; in ib_uverbs_ex_create_wq()
3425 attr.attr.max_sge = cmd->max_sge; in __uverbs_create_xsrq()
3466 resp.max_sge = attr.attr.max_sge; in __uverbs_create_xsrq()
3526 xcmd.max_sge = cmd.max_sge; in ib_uverbs_create_srq()
3598 resp.max_sge = attr.max_sge; in ib_uverbs_query_srq()
3681 resp.tm_caps.max_sge = attr.tm_caps.max_sge; in ib_uverbs_ex_query_device()
4016 max_sge,
/freebsd/sys/dev/ocs_fc/
H A Docs_pci.c921 uint32_t max_sge = 0; in ocs_init_dma_tag() local
929 ocs_hw_get(&ocs->hw, OCS_HW_MAX_SGE, &max_sge); in ocs_init_dma_tag()
940 max_sge, /* segment length restrictions */ in ocs_init_dma_tag()
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_srq.c261 srq->msrq.max_gs = init_attr->attr.max_sge; in mlx5_ib_create_srq()
388 srq_attr->max_sge = srq->msrq.max_gs; in mlx5_ib_query_srq()
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_verbs.c347 srq_attr->max_sge = qattr->max_sge; in qlnxr_query_srq()
506 attr->max_sge = qattr->max_sge; in qlnxr_query_device()
507 attr->max_sge_rd = qattr->max_sge; in qlnxr_query_device()
1972 QL_DPRINT12(ha, "qattr->max_sge = 0x%x\n", qattr->max_sge); in qlnxr_check_qp_attrs()
2049 if (attrs->cap.max_send_sge > qattr->max_sge) { in qlnxr_check_qp_attrs()
2053 attrs->cap.max_send_sge, qattr->max_sge); in qlnxr_check_qp_attrs()
2056 if (attrs->cap.max_recv_sge > qattr->max_sge) { in qlnxr_check_qp_attrs()
2060 attrs->cap.max_recv_sge, qattr->max_sge); in qlnxr_check_qp_attrs()
2264 if (attrs->attr.max_sge > qattr->max_sge) { in qlnxr_check_srq_params()
2267 attrs->attr.max_sge, qattr->max_sge); in qlnxr_check_srq_params()
/freebsd/sys/dev/irdma/
H A Dfbsd_kcompat.h61 ((props)->max_sge = (rf)->sc_dev.hw_attrs.uk_attrs.max_hw_wq_frags)
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_cm.c1352 static void ipoib_cm_create_srq(struct ipoib_dev_priv *priv, int max_sge) in ipoib_cm_create_srq() argument
1357 .max_sge = max_sge in ipoib_cm_create_srq()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_roce_api.h100 u8 max_sge; /* The maximum number of scatter/gather entries member

12