diff mbox series

[iproute2-next,1/2] rdma: update uapi header

Message ID b265f104d37354266a30238701d0f73b298a5209.1714472040.git.leonro@nvidia.com (mailing list archive)
State Not Applicable
Headers show
Series Extend rdmatool to print driver QPs too | expand

Commit Message

Leon Romanovsky April 30, 2024, 10:18 a.m. UTC
From: Chiara Meiohas <cmeiohas@nvidia.com>

Update rdma_netlink.h file up to kernel commit e18fa0bbcedf
("RDMA/core: Add an option to display driver-specific QPs in the rdmatool")

Signed-off-by: Chiara Meiohas <cmeiohas@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
---
 rdma/include/uapi/rdma/rdma_netlink.h | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Subbaraya Sundeep April 30, 2024, 2:43 p.m. UTC | #1
>-----Original Message-----
>From: Leon Romanovsky <leon@kernel.org>
>Sent: Tuesday, April 30, 2024 3:48 PM
>To: David Ahern <dsahern@gmail.com>
>Cc: Chiara Meiohas <cmeiohas@nvidia.com>; Jason Gunthorpe
><jgg@nvidia.com>; linux-netdev <netdev@vger.kernel.org>; RDMA mailing list
><linux-rdma@vger.kernel.org>
>Subject: [EXTERNAL] [PATCH iproute2-next 1/2] rdma: update uapi header
>
>From: Chiara Meiohas <cmeiohas@nvidia.com>
>
>Update rdma_netlink.h file up to kernel commit e18fa0bbcedf
>("RDMA/core: Add an option to display driver-specific QPs in the rdmatool")
>
>Signed-off-by: Chiara Meiohas <cmeiohas@nvidia.com>
>Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Subbaraya Sundeep <sbhatta@marvell.com>

Thanks,
Sundeep

>---
> rdma/include/uapi/rdma/rdma_netlink.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
>diff --git a/rdma/include/uapi/rdma/rdma_netlink.h
>b/rdma/include/uapi/rdma/rdma_netlink.h
>index e8861b5e..a6c8a52d 100644
>--- a/rdma/include/uapi/rdma/rdma_netlink.h
>+++ b/rdma/include/uapi/rdma/rdma_netlink.h
>@@ -558,6 +558,12 @@ enum rdma_nldev_attr {
>
> 	RDMA_NLDEV_SYS_ATTR_PRIVILEGED_QKEY_MODE, /* u8 */
>
>+	RDMA_NLDEV_ATTR_DRIVER_DETAILS,		/* u8 */
>+	/*
>+	 * QP subtype string, used for driver QPs
>+	 */
>+	RDMA_NLDEV_ATTR_RES_SUBTYPE,		/* string */
>+
> 	/*
> 	 * Always the end
> 	 */
>--
>2.44.0
>
diff mbox series

Patch

diff --git a/rdma/include/uapi/rdma/rdma_netlink.h b/rdma/include/uapi/rdma/rdma_netlink.h
index e8861b5e..a6c8a52d 100644
--- a/rdma/include/uapi/rdma/rdma_netlink.h
+++ b/rdma/include/uapi/rdma/rdma_netlink.h
@@ -558,6 +558,12 @@  enum rdma_nldev_attr {
 
 	RDMA_NLDEV_SYS_ATTR_PRIVILEGED_QKEY_MODE, /* u8 */
 
+	RDMA_NLDEV_ATTR_DRIVER_DETAILS,		/* u8 */
+	/*
+	 * QP subtype string, used for driver QPs
+	 */
+	RDMA_NLDEV_ATTR_RES_SUBTYPE,		/* string */
+
 	/*
 	 * Always the end
 	 */