* [PATCH rdma/wip/jgg-for-next] RDMA/netlink: Hide unimplemented NLDEV commands
@ 2018-01-30 15:07 Leon Romanovsky
[not found] ` <20180130150716.16372-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Leon Romanovsky @ 2018-01-30 15:07 UTC (permalink / raw)
To: Doug Ledford, Jason Gunthorpe
Cc: Leon Romanovsky, RDMA mailing list, Steve Wise
From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
The nldev was implemented by following devlink implementation,
including SET/DEL/NEW commands. However these commands were not
implemented and hence don't need to be exposed.
Signed-off-by: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
include/uapi/rdma/rdma_netlink.h | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
index 17e59bec169e..4c77e2a7b07e 100644
--- a/include/uapi/rdma/rdma_netlink.h
+++ b/include/uapi/rdma/rdma_netlink.h
@@ -227,16 +227,14 @@ enum rdma_nldev_command {
RDMA_NLDEV_CMD_UNSPEC,
RDMA_NLDEV_CMD_GET, /* can dump */
- RDMA_NLDEV_CMD_SET,
- RDMA_NLDEV_CMD_NEW,
- RDMA_NLDEV_CMD_DEL,
- RDMA_NLDEV_CMD_PORT_GET, /* can dump */
- RDMA_NLDEV_CMD_PORT_SET,
- RDMA_NLDEV_CMD_PORT_NEW,
- RDMA_NLDEV_CMD_PORT_DEL,
+ /* 2 - 4 are free to use */
- RDMA_NLDEV_CMD_RES_GET, /* can dump */
+ RDMA_NLDEV_CMD_PORT_GET = 5, /* can dump */
+
+ /* 6 - 8 are free to use */
+
+ RDMA_NLDEV_CMD_RES_GET = 9, /* can dump */
RDMA_NLDEV_CMD_RES_QP_GET, /* can dump */
--
2.16.1
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH rdma/wip/jgg-for-next] RDMA/netlink: Hide unimplemented NLDEV commands
[not found] ` <20180130150716.16372-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
@ 2018-01-30 15:57 ` Jiri Pirko
2018-01-30 16:03 ` Jason Gunthorpe
2018-01-31 22:40 ` Jason Gunthorpe
1 sibling, 1 reply; 8+ messages in thread
From: Jiri Pirko @ 2018-01-30 15:57 UTC (permalink / raw)
To: Leon Romanovsky
Cc: Doug Ledford, Jason Gunthorpe, Leon Romanovsky, RDMA mailing list,
Steve Wise
Tue, Jan 30, 2018 at 04:07:16PM CET, leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org wrote:
>From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
>
>The nldev was implemented by following devlink implementation,
>including SET/DEL/NEW commands. However these commands were not
>implemented and hence don't need to be exposed.
>
>Signed-off-by: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
>---
> include/uapi/rdma/rdma_netlink.h | 14 ++++++--------
> 1 file changed, 6 insertions(+), 8 deletions(-)
>
>diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
>index 17e59bec169e..4c77e2a7b07e 100644
>--- a/include/uapi/rdma/rdma_netlink.h
>+++ b/include/uapi/rdma/rdma_netlink.h
>@@ -227,16 +227,14 @@ enum rdma_nldev_command {
> RDMA_NLDEV_CMD_UNSPEC,
>
> RDMA_NLDEV_CMD_GET, /* can dump */
>- RDMA_NLDEV_CMD_SET,
>- RDMA_NLDEV_CMD_NEW,
>- RDMA_NLDEV_CMD_DEL,
>
>- RDMA_NLDEV_CMD_PORT_GET, /* can dump */
>- RDMA_NLDEV_CMD_PORT_SET,
>- RDMA_NLDEV_CMD_PORT_NEW,
>- RDMA_NLDEV_CMD_PORT_DEL,
>+ /* 2 - 4 are free to use */
>
>- RDMA_NLDEV_CMD_RES_GET, /* can dump */
>+ RDMA_NLDEV_CMD_PORT_GET = 5, /* can dump */
>+
>+ /* 6 - 8 are free to use */
I don't see reason for the wholes. Also, Don't you use *_NEW for replies
to *_GET, as it is common for Netlink?
But anyway, I would rather have them in, or don't have them in but don't
leave holes for them.
>+
>+ RDMA_NLDEV_CMD_RES_GET = 9, /* can dump */
>
> RDMA_NLDEV_CMD_RES_QP_GET, /* can dump */
>
>--
>2.16.1
>
>--
>To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
>the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH rdma/wip/jgg-for-next] RDMA/netlink: Hide unimplemented NLDEV commands
2018-01-30 15:57 ` Jiri Pirko
@ 2018-01-30 16:03 ` Jason Gunthorpe
[not found] ` <20180130160337.GD17053-uk2M96/98Pc@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Jason Gunthorpe @ 2018-01-30 16:03 UTC (permalink / raw)
To: Jiri Pirko
Cc: Leon Romanovsky, Doug Ledford, Leon Romanovsky, RDMA mailing list,
Steve Wise
On Tue, Jan 30, 2018 at 04:57:06PM +0100, Jiri Pirko wrote:
> Tue, Jan 30, 2018 at 04:07:16PM CET, leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org wrote:
> >From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> >
> >The nldev was implemented by following devlink implementation,
> >including SET/DEL/NEW commands. However these commands were not
> >implemented and hence don't need to be exposed.
> >
> >Signed-off-by: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> > include/uapi/rdma/rdma_netlink.h | 14 ++++++--------
> > 1 file changed, 6 insertions(+), 8 deletions(-)
> >
> >diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
> >index 17e59bec169e..4c77e2a7b07e 100644
> >+++ b/include/uapi/rdma/rdma_netlink.h
> >@@ -227,16 +227,14 @@ enum rdma_nldev_command {
> > RDMA_NLDEV_CMD_UNSPEC,
> >
> > RDMA_NLDEV_CMD_GET, /* can dump */
> >- RDMA_NLDEV_CMD_SET,
> >- RDMA_NLDEV_CMD_NEW,
> >- RDMA_NLDEV_CMD_DEL,
> >
> >- RDMA_NLDEV_CMD_PORT_GET, /* can dump */
> >- RDMA_NLDEV_CMD_PORT_SET,
> >- RDMA_NLDEV_CMD_PORT_NEW,
> >- RDMA_NLDEV_CMD_PORT_DEL,
> >+ /* 2 - 4 are free to use */
> >
> >- RDMA_NLDEV_CMD_RES_GET, /* can dump */
> >+ RDMA_NLDEV_CMD_PORT_GET = 5, /* can dump */
> >+
> >+ /* 6 - 8 are free to use */
>
> I don't see reason for the wholes.
We are stuck with the holes, it is fixed uABI at this point, can't
change the constants we actually implemented.
> Also, Don't you use *_NEW for replies to *_GET, as it is common for
> Netlink?
It appears not..
IMHO that convention makes the most sense when there is a GET/NEW pair
with the idea the NEW is formed to be echoed back to the kernel -
these case are all GET only..
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH rdma/wip/jgg-for-next] RDMA/netlink: Hide unimplemented NLDEV commands
[not found] ` <20180130160337.GD17053-uk2M96/98Pc@public.gmane.org>
@ 2018-01-30 18:18 ` Jiri Pirko
2018-01-30 18:39 ` Leon Romanovsky
2018-01-30 18:48 ` Jason Gunthorpe
2018-01-30 18:38 ` Leon Romanovsky
1 sibling, 2 replies; 8+ messages in thread
From: Jiri Pirko @ 2018-01-30 18:18 UTC (permalink / raw)
To: Jason Gunthorpe
Cc: Leon Romanovsky, Doug Ledford, Leon Romanovsky, RDMA mailing list,
Steve Wise
Tue, Jan 30, 2018 at 05:03:37PM CET, jgg-uk2M96/98Pc@public.gmane.org wrote:
>On Tue, Jan 30, 2018 at 04:57:06PM +0100, Jiri Pirko wrote:
>> Tue, Jan 30, 2018 at 04:07:16PM CET, leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org wrote:
>> >From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
>> >
>> >The nldev was implemented by following devlink implementation,
>> >including SET/DEL/NEW commands. However these commands were not
>> >implemented and hence don't need to be exposed.
>> >
>> >Signed-off-by: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
>> > include/uapi/rdma/rdma_netlink.h | 14 ++++++--------
>> > 1 file changed, 6 insertions(+), 8 deletions(-)
>> >
>> >diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
>> >index 17e59bec169e..4c77e2a7b07e 100644
>> >+++ b/include/uapi/rdma/rdma_netlink.h
>> >@@ -227,16 +227,14 @@ enum rdma_nldev_command {
>> > RDMA_NLDEV_CMD_UNSPEC,
>> >
>> > RDMA_NLDEV_CMD_GET, /* can dump */
>> >- RDMA_NLDEV_CMD_SET,
>> >- RDMA_NLDEV_CMD_NEW,
>> >- RDMA_NLDEV_CMD_DEL,
>> >
>> >- RDMA_NLDEV_CMD_PORT_GET, /* can dump */
>> >- RDMA_NLDEV_CMD_PORT_SET,
>> >- RDMA_NLDEV_CMD_PORT_NEW,
>> >- RDMA_NLDEV_CMD_PORT_DEL,
>> >+ /* 2 - 4 are free to use */
>> >
>> >- RDMA_NLDEV_CMD_RES_GET, /* can dump */
>> >+ RDMA_NLDEV_CMD_PORT_GET = 5, /* can dump */
>> >+
>> >+ /* 6 - 8 are free to use */
>>
>> I don't see reason for the wholes.
>
>We are stuck with the holes, it is fixed uABI at this point, can't
>change the constants we actually implemented.
If it is realeased already, we can't remove the defines either.
>
>> Also, Don't you use *_NEW for replies to *_GET, as it is common for
>> Netlink?
>
>It appears not..
>
>IMHO that convention makes the most sense when there is a GET/NEW pair
>with the idea the NEW is formed to be echoed back to the kernel -
>these case are all GET only..
>
>Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH rdma/wip/jgg-for-next] RDMA/netlink: Hide unimplemented NLDEV commands
[not found] ` <20180130160337.GD17053-uk2M96/98Pc@public.gmane.org>
2018-01-30 18:18 ` Jiri Pirko
@ 2018-01-30 18:38 ` Leon Romanovsky
1 sibling, 0 replies; 8+ messages in thread
From: Leon Romanovsky @ 2018-01-30 18:38 UTC (permalink / raw)
To: Jason Gunthorpe; +Cc: Jiri Pirko, Doug Ledford, RDMA mailing list, Steve Wise
[-- Attachment #1: Type: text/plain, Size: 2046 bytes --]
On Tue, Jan 30, 2018 at 09:03:37AM -0700, Jason Gunthorpe wrote:
> On Tue, Jan 30, 2018 at 04:57:06PM +0100, Jiri Pirko wrote:
> > Tue, Jan 30, 2018 at 04:07:16PM CET, leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org wrote:
> > >From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> > >
> > >The nldev was implemented by following devlink implementation,
> > >including SET/DEL/NEW commands. However these commands were not
> > >implemented and hence don't need to be exposed.
> > >
> > >Signed-off-by: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> > > include/uapi/rdma/rdma_netlink.h | 14 ++++++--------
> > > 1 file changed, 6 insertions(+), 8 deletions(-)
> > >
> > >diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
> > >index 17e59bec169e..4c77e2a7b07e 100644
> > >+++ b/include/uapi/rdma/rdma_netlink.h
> > >@@ -227,16 +227,14 @@ enum rdma_nldev_command {
> > > RDMA_NLDEV_CMD_UNSPEC,
> > >
> > > RDMA_NLDEV_CMD_GET, /* can dump */
> > >- RDMA_NLDEV_CMD_SET,
> > >- RDMA_NLDEV_CMD_NEW,
> > >- RDMA_NLDEV_CMD_DEL,
> > >
> > >- RDMA_NLDEV_CMD_PORT_GET, /* can dump */
> > >- RDMA_NLDEV_CMD_PORT_SET,
> > >- RDMA_NLDEV_CMD_PORT_NEW,
> > >- RDMA_NLDEV_CMD_PORT_DEL,
> > >+ /* 2 - 4 are free to use */
> > >
> > >- RDMA_NLDEV_CMD_RES_GET, /* can dump */
> > >+ RDMA_NLDEV_CMD_PORT_GET = 5, /* can dump */
> > >+
> > >+ /* 6 - 8 are free to use */
> >
> > I don't see reason for the wholes.
>
> We are stuck with the holes, it is fixed uABI at this point, can't
> change the constants we actually implemented.
>
> > Also, Don't you use *_NEW for replies to *_GET, as it is common for
> > Netlink?
>
> It appears not..
>
> IMHO that convention makes the most sense when there is a GET/NEW pair
> with the idea the NEW is formed to be echoed back to the kernel -
> these case are all GET only..
Back then, I didn't find any reason to return _NEW, and I don't see it
now either.
There is NLM_F_ECHO flag for echo and sequence number to distinguish
between messages.
>
> Jason
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH rdma/wip/jgg-for-next] RDMA/netlink: Hide unimplemented NLDEV commands
2018-01-30 18:18 ` Jiri Pirko
@ 2018-01-30 18:39 ` Leon Romanovsky
2018-01-30 18:48 ` Jason Gunthorpe
1 sibling, 0 replies; 8+ messages in thread
From: Leon Romanovsky @ 2018-01-30 18:39 UTC (permalink / raw)
To: Jiri Pirko; +Cc: Jason Gunthorpe, Doug Ledford, RDMA mailing list, Steve Wise
[-- Attachment #1: Type: text/plain, Size: 2385 bytes --]
On Tue, Jan 30, 2018 at 07:18:14PM +0100, Jiri Pirko wrote:
> Tue, Jan 30, 2018 at 05:03:37PM CET, jgg-uk2M96/98Pc@public.gmane.org wrote:
> >On Tue, Jan 30, 2018 at 04:57:06PM +0100, Jiri Pirko wrote:
> >> Tue, Jan 30, 2018 at 04:07:16PM CET, leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org wrote:
> >> >From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> >> >
> >> >The nldev was implemented by following devlink implementation,
> >> >including SET/DEL/NEW commands. However these commands were not
> >> >implemented and hence don't need to be exposed.
> >> >
> >> >Signed-off-by: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> >> > include/uapi/rdma/rdma_netlink.h | 14 ++++++--------
> >> > 1 file changed, 6 insertions(+), 8 deletions(-)
> >> >
> >> >diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
> >> >index 17e59bec169e..4c77e2a7b07e 100644
> >> >+++ b/include/uapi/rdma/rdma_netlink.h
> >> >@@ -227,16 +227,14 @@ enum rdma_nldev_command {
> >> > RDMA_NLDEV_CMD_UNSPEC,
> >> >
> >> > RDMA_NLDEV_CMD_GET, /* can dump */
> >> >- RDMA_NLDEV_CMD_SET,
> >> >- RDMA_NLDEV_CMD_NEW,
> >> >- RDMA_NLDEV_CMD_DEL,
> >> >
> >> >- RDMA_NLDEV_CMD_PORT_GET, /* can dump */
> >> >- RDMA_NLDEV_CMD_PORT_SET,
> >> >- RDMA_NLDEV_CMD_PORT_NEW,
> >> >- RDMA_NLDEV_CMD_PORT_DEL,
> >> >+ /* 2 - 4 are free to use */
> >> >
> >> >- RDMA_NLDEV_CMD_RES_GET, /* can dump */
> >> >+ RDMA_NLDEV_CMD_PORT_GET = 5, /* can dump */
> >> >+
> >> >+ /* 6 - 8 are free to use */
> >>
> >> I don't see reason for the wholes.
> >
> >We are stuck with the holes, it is fixed uABI at this point, can't
> >change the constants we actually implemented.
>
> If it is realeased already, we can't remove the defines either.
Why? There is exactly one consumer - rdmatool and it doesn't use removed
constants.
>
>
> >
> >> Also, Don't you use *_NEW for replies to *_GET, as it is common for
> >> Netlink?
> >
> >It appears not..
> >
> >IMHO that convention makes the most sense when there is a GET/NEW pair
> >with the idea the NEW is formed to be echoed back to the kernel -
> >these case are all GET only..
> >
> >Jason
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH rdma/wip/jgg-for-next] RDMA/netlink: Hide unimplemented NLDEV commands
2018-01-30 18:18 ` Jiri Pirko
2018-01-30 18:39 ` Leon Romanovsky
@ 2018-01-30 18:48 ` Jason Gunthorpe
1 sibling, 0 replies; 8+ messages in thread
From: Jason Gunthorpe @ 2018-01-30 18:48 UTC (permalink / raw)
To: Jiri Pirko
Cc: Leon Romanovsky, Doug Ledford, Leon Romanovsky, RDMA mailing list,
Steve Wise
On Tue, Jan 30, 2018 at 07:18:14PM +0100, Jiri Pirko wrote:
> Tue, Jan 30, 2018 at 05:03:37PM CET, jgg-uk2M96/98Pc@public.gmane.org wrote:
> >On Tue, Jan 30, 2018 at 04:57:06PM +0100, Jiri Pirko wrote:
> >> Tue, Jan 30, 2018 at 04:07:16PM CET, leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org wrote:
> >> >From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> >> >
> >> >The nldev was implemented by following devlink implementation,
> >> >including SET/DEL/NEW commands. However these commands were not
> >> >implemented and hence don't need to be exposed.
> >> >
> >> >Signed-off-by: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> >> > include/uapi/rdma/rdma_netlink.h | 14 ++++++--------
> >> > 1 file changed, 6 insertions(+), 8 deletions(-)
> >> >
> >> >diff --git a/include/uapi/rdma/rdma_netlink.h b/include/uapi/rdma/rdma_netlink.h
> >> >index 17e59bec169e..4c77e2a7b07e 100644
> >> >+++ b/include/uapi/rdma/rdma_netlink.h
> >> >@@ -227,16 +227,14 @@ enum rdma_nldev_command {
> >> > RDMA_NLDEV_CMD_UNSPEC,
> >> >
> >> > RDMA_NLDEV_CMD_GET, /* can dump */
> >> >- RDMA_NLDEV_CMD_SET,
> >> >- RDMA_NLDEV_CMD_NEW,
> >> >- RDMA_NLDEV_CMD_DEL,
> >> >
> >> >- RDMA_NLDEV_CMD_PORT_GET, /* can dump */
> >> >- RDMA_NLDEV_CMD_PORT_SET,
> >> >- RDMA_NLDEV_CMD_PORT_NEW,
> >> >- RDMA_NLDEV_CMD_PORT_DEL,
> >> >+ /* 2 - 4 are free to use */
> >> >
> >> >- RDMA_NLDEV_CMD_RES_GET, /* can dump */
> >> >+ RDMA_NLDEV_CMD_PORT_GET = 5, /* can dump */
> >> >+
> >> >+ /* 6 - 8 are free to use */
> >>
> >> I don't see reason for the wholes.
> >
> >We are stuck with the holes, it is fixed uABI at this point, can't
> >change the constants we actually implemented.
>
> If it is realeased already, we can't remove the defines either.
We have been less absolute on the uapi headers causing compilation
breaks.
Using these headers is so hard, eg iproute and rdma-core take them
verbatim from the kernel and bundles them inside. So as a practical
matter, it is OK to sometimes cause compilation issues.
In this case there is no correct use of the constants since the
kernel never implemented them, any user is busted in some way and
should be reviewed.
Even glibc causes compilation breaks in new versions..
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH rdma/wip/jgg-for-next] RDMA/netlink: Hide unimplemented NLDEV commands
[not found] ` <20180130150716.16372-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2018-01-30 15:57 ` Jiri Pirko
@ 2018-01-31 22:40 ` Jason Gunthorpe
1 sibling, 0 replies; 8+ messages in thread
From: Jason Gunthorpe @ 2018-01-31 22:40 UTC (permalink / raw)
To: Leon Romanovsky
Cc: Doug Ledford, Leon Romanovsky, RDMA mailing list, Steve Wise
On Tue, Jan 30, 2018 at 05:07:16PM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
>
> The nldev was implemented by following devlink implementation,
> including SET/DEL/NEW commands. However these commands were not
> implemented and hence don't need to be exposed.
>
> Signed-off-by: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> include/uapi/rdma/rdma_netlink.h | 14 ++++++--------
> 1 file changed, 6 insertions(+), 8 deletions(-)
Doug applied this to for-next
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-01-31 22:40 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-30 15:07 [PATCH rdma/wip/jgg-for-next] RDMA/netlink: Hide unimplemented NLDEV commands Leon Romanovsky
[not found] ` <20180130150716.16372-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2018-01-30 15:57 ` Jiri Pirko
2018-01-30 16:03 ` Jason Gunthorpe
[not found] ` <20180130160337.GD17053-uk2M96/98Pc@public.gmane.org>
2018-01-30 18:18 ` Jiri Pirko
2018-01-30 18:39 ` Leon Romanovsky
2018-01-30 18:48 ` Jason Gunthorpe
2018-01-30 18:38 ` Leon Romanovsky
2018-01-31 22:40 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox