diff mbox series

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

Message ID 20210429064803.58458-2-galpress@amazon.com (mailing list archive)
State Accepted
Delegated to: David Ahern
Headers show
Series Add copy-on-fork to get sys command | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Gal Pressman April 29, 2021, 6:48 a.m. UTC
Update rdma_netlink.h file upto kernel commit
6cc9e215eb27 ("RDMA/nldev: Add copy-on-fork attribute to get sys command")

Signed-off-by: Gal Pressman <galpress@amazon.com>
---
 rdma/include/uapi/rdma/rdma_netlink.h | 3 +++
 1 file changed, 3 insertions(+)

Comments

Leon Romanovsky April 29, 2021, 7:13 a.m. UTC | #1
On Thu, Apr 29, 2021 at 09:48:02AM +0300, Gal Pressman wrote:
> Update rdma_netlink.h file upto kernel commit
> 6cc9e215eb27 ("RDMA/nldev: Add copy-on-fork attribute to get sys command")
> 
> Signed-off-by: Gal Pressman <galpress@amazon.com>
> ---
>  rdma/include/uapi/rdma/rdma_netlink.h | 3 +++
>  1 file changed, 3 insertions(+)
> 

Thanks,
Acked-by: Leon Romanovsky <leonro@nvidia.com>
diff mbox series

Patch

diff --git a/rdma/include/uapi/rdma/rdma_netlink.h b/rdma/include/uapi/rdma/rdma_netlink.h
index e161c245bf71..37f583ee58fc 100644
--- a/rdma/include/uapi/rdma/rdma_netlink.h
+++ b/rdma/include/uapi/rdma/rdma_netlink.h
@@ -546,6 +546,9 @@  enum rdma_nldev_attr {
 
 	RDMA_NLDEV_ATTR_MIN_RANGE,		/* u32 */
 	RDMA_NLDEV_ATTR_MAX_RANGE,		/* u32 */
+
+	RDMA_NLDEV_SYS_ATTR_COPY_ON_FORK,	/* u8 */
+
 	/*
 	 * Always the end
 	 */