diff options
author | wenglianfa <wenglianfa@huawei.com> | 2023-09-18 15:11:09 +0200 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-09-20 09:50:54 +0200 |
commit | aebf8145e11a29a77dac15ee041a190676fac05f (patch) | |
tree | 83893f982b7f4030b800b3e786174042a84305bc /include/rdma/signature.h | |
parent | RDMA/core: Add dedicated SRQ resource tracker function (diff) | |
download | linux-aebf8145e11a29a77dac15ee041a190676fac05f.tar.xz linux-aebf8145e11a29a77dac15ee041a190676fac05f.zip |
RDMA/core: Add support to dump SRQ resource in RAW format
Add support to dump SRQ resource in raw format. It enable drivers to
return the entire device specific SRQ context without setting each
field separately.
Example:
$ rdma res show srq -r
dev hns3 149000...
$ rdma res show srq -j -r
[{"ifindex":0,"ifname":"hns3","data":[149,0,0,...]}]
Signed-off-by: wenglianfa <wenglianfa@huawei.com>
Link: https://lore.kernel.org/r/20230918131110.3987498-3-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/rdma/signature.h')
0 files changed, 0 insertions, 0 deletions