/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_cma.c | 67 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 D | ib_user_verbs.h | 192 __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 D | kern-abi.h | 228 __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 D | cmd.c | 82 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 D | verbs.h | 155 int max_sge; member 644 uint32_t max_sge; member 696 uint32_t max_sge; member
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_srq.c | 91 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 D | verbs.c | 633 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 D | ib_verbs.c | 1265 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 D | qplib_fp.h | 89 u32 max_sge; member 303 u16 max_sge; member
|
H A D | qplib_fp.c | 943 (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 D | mthca_srq.c | 210 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 D | rdmavt_qp.h | 202 u8 max_sge; member 466 rq->max_sge * sizeof(struct ib_sge)) * n); in rvt_get_rwqe_ptr()
|
H A D | ib_verbs.h | 301 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 D | srq.c | 250 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 D | mlx4.c | 242 context->max_sge = dev_attrs.orig_attr.max_sge; in mlx4_init_context()
|
H A D | verbs.c | 655 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 D | mlx4.h | 143 int max_sge; member
|
/freebsd/contrib/ofed/librdmacm/examples/ |
H A D | rdma_xserver.c | 57 attr.attr.max_sge = 1; in create_srq()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_cmd.c | 337 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 D | ocs_pci.c | 921 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 D | mlx5_ib_srq.c | 261 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 D | qlnxr_verbs.c | 347 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 D | fbsd_kcompat.h | 61 ((props)->max_sge = (rf)->sc_dev.hw_attrs.uk_attrs.max_hw_wq_frags)
|
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_cm.c | 1352 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 D | ecore_roce_api.h | 100 u8 max_sge; /* The maximum number of scatter/gather entries member
|