linux-stable/drivers/net/netdevsim
Michal Wilczynski f2fc15e271 devlink: Allow to set up parent in devl_rate_leaf_create()
Currently the driver is able to create leaf nodes for the devlink-rate,
but is unable to set parent for them. This wasn't as issue before the
possibility to export hierarchy from the driver. After adding the export
feature, in order for the driver to supply correct hierarchy, it's
necessary for it to be able to supply a parent name to
devl_rate_leaf_create().

Introduce a new parameter 'parent_name' in devl_rate_leaf_create().

Signed-off-by: Michal Wilczynski <michal.wilczynski@intel.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-11-17 21:41:27 -08:00
..
bpf.c netdevsim: Avoid allocation warnings triggered from user space 2022-07-29 14:57:26 -07:00
bus.c netdevsim: fix memory leak in nsim_bus_dev_new() 2022-10-27 10:47:09 -07:00
dev.c devlink: Allow to set up parent in devl_rate_leaf_create() 2022-11-17 21:41:27 -08:00
ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-12-16 16:13:19 -08:00
fib.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-08-03 09:04:55 +02:00
health.c devlink: Delete not-used devlink APIs 2021-09-17 14:19:39 +01:00
hwstats.c netdevsim: Fix hwstats debugfs file permissions 2022-09-19 14:40:38 -07:00
ipsec.c netdevsim: rely on XFRM state direction instead of flags 2022-05-06 08:34:33 +02:00
Makefile netdevsim: Introduce support for L3 offload xstats 2022-03-15 14:00:51 +01:00
netdev.c net: remove unused ndo_get_devlink_port 2022-11-03 20:48:36 -07:00
netdevsim.h netdevsim: convert driver to use unlocked devlink API during init/fini 2022-07-18 20:10:48 -07:00
psample.c netdevsim: Only use sampling truncation length when valid 2021-04-22 13:23:56 -07:00
udp_tunnels.c netdevsim: set .owner to THIS_MODULE 2020-11-17 14:08:59 -08:00