linux/net/devlink
Jiri Pirko 63618463cb devlink: parse linecard attr in doit() callbacks
No need to give the linecards any special treatment in netlink attribute
parsing, as unlike for ports, there is only a couple of commands
benefiting from that.

Remove DEVLINK_NL_FLAG_NEED_LINECARD, make pre_doit() callback simpler
by moving the linecard attribute parsing to linecard_[gs]et_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-2-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 linecard attr 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 linecard attr 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 linecard attr in doit() callbacks 2023-08-14 11:47:24 -07:00