diff options
author | Wenpeng Liang <[email protected]> | 2022-08-22 18:44:50 +0800 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2022-08-23 11:34:51 +0300 |
commit | eb00b9a08b9dbb0aad7c59d113f35206c7ac2eac (patch) | |
tree | 151a72cd9791267e5a543cd67313bc4ab84dea33 /scripts/bpf_doc.py | |
parent | 40b4b79c866ffc1414a3989cc480263e76f28589 (diff) |
RDMA/hns: Add or remove CQ's restrack attributes
Remove the resttrack attributes from the queue context held by ROCEE, and
add the resttrack attributes from the queue information maintained by the
driver.
For example:
$ rdma res show cq dev hns_0 cqn 14 -dd -jp
[ {
"ifindex": 4,
"ifname": "hns_0",
"cqn": 14,
"cqe": 127,
"users": 1,
"adaptive-moderation": false,
"ctxn": 8,
"pid": 1524,
"comm": "ib_send_bw"
},
"drv_cq_depth": 128,
"drv_cons_index": 0,
"drv_cqe_size": 32,
"drv_arm_sn": 1
}
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wenpeng Liang <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions