lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a80d2e67-11f2-5b13-f966-b9150df1e568@nvidia.com>
Date:   Tue, 19 Sep 2023 13:34:52 +0800
From:   Mark Zhang <markzhang@...dia.com>
To:     Junxian Huang <huangjunxian6@...ilicon.com>, jgg@...pe.ca,
        leon@...nel.org
Cc:     linux-rdma@...r.kernel.org, linuxarm@...wei.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH RFC] rdma: Add support to dump SRQ resource in raw format

On 9/18/2023 9:11 PM, Junxian Huang wrote:
> External email: Use caution opening links or attachments
> 
> 
> From: wenglianfa <wenglianfa@...wei.com>
> 
> Add support to dump SRQ resource in raw format.
> 
> This patch relies on the corresponding kernel patch:
> 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@...wei.com>
> ---
>   rdma/include/uapi/rdma/rdma_netlink.h |  2 ++
>   rdma/res-srq.c                        | 17 ++++++++++++++++-
>   rdma/res.h                            |  2 ++
>   3 files changed, 20 insertions(+), 1 deletion(-)
> 
> diff --git a/rdma/include/uapi/rdma/rdma_netlink.h b/rdma/include/uapi/rdma/rdma_netlink.h
> index 92c528a0..84f775be 100644
> --- a/rdma/include/uapi/rdma/rdma_netlink.h
> +++ b/rdma/include/uapi/rdma/rdma_netlink.h
> @@ -299,6 +299,8 @@ enum rdma_nldev_command {
> 
>          RDMA_NLDEV_CMD_STAT_GET_STATUS,
> 
> +       RDMA_NLDEV_CMD_RES_SRQ_GET_RAW,
> +
>          RDMA_NLDEV_NUM_OPS
>   };
> 

Usually this file is submitted as a separate patch.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ