linux-stable/drivers/net/netdevsim
Leon Romanovsky 4c897cfc46 devlink: Simplify devlink resources unregister call
The devlink_resources_unregister() used second parameter as an
entry point for the recursive removal of devlink resources. None
of the callers outside of devlink core needed to use this field,
so let's remove it.

As part of this removal, the "struct devlink_resource" was moved
from .h to .c file as it is not possible to use in any place in
the code except devlink.c.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-11-30 12:23:32 +00:00
..
Makefile netdevsim: Add dummy psample implementation 2021-03-14 15:00:43 -07:00
bpf.c netdevsim: Add debugfs toggle to reject BPF programs in verifier 2020-12-09 16:27:42 +01:00
bus.c netdevsim: rename 'driver' entry points 2021-11-01 13:29:41 +00:00
dev.c devlink: Simplify devlink resources unregister call 2021-11-30 12:23:32 +00:00
ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
fib.c netdevsim: make array res_ids static const, makes object smaller 2021-08-02 09:12:24 -07:00
health.c devlink: Delete not-used devlink APIs 2021-09-17 14:19:39 +01:00
ipsec.c net: netdevsim: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops 2021-07-06 10:36:59 -07:00
netdev.c netdevsim: move vfconfig to nsim_dev 2021-11-01 13:29:41 +00:00
netdevsim.h netdevsim: rename 'driver' entry points 2021-11-01 13:29:41 +00: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