mlx5dv_modify_qp_lag_port(3)
β¨ mlx5dv_modify_qp_lag_port(3) β¨
okay bestie, so this one lives in the mlx5dv_modify_qp_lag_port section 3 club π
and it's literally about changing the lag port info on a QP. yes, that QP. let's get into it π«Ά
πΈ 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 π¦
So this API is the moment where you get to modify the configured port num of a given QP. like, that's the whole vibe π«
One thing tho, bestie, listen up: if the QP state gets modified later on, the port num may be implicitly re-configured. so don't come for me when it changes on its own, that's just how it is π
If you wanna check the configured and active port num values, use query mlx5dv_query_qp_lag_port. it's giving "trust but verify" π
π ARGUMENTS π
qpβ theibv_qpobject you're issuing the action on. the main character of this call πport_numβ theport_numyou wanna set for the QP. that's it, that's the value π―
β RETURN VALUE β
0on success β slay β¨EOPNOTSUPPif you're not in LAG mode β sorry babe, wrong vibe check π- or any other
errnovalue on other failures. no cap, other stuff can go wrong too π
π SEE ALSO π
mlx5dv_query_qp_lag_port(3)β the one you check stuff with, iykyk
π§ AUTHOR π§
Aharon Landau <aharonl@mellanox.com> β iconic honestly π
and that's the whole page, bestie! this lil gem comes from the mlx5dv_modify_qp_lag_port(3) source, and the date on the original footer is the same as the header date β so go forth and modify those lag ports responsibly π
π¦ where this page comes from
- alpine 3.24: rdma-core-doc 61.0-r0 Β· GPL-2.0-only OR BSD-2-Clause
- centos-stream 10: rdma-core-devel 62.0-3.el10 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- centos-stream 9: rdma-core-devel 61.0-3.el9 Β· GPLv2 or BSD
- ubuntu jammy: libibverbs-dev 39.0-1 Β· BSD-MIT OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms