]> git.ipfire.org Git - thirdparty/iproute2.git/commit
Merge branch 'devlink-rm-dl_argv_parse_put' into next
authorDavid Ahern <dsahern@kernel.org>
Wed, 24 Aug 2022 15:54:16 +0000 (08:54 -0700)
committerDavid Ahern <dsahern@kernel.org>
Wed, 24 Aug 2022 15:54:16 +0000 (08:54 -0700)
commitfc6be06cab4327eecac5885f80048e7a57dd28e8
tree9dbc992de563019a76d611745795d57cde097af2
parent700a8991f05e6e37889101196a531cf82777bdf7
parent8ed3d1687dc165a81d7013d3cd2cc37217308d62
Merge branch 'devlink-rm-dl_argv_parse_put' into next

Jacob Keller  says:

====================

This series removes the dl_argv_parse_put function which both parses the
command line arguments and places them into the netlink header.

This was originally sent as an RFC at
https://lore.kernel.org/netdev/20220805234155.2878160-1-jacob.e.keller@intel.com/

Since there is some ongoing work around policy code being generated from
YAML, I thought it best to wait on the devlink policy portion of this series
for now.

Jiri mentioned he wanted to base some work on top of this, so I am sending
just the cleanup patches.

The primary motivation for this is due to the fact that dl_argv_parse_put
requires a netlink header, meaning a command must have already been
prepared. This prevents addition of a different netlink command to get the
policy data, and thus prevents us from using this variant while checking
netlink policy.

====================

Signed-off-by: David Ahern <dsahern@kernel.org>