summaryrefslogtreecommitdiffstats
path: root/net/devlink/netlink_gen.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-08-11 17:57:03 +0200
committerJakub Kicinski <kuba@kernel.org>2023-08-14 20:47:24 +0200
commit41a1d4d1399af0f4ba9754086b23f7b9576eb25f (patch)
tree7e9964de5075acff46d9f75fcba216664880b03c /net/devlink/netlink_gen.c
parentdevlink: parse linecard attr in doit() callbacks (diff)
downloadlinux-41a1d4d1399af0f4ba9754086b23f7b9576eb25f.tar.xz
linux-41a1d4d1399af0f4ba9754086b23f7b9576eb25f.zip
devlink: parse rate attrs in doit() callbacks
No need to give the rate any special treatment in netlink attributes parsing, as unlike for ports, there is only a couple of commands benefiting from that. Remove DEVLINK_NL_FLAG_NEED_RATE*, make pre_doit() callback simpler by moving the rate attributes parsing to rate_*_doit() ops. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Link: https://lore.kernel.org/r/20230811155714.1736405-3-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/devlink/netlink_gen.c')
0 files changed, 0 insertions, 0 deletions