On Tue, Oct 10, 2023 at 03:55:26PM +0800, Junxian Huang wrote: > From: wenglianfa <wenglianfa@xxxxxxxxxx> > > 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@xxxxxxxxxx> > --- > rdma/res-srq.c | 20 ++++++++++++++++++-- > rdma/res.h | 2 ++ > 2 files changed, 20 insertions(+), 2 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>