Commit 5d1a30eb authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

tools: ynl: generate code for the devlink family



Admittedly the devlink.yaml spec is fairly limitted,
it only covers basic device get and info-get ops.
That's sufficient to be useful (monitoring FW versions
in the fleet). Plus it gives us a chance to exercise
deep nesting and directional messaging in YNL.

Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 0a947121
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ endif

TOOL:=../ynl-gen-c.py

GENS:=handshake fou netdev
GENS:=devlink handshake fou netdev
SRCS=$(patsubst %,%-user.c,${GENS})
HDRS=$(patsubst %,%-user.h,${GENS})
OBJS=$(patsubst %,%-user.o,${GENS})
+721 −0

File added.

Preview size limit exceeded, changes collapsed.

+210 −0

File added.

Preview size limit exceeded, changes collapsed.