Thread (1 message) 1 message, 1 author, 2018-01-23

Re: [PATCH iproute2-next v2 00/10] RDMA resource tracking

From: Leon Romanovsky <hidden>
Date: 2018-01-23 18:47:30
Also in: linux-rdma

On Tue, Jan 23, 2018 at 11:33:55AM -0700, David Ahern wrote:
On 1/17/18 3:02 AM, Leon Romanovsky wrote:
quoted
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.

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