1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/net/ynl/generated
Jakub Kicinski 39f04b1406 tools: ynl: fix duplicate op name in devlink
We don't support CRUD-inspired message types in YNL too well.
One aspect that currently trips us up is the fact that single
message ID can be used in multiple commands (as the response).
This leads to duplicate entries in the id-to-string tables:

devlink-user.c:19:34: warning: initialized field overwritten [-Woverride-init]
   19 |         [DEVLINK_CMD_PORT_NEW] = "port-new",
      |                                  ^~~~~~~~~~
devlink-user.c:19:34: note: (near initialization for ‘devlink_op_strmap[7]’)

Fixes tag points at where the code was generated, the "real" problem
is that the code generator does not support CRUD.

Fixes: f2f9dd164d ("netlink: specs: devlink: add the remaining command to generate complete split_ops")
Link: https://lore.kernel.org/r/20231123030558.1611831-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-11-23 08:52:23 -08:00
..
devlink-user.c tools: ynl: fix duplicate op name in devlink 2023-11-23 08:52:23 -08:00
devlink-user.h Merge branch 'devlink-finish-conversion-to-generated-split_ops' 2023-10-23 16:16:52 -07:00
ethtool-user.c tools: ynl: generate code for the ethtool family 2023-06-12 11:01:03 +01:00
ethtool-user.h tools: ynl-gen: change spacing around __attribute__ 2023-10-23 10:15:36 -07:00
fou-user.c tools: ynl: regen: regenerate the if ladders 2023-06-09 14:40:31 -07:00
fou-user.h tools: ynl-gen: change spacing around __attribute__ 2023-10-23 10:15:36 -07:00
handshake-user.c tools: ynl: regen: stop generating common notification handlers 2023-06-09 14:40:31 -07:00
handshake-user.h tools: ynl-gen: change spacing around __attribute__ 2023-10-23 10:15:36 -07:00
Makefile Networking changes for 6.7. 2023-10-31 05:10:11 -10:00
netdev-user.c tools: ynl: extend netdev sample to dump xdp-rx-metadata-features 2023-09-15 11:26:58 -07:00
netdev-user.h tools: ynl-gen: change spacing around __attribute__ 2023-10-23 10:15:36 -07:00
nfsd-user.c nfsd: regenerate user space parsers after ynl-gen changes 2023-11-06 09:03:46 +00:00
nfsd-user.h nfsd: regenerate user space parsers after ynl-gen changes 2023-11-06 09:03:46 +00:00