diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-08-03 13:13:38 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-04 14:03:01 -0700 |
commit | 6b7c486cae8136050df8fca2fbebedb685c49b2d (patch) | |
tree | d3258c65b0a997c48a6065254f489433dc811285 /net/devlink/Makefile | |
parent | 759f661012d19e61e8d7e8d2bc8d4395ba45a689 (diff) | |
download | lwn-6b7c486cae8136050df8fca2fbebedb685c49b2d.tar.gz lwn-6b7c486cae8136050df8fca2fbebedb685c49b2d.zip |
devlink: add split ops generated according to spec
Improve the existing devlink spec in order to serve as a source for
generation of valid devlink split ops for the existing commands.
Add the generated sources.
Node that the policies are narrowed down only to the attributes that
are actually parsed. The dont-validate-strict parsing policy makes sure
that other possibly passed garbage attributes from userspace are
ignored during validation.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20230803111340.1074067-11-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/devlink/Makefile')
-rw-r--r-- | net/devlink/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/devlink/Makefile b/net/devlink/Makefile index ef91a76646a3..a087af581847 100644 --- a/net/devlink/Makefile +++ b/net/devlink/Makefile @@ -1,3 +1,3 @@ # SPDX-License-Identifier: GPL-2.0 -obj-y := leftover.o core.o netlink.o dev.o health.o +obj-y := leftover.o core.o netlink.o netlink_gen.o dev.o health.o |