Searched refs:xrc (Results 1 – 13 of 13) sorted by relevance
81 attr.ext.xrc.xrcd = (struct ib_xrcd *)xrcd_uobj->object; in UVERBS_HANDLER()82 if (!attr.ext.xrc.xrcd) in UVERBS_HANDLER()131 &srq->ext.xrc.srq_num, in UVERBS_HANDLER()132 sizeof(srq->ext.xrc.srq_num)); in UVERBS_HANDLER()
1034 srq->ext.xrc.xrcd = srq_init_attr->ext.xrc.xrcd; in ib_create_srq_user()1035 if (srq->ext.xrc.xrcd) in ib_create_srq_user()1036 atomic_inc(&srq->ext.xrc.xrcd->usecnt); in ib_create_srq_user()1047 if (srq->srq_type == IB_SRQT_XRC && srq->ext.xrc.xrcd) in ib_create_srq_user()1048 atomic_dec(&srq->ext.xrc.xrcd->usecnt); in ib_create_srq_user()1091 if (srq->srq_type == IB_SRQT_XRC && srq->ext.xrc.xrcd) in ib_destroy_srq_user()1092 atomic_dec(&srq->ext.xrc.xrcd->usecnt); in ib_destroy_srq_user()
3388 attr.ext.xrc.xrcd = (struct ib_xrcd *)xrcd_uobj->object; in __uverbs_create_xsrq()3389 if (!attr.ext.xrc.xrcd) { in __uverbs_create_xsrq()3435 resp.srqn = srq->ext.xrc.srq_num; in __uverbs_create_xsrq()
263 if (init_attr->srq_type == IB_SRQT_XRC && init_attr->ext.xrc.xrcd) in mlx5_ib_create_srq()264 in.xrcd = to_mxrcd(init_attr->ext.xrc.xrcd)->xrcdn; in mlx5_ib_create_srq()297 srq->ibsrq.ext.xrc.srq_num = srq->msrq.srqn; in mlx5_ib_create_srq()
1058 struct mlx5_wqe_xrc_seg *xrc; in mlx5_ib_post_send() local1124 xrc = seg; in mlx5_ib_post_send()1125 seg += sizeof(*xrc); in mlx5_ib_post_send()1126 size += sizeof(*xrc) / 16; in mlx5_ib_post_send()
920 if (MLX5_CAP_GEN(mdev, xrc)) in mlx5_ib_query_device()3003 if (!MLX5_CAP_GEN(dev->mdev, xrc)) in mlx5_ib_dev_res_init()4221 if (MLX5_CAP_GEN(mdev, xrc)) in mlx5_ib_stage_caps_init()
2773 if (!MLX5_CAP_GEN(dev->mdev, xrc)) in check_qp_type()5129 if (!MLX5_CAP_GEN(dev->mdev, xrc)) in mlx5_ib_alloc_xrcd()
183 to_mxrcd(init_attr->ext.xrc.xrcd)->xrcdn : in mlx4_ib_create_srq()191 srq->ibsrq.ext.xrc.srq_num = srq->msrq.srqn; in mlx4_ib_create_srq()
325 to_hr_xrcd(init_attr->ext.xrc.xrcd)->xrcdn : 0; in set_srq_ext_param()
1081 } xrc; member1639 } xrc; member
2727 int xrc = (ts == MLX4_QP_ST_XRC) ? 1 : 0; in qp_get_mtt_size() local2736 rq_size = (srq|rss|xrc) ? 0 : (1 << (log_rq_size + log_rq_stride + 4)); in qp_get_mtt_size()
1613 struct qedr_xrcd *xrcd = get_qedr_xrcd(init_attr->ext.xrc.xrcd); in qedr_create_srq()
1817 u8 xrc[0x1]; member