Sponsor:

Your company here, and a link to your site. Click to find out more.

mlx5dv_modify_qp_sched_elem - Man Page

Connect a QP with a requestor and/or a responder scheduling element

Synopsis

int mlx5dv_modify_qp_sched_elem(struct ibv_qp *qp,
                struct mlx5dv_sched_leaf *requestor,
                struct mlx5dv_sched_leaf *responder);

Description

The QP scheduling element (SE) allows the association of a QP to a SE tree. The SE is described in mlx5dv_sched_node_create(3) man page.

By default, all QPs are not associated to SE. The default setting is ensuring fair bandwidth allocation with no maximum bandwidth limiting.

A QP can be associate to a requestor and/or a responder SE following the IB spec definition.

Return Value

upon success 0 is returned or the value of errno on a failure.

See Also

mlx5dv_sched_node_create(3)

Author

Mark Zhang <markzhang@nvidia.com> Ariel Almog <ariela@nvidia.com>

Referenced By

mlx5dv_sched_node_create(3).

2020-9-22 mlx5 Programmer’s Manual