Thread (11 messages) 11 messages, 3 authors, 2022-08-26

RE: [iproute2-next v3 2/3] mnlg: add function to get CTRL_ATTR_MAXATTR value

From: "Keller, Jacob E" <jacob.e.keller@intel.com>
Date: 2022-08-26 00:40:35
Also in: linux-doc

-----Original Message-----
From: Jiri Pirko <jiri@resnulli.us>
Sent: Tuesday, July 26, 2022 12:47 AM
To: Keller, Jacob E <jacob.e.keller@intel.com>
Cc: netdev@vger.kernel.org; Jonathan Corbet <corbet@lwn.net>; Jiri Pirko
[off-list ref]; David S. Miller [off-list ref]; Eric Dumazet
[off-list ref]; Jakub Kicinski [off-list ref]; Paolo Abeni
[off-list ref]; Nguyen, Anthony L [off-list ref];
David Ahern [off-list ref]; Stephen Hemminger
[off-list ref]; linux-doc@vger.kernel.org
Subject: Re: [iproute2-next v3 2/3] mnlg: add function to get
CTRL_ATTR_MAXATTR value

Mon, Jul 25, 2022 at 10:56:49PM CEST, jacob.e.keller@intel.com wrote:
quoted
Add a new function to extract the CTRL_ATTR_MAXATTR attribute of the
CTRL_CMD_GETFAMILY request. This will be used to allow reading the
maximum supported devlink attribute of the running kernel in an upcoming
change.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Jiri Pirko <redacted>
I had a new approach which just extracted maxattr and stored it hwnever we call CTRL_CMD_GETFAMILY, which I think is a preferable approach to this. That was part of the series I sent recently to support policy checking. I think I'd prefer that route now over this patch.

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