table of contents
mlx5dv_modify_qp_lag_port(3) | mlx5dv_modify_qp_lag_port(3) |
NAME¶
mlx5dv_modify_qp_lag_port - Modify the lag port information of a given QP
SYNOPSIS¶
-
#include <infiniband/mlx5dv.h> int mlx5dv_modify_qp_lag_port(struct ibv_qp *qp, uint8_t port_num);
DESCRIPTION¶
This API enables modifying the configured port num of a given QP.
If the QP state is modified later, the port num may be implicitly re-configured.
Use query mlx5dv_query_qp_lag_port to check the configured and active port num values.
ARGUMENTS¶
RETURN VALUE¶
0 on success; EOPNOTSUPP if not in LAG mode, or other errno value on other failures.
SEE ALSO¶
AUTHOR¶
Aharon Landau <aharonl@mellanox.com>