Home
last modified time | relevance | path

Searched refs:xrc (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/infiniband/core/
H A Duverbs_std_types_srq.c81 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()
H A Dverbs.c1034 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()
H A Duverbs_cmd.c3388 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()
/linux/drivers/infiniband/hw/mlx5/
H A Dsrq.c263 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()
H A Dwr.c1058 struct mlx5_wqe_xrc_seg *xrc; in mlx5_ib_post_send() local
1124 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()
H A Dmain.c920 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()
H A Dqp.c2773 if (!MLX5_CAP_GEN(dev->mdev, xrc)) in check_qp_type()
5129 if (!MLX5_CAP_GEN(dev->mdev, xrc)) in mlx5_ib_alloc_xrcd()
/linux/drivers/infiniband/hw/mlx4/
H A Dsrq.c183 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()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_srq.c325 to_hr_xrcd(init_attr->ext.xrc.xrcd)->xrcdn : 0; in set_srq_ext_param()
/linux/include/rdma/
H A Dib_verbs.h1081 } xrc; member
1639 } xrc; member
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c2727 int xrc = (ts == MLX4_QP_ST_XRC) ? 1 : 0; in qp_get_mtt_size() local
2736 rq_size = (srq|rss|xrc) ? 0 : (1 << (log_rq_size + log_rq_stride + 4)); in qp_get_mtt_size()
/linux/drivers/infiniband/hw/qedr/
H A Dverbs.c1613 struct qedr_xrcd *xrcd = get_qedr_xrcd(init_attr->ext.xrc.xrcd); in qedr_create_srq()
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h1817 u8 xrc[0x1]; member