[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180123184730.GX1393@mtr-leonro.local>
Date: Tue, 23 Jan 2018 20:47:30 +0200
From: Leon Romanovsky <leon@...nel.org>
To: David Ahern <dsahern@...il.com>
Cc: netdev <netdev@...r.kernel.org>,
Stephen Hemminger <stephen@...workplumber.org>,
RDMA mailing list <linux-rdma@...r.kernel.org>,
Steve Wise <swise@...ngridcomputing.com>
Subject: Re: [PATCH iproute2-next v2 00/10] RDMA resource tracking
On Tue, Jan 23, 2018 at 11:33:55AM -0700, David Ahern wrote:
> On 1/17/18 3:02 AM, Leon Romanovsky wrote:
> >
> > David, Stephen,
> >
> > The kernel code is not accepted yet, but the interface and functionality
> > of iproute2 stable enough and ready for review.
> >
> > iproute2 part:
> > https://git.kernel.org/pub/scm/linux/kernel/git/leon/iproute2.git/log/?h=topic/resource-tracking-3
> >
> > kernel part:
> > https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/log/?h=rn/restrack-v5
>
> BTW, I just remembered rdma tool is using libmnl and it has the same
> problem devlink had -- old commands may not work as expected on newer
> kernels as more RDMA_NLDEV_ATTR_ are added.
>
> Specifically, this check in rd_attr_cb:
> if (mnl_attr_type_valid(attr, RDMA_NLDEV_ATTR_MAX) < 0)
> return MNL_CB_ERROR;
Thanks, I'll take a look on the devlink implementation.
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists