mlx5dv_devx_qp_modify3
Modifies a verbs qp via devx mlx5dv_devx_qp_query - queries a verbs qp via devx mlx5dv_devx_cq_modify - modifies a verbs cq via devx mlx5dv_devx_cq_query - queries a verbs cq via devx mlx5dv_devx_srq_modify - modifies a verbs srq via devx mlx5dv_devx_srq_query - queries a verbs srq via devx mlx5dv_devx_wq_modify - modifies a verbs wq via devx mlx5dv_devx_wq_query - queries a verbs wq via devx mlx5dv_devx_ind_tbl_modify - modifies a verbs indirection table via devx mlx5dv_devx_ind_tbl_query - queries a verbs indirection table via devx
Overview
Modify / query a verb object over the DEVX interface.
The DEVX API enables direct access from the user space area to the mlx5 device driver by using the KABI mechanism. The main purpose is to make the user space driver as independent as possible from the kernel so that future device functionality and commands can be activated with minimal to none kernel changes.
The above APIs enables modifying/querying a verb object via the DEVX interface. This enables interoperability between verbs and DEVX. As such an application can use the create method from verbs (e.g. ibv_create_qp) and modify and query the created object via DEVX (e.g. mlx5dv_devx_qp_modify).
Arguments
- qp/cq/wq/srq/ind_tbl
-
The ibv_xxx object to issue the action on.
- in
-
A buffer which contains the command’s input data provided in a device specification format.
- inlen
-
The size of in buffer in bytes.
- out
-
A buffer which contains the command’s output data according to the device specification format.
- outlen
-
The size of out buffer in bytes.
Return value
Upon success 0 is returned or the value of errno on a failure.
If the error value is EREMOTEIO, outbox.status outbox.syndrome will contain the command failure details.
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)