---
name: "mlx5dv_modify_qp_sched_elem"
section: "3"
platform: "linux"
package: "rdma-core"
version: "65.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/mlx5dv_modify_qp_sched_elem"
---

# mlx5dv\_modify\_qp\_sched\_elem(3)

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

## NAME

mlx5dv\_modify\_qp\_sched\_elem - 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)](/mlx5dv_sched_node_create/3.md)* 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)](/mlx5dv_sched_node_create/3.md)

## AUTHOR

Mark Zhang ⟨markzhang@nvidia.com⟩\\c  Ariel Almog ⟨ariela@nvidia.com⟩\\c
