diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-11-17 09:01:48 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-11-27 11:38:46 -0400 |
commit | 66f57b871efc576dfe8117b65af4e805e03ea689 (patch) | |
tree | 3ce474e835d5839377360844eaca24f02dc06225 /usr | |
parent | 2b1f747071c5ce5ad571d80c1541b732cf07f9c1 (diff) | |
download | lwn-66f57b871efc576dfe8117b65af4e805e03ea689.tar.gz lwn-66f57b871efc576dfe8117b65af4e805e03ea689.zip |
RDMA/restrack: Support all QP types
The latest changes in restrack name handling allowed to simplify the QP
creation code to support all types of QPs.
For example XRC QP are presented with rdmatool.
$ ibv_xsrq_pingpong &
$ rdma res show qp
link ibp0s9/1 lqpn 0 type SMI state RTS sq-psn 0 comm [ib_core]
link ibp0s9/1 lqpn 1 type GSI state RTS sq-psn 0 comm [ib_core]
link ibp0s9/1 lqpn 7 type UD state RTS sq-psn 0 comm [mlx5_ib]
link ibp0s9/1 lqpn 42 type XRC_TGT state INIT sq-psn 0 path-mig-state MIGRATED comm [ib_uverbs]
link ibp0s9/1 lqpn 43 type XRC_INI state INIT sq-psn 0 path-mig-state MIGRATED pdn 197 pid 419 comm ibv_xsrq_pingpong
Link: https://lore.kernel.org/r/20201117070148.1974114-4-leon@kernel.org
Reviewed-by: Mark Zhang <markz@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions