diff options
author | wenglianfa <wenglianfa@huawei.com> | 2023-09-18 21:11:10 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-09-20 10:51:45 +0300 |
commit | 58c49c097fbf5ad77fd367ad500339c36d284c23 (patch) | |
tree | c7f5aadba51db6df97d18cb55463df951786d4c4 /mm | |
parent | aebf8145e11a29a77dac15ee041a190676fac05f (diff) | |
download | linux-stable-58c49c097fbf5ad77fd367ad500339c36d284c23.tar.gz linux-stable-58c49c097fbf5ad77fd367ad500339c36d284c23.tar.bz2 linux-stable-58c49c097fbf5ad77fd367ad500339c36d284c23.zip |
RDMA/hns: Support SRQ restrack ops for hns driver
The SRQ restrack attributes come from the context maintained by ROCEE.
Example:
$ rdma res show srq -jp -dd
[ {
"ifindex": 0,
"ifname": "hns_0",
"srqn": 0,
"type": "BASIC",
"lqpn": [ "14-15","22-23" ],
"pdn": 2,
"pid": 1224,
"comm": "ib_send_bw",{
"drv_srqn": 0,
"drv_wqe_cnt": 512,
"drv_max_gs": 2,
"drv_xrcdn": 0
}
} ]
$ rdma res show srq link hns_0 -jpr
[ {
"ifindex": 0,
"ifname": "hns_0",
"data": [ 149,0,0,0,0,0,0,0,0,0,0,0,119,101,120,99,0,
46,62,31,0,0,0,0,3,0,0,1,0,58,62,31,0,0,0,0,
30,159,15,0,0,0,64,5,0,0,0,0,0,0,0,0,0,0,0,
9,0,0,0,0,0,0,0,0 ]
} ]
Signed-off-by: wenglianfa <wenglianfa@huawei.com>
Link: https://lore.kernel.org/r/20230918131110.3987498-4-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions