diff options
author | Wenpeng Liang <liangwenpeng@huawei.com> | 2022-08-22 18:44:52 +0800 |
---|---|---|
committer | Leon Romanovsky <leonro@nvidia.com> | 2022-08-23 11:35:05 +0300 |
commit | e198d65d76e9232afb92fee5c3b361bfa411859d (patch) | |
tree | 44a8ecd5f931d877b9a176e32e45f76edecede16 /Documentation | |
parent | RDMA/hns: Support CQ's restrack raw ops for hns driver (diff) | |
download | linux-dev-e198d65d76e9232afb92fee5c3b361bfa411859d.tar.xz linux-dev-e198d65d76e9232afb92fee5c3b361bfa411859d.zip |
RDMA/hns: Support QP's restrack ops for hns driver
The QP restrack attributes come from the queue information maintained by
the driver.
For example:
$ rdma res show qp link hns_0 lqpn 41 -jp -dd
[ {
"ifindex": 4,
"ifname": "hns_0",
"port": 1,
"lqpn": 41,
"rqpn": 40,
"type": "RC",
"state": "RTR",
"rq-psn": 12474738,
"sq-psn": 0,
"path-mig-state": "ARMED",
"pdn": 9,
"pid": 1523,
"comm": "ib_send_bw"
},
"drv_sq_wqe_cnt": 128,
"drv_sq_max_gs": 1,
"drv_rq_wqe_cnt": 512,
"drv_rq_max_gs": 2,
"drv_ext_sge_sge_cnt": 0
}
Link: https://lore.kernel.org/r/20220822104455.2311053-5-liangwenpeng@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions