Thread (1 message) 1 message, 1 author, 2017-06-22

Re: [PATCH rdma-next 13/19] RDMA/netlink: Add netlink device definitions to UAPI

From: Leon Romanovsky <hidden>
Date: 2017-06-22 04:28:27
Also in: linux-rdma

On Wed, Jun 21, 2017 at 04:18:54PM +0000, Tung, Chien Tin wrote:
quoted
From: Jason Gunthorpe [mailto:jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org]
Sent: Wednesday, June 21, 2017 11:12 AM
To: Leon Romanovsky <redacted>
Cc: Doug Ledford <redacted>; linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Tung,
Chien Tin [off-list ref]; Steve Wise
[off-list ref]; Stephen Hemminger
[off-list ref]; Jiri Pirko [off-list ref]; Ariel Almog
[off-list ref]; Linux Netdev [off-list ref]; Leon
Romanovsky [off-list ref]
Subject: Re: [PATCH rdma-next 13/19] RDMA/netlink: Add netlink device
definitions to UAPI

On Wed, Jun 21, 2017 at 09:05:22AM +0300, Leon Romanovsky wrote:
quoted
 	RDMA_NL_IWCM,
 	RDMA_NL_RSVD,
 	RDMA_NL_LS,	/* RDMA Local Services */
+	/*
+	 * RDMA_NL_I40IW not in use and it was added here by mistake,
+	 * but we need to keep it anyway, because it is UAPI and for
+	 * unknown reasons, someone in the field decided to replace "5"
+	 * with this define.
+	 */
 	RDMA_NL_I40IW,
Since this doesn't do anything, never did anything, I think you should just
delete it. Anything in userspace that refers to this name is unconditionally
broken and a compile failure is the better choice.

Jason
I agree.  Please delete RDMA_NL_I40IW.
Fixed and Steve's comments too.

Thanks
Chien

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help