.\" Automatically generated by Pandoc 2.18
.\"
.\" Define V font for inline verbatim, using C font in formats
.\" that render this, and otherwise B font.
.ie "\f[CB]x\f[]"x" \{\
. ftr V B
. ftr VI BI
. ftr VB B
. ftr VBI BI
.\}
.el \{\
. ftr V CR
. ftr VI CI
. ftr VB CB
. ftr VBI CBI
.\}
.TH "mlx5dv_modify_qp_sched_elem" "3" "2020-9-22" "mlx5" "mlx5 Programmer\[cq]s Manual"
.hy
.SH NAME
.PP
mlx5dv_modify_qp_sched_elem - Connect a QP with a requestor and/or a
responder scheduling element
.SH SYNOPSIS
.IP
.nf
\f[C]
int mlx5dv_modify_qp_sched_elem(struct ibv_qp *qp,
                struct mlx5dv_sched_leaf *requestor,
                struct mlx5dv_sched_leaf *responder);
\f[R]
.fi
.SH DESCRIPTION
.PP
The QP scheduling element (SE) allows the association of a QP to a SE
tree.
The SE is described in \f[I]mlx5dv_sched_node_create(3)\f[R] man page.
.PP
By default, all QPs are not associated to SE.
The default setting is ensuring fair bandwidth allocation with no
maximum bandwidth limiting.
.PP
A QP can be associate to a requestor and/or a responder SE following the
IB spec definition.
.SH RETURN VALUE
.PP
upon success 0 is returned or the value of errno on a failure.
.SH SEE ALSO
.PP
\f[B]mlx5dv_sched_node_create\f[R](3)
.SH AUTHOR
.PP
Mark Zhang <markzhang@nvidia.com> Ariel Almog <ariela@nvidia.com>
