Re: [PATCH v2 iproute2-next 2/2] rdma: Add support to dump SRQ resource in raw format

Leon Romanovsky
2023-10-15T08:16:01Z

On Tue, Oct 10, 2023 at 03:55:26PM +0800, Junxian Huang wrote:
> From: wenglianfa <wenglianfa@huawei.com>
>
> Add support to dump SRQ resource in raw format.
>
> This patch relies on the corresponding kernel commit aebf8145e11a
> ("RDMA/core: Add support to dump SRQ resource in RAW format")
>
> 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>
> ---
> rdma/res-srq.c | 20 ++++++++++++++++++--
> rdma/res.h | 2 ++
> 2 files changed, 20 insertions(+), 2 deletions(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>