linux/net/devlink
Jiri Pirko 41a1d4d139 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>
2023-08-14 11:47:24 -07:00
..
core.c devlink: Fix crash with CONFIG_NET_NS=n 2023-05-16 19:57:52 -07:00
dev.c devlink: introduce couple of dumpit callbacks for split ops 2023-08-04 14:03:01 -07:00
devl_internal.h devlink: parse rate attrs in doit() callbacks 2023-08-14 11:47:24 -07:00
health.c devlink: make health report on unregistered instance warn just once 2023-05-31 22:34:22 -07:00
leftover.c devlink: parse rate attrs in doit() callbacks 2023-08-14 11:47:24 -07:00
Makefile devlink: add split ops generated according to spec 2023-08-04 14:03:01 -07:00
netlink_gen.c devlink: add split ops generated according to spec 2023-08-04 14:03:01 -07:00
netlink_gen.h devlink: add split ops generated according to spec 2023-08-04 14:03:01 -07:00
netlink.c devlink: parse rate attrs in doit() callbacks 2023-08-14 11:47:24 -07:00