1mlx5dv_modify_qp_lag_port(3) mlx5dv_modify_qp_lag_port(3)
2
3
4
6 mlx5dv_modify_qp_lag_port - Modify the lag port information of a given
7 QP
8
10 #include <infiniband/mlx5dv.h>
11
12 int mlx5dv_modify_qp_lag_port(struct ibv_qp *qp, uint8_t port_num);
13
15 This API enables modifying the configured port num of a given QP.
16
17 If the QP state is modified later, the port num may be implicitly re-
18 configured.
19
20 Use query mlx5dv_query_qp_lag_port to check the configured and active
21 port num values.
22
24 qp The ibv_qp object to issue the action on.
25
26 port_num
27 The port_num to set for the QP.
28
30 0 on success; EOPNOTSUPP if not in LAG mode, or other errno value on
31 other failures.
32
34 mlx5dv_query_qp_lag_port(3)
35
37 Aharon Landau <aharonl@mellanox.com>
38
39
40
41 mlx5dv_modify_qp_lag_port(3)