naccyde / rpms / iproute

Forked from rpms/iproute 5 months ago
Clone

Blame SOURCES/0051-rdma-Update-kernel-include-file-to-support-IB-device.patch

7e752c
From 0a919849a14e65e4ff4b2c71f02862598c79633b Mon Sep 17 00:00:00 2001
7e752c
From: Andrea Claudi <aclaudi@redhat.com>
7e752c
Date: Mon, 10 Jun 2019 15:32:55 +0200
7e752c
Subject: [PATCH] rdma: Update kernel include file to support IB device
7e752c
 renaming
7e752c
7e752c
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1663228
7e752c
Upstream Status: iproute2.git commit 3fb00075d9043
7e752c
7e752c
commit 3fb00075d904389afce507fffe06ca3a8500ebf3
7e752c
Author: Leon Romanovsky <leonro@mellanox.com>
7e752c
Date:   Wed Oct 31 09:17:55 2018 +0200
7e752c
7e752c
    rdma: Update kernel include file to support IB device renaming
7e752c
7e752c
    Bring kernel header file changes upto commit 05d940d3a3ec
7e752c
    ("RDMA/nldev: Allow IB device rename through RDMA netlink")
7e752c
7e752c
    Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
7e752c
    Reviewed-by: Steve Wise <swise@opengridcomputing.com>
7e752c
    Signed-off-by: David Ahern <dsahern@gmail.com>
7e752c
---
7e752c
 rdma/include/uapi/rdma/rdma_netlink.h | 3 ++-
7e752c
 1 file changed, 2 insertions(+), 1 deletion(-)
7e752c
7e752c
diff --git a/rdma/include/uapi/rdma/rdma_netlink.h b/rdma/include/uapi/rdma/rdma_netlink.h
7e752c
index 6513fb89abfa1..e2228c0917154 100644
7e752c
--- a/rdma/include/uapi/rdma/rdma_netlink.h
7e752c
+++ b/rdma/include/uapi/rdma/rdma_netlink.h
7e752c
@@ -227,8 +227,9 @@ enum rdma_nldev_command {
7e752c
 	RDMA_NLDEV_CMD_UNSPEC,
7e752c
 
7e752c
 	RDMA_NLDEV_CMD_GET, /* can dump */
7e752c
+	RDMA_NLDEV_CMD_SET,
7e752c
 
7e752c
-	/* 2 - 4 are free to use */
7e752c
+	/* 3 - 4 are free to use */
7e752c
 
7e752c
 	RDMA_NLDEV_CMD_PORT_GET = 5, /* can dump */
7e752c
 
7e752c
-- 
7e752c
2.20.1
7e752c