mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 06:04:44 +01:00
Utilize the -dd flag (driver-specific details) in the rdmatool to view driver-specific QPs which are not exposed yet. Add the netlink attribute to mark request to convey driver details and use it to return QP subtype as a string. $ rdma resource show qp link ibp8s0f1 link ibp8s0f1/1 lqpn 360 type UD state RTS sq-psn 0 comm [mlx5_ib] link ibp8s0f1/1 lqpn 0 type SMI state RTS sq-psn 0 comm [ib_core] link ibp8s0f1/1 lqpn 1 type GSI state RTS sq-psn 0 comm [ib_core] $ rdma resource show qp link ibp8s0f1 -dd link ibp8s0f1/1 lqpn 360 type UD state RTS sq-psn 0 comm [mlx5_ib] link ibp8s0f1/1 lqpn 465 type DRIVER subtype REG_UMR state RTS sq-psn 0 comm [mlx5_ib] link ibp8s0f1/1 lqpn 0 type SMI state RTS sq-psn 0 comm [ib_core] link ibp8s0f1/1 lqpn 1 type GSI state RTS sq-psn 0 comm [ib_core] $ rdma resource show 0: ibp8s0f0: pd 3 cq 4 qp 3 cm_id 0 mr 0 ctx 0 srq 2 1: ibp8s0f1: pd 3 cq 4 qp 3 cm_id 0 mr 0 ctx 0 srq 2 $ rdma resource show -dd 0: ibp8s0f0: pd 3 cq 4 qp 4 cm_id 0 mr 0 ctx 0 srq 2 1: ibp8s0f1: pd 3 cq 4 qp 4 cm_id 0 mr 0 ctx 0 srq 2 Signed-off-by: Chiara Meiohas <cmeiohas@nvidia.com> Link: https://lore.kernel.org/r/2607bb3ddec3cae3443c2ea19e9f700825d20a98.1713268997.git.leon@kernel.org Signed-off-by: Leon Romanovsky <leon@kernel.org> |
||
|---|---|---|
| .. | ||
| hfi | ||
| bnxt_re-abi.h | ||
| cxgb4-abi.h | ||
| efa-abi.h | ||
| erdma-abi.h | ||
| hns-abi.h | ||
| ib_user_ioctl_cmds.h | ||
| ib_user_ioctl_verbs.h | ||
| ib_user_mad.h | ||
| ib_user_sa.h | ||
| ib_user_verbs.h | ||
| irdma-abi.h | ||
| mana-abi.h | ||
| mlx4-abi.h | ||
| mlx5-abi.h | ||
| mlx5_user_ioctl_cmds.h | ||
| mlx5_user_ioctl_verbs.h | ||
| mthca-abi.h | ||
| ocrdma-abi.h | ||
| qedr-abi.h | ||
| rdma_netlink.h | ||
| rdma_user_cm.h | ||
| rdma_user_ioctl.h | ||
| rdma_user_ioctl_cmds.h | ||
| rdma_user_rxe.h | ||
| rvt-abi.h | ||
| siw-abi.h | ||
| vmw_pvrdma-abi.h | ||