Thread (9 messages) 9 messages, 3 authors, 2018-03-26

Re: [PATCH iproute2-next 2/2] rdma: Print net device name and index for RDMA device

flat view

From: David Ahern <hidden>
Date: 2018-03-26 15:44:35
Also in: linux-rdma

On 3/26/18 9:09 AM, Leon Romanovsky wrote:
On Mon, Mar 26, 2018 at 08:06:52AM -0600, David Ahern wrote:
quoted
On 3/26/18 2:28 AM, Leon Romanovsky wrote:
quoted
diff --git a/rdma/include/uapi/rdma/rdma_netlink.h b/rdma/include/uapi/rdma/rdma_netlink.h
index 9446a721..45474f13 100644
--- a/rdma/include/uapi/rdma/rdma_netlink.h
+++ b/rdma/include/uapi/rdma/rdma_netlink.h
@@ -388,6 +388,10 @@ enum rdma_nldev_attr {
 	RDMA_NLDEV_ATTR_RES_LOCAL_DMA_LKEY,	/* u32 */
 	RDMA_NLDEV_ATTR_RES_UNSAFE_GLOBAL_RKEY,	/* u32 */

+	/* Netdev information for relevant protocols, like RoCE and iWARP */
+	RDMA_NLDEV_ATTR_NDEV_INDEX,		/* u32 */
+	RDMA_NLDEV_ATTR_NDEV_NAME,		/* string */
+
 	RDMA_NLDEV_ATTR_MAX
 };
 #endif /* _RDMA_NETLINK_H */
Why wasn't the above included in patch 1 as part of the header file update?
Kernel part is not accepted yet, this is why I separated them.
Please don't mix patches in a set like this. The entire set should be
consistent -- either all of them are in the kernel or all of them are
waiting to be committed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help