mirror of
https://github.com/torvalds/linux.git
synced 2024-09-21 15:33:19 +00:00
07f3af6608
Most dumpit implementations walk the devlink instances. This requires careful lock taking and reference dropping. Factor the loop out and provide just a callback to handle a single instance dump. Convert one user as an example, other users converted in the next change. Slightly inspired by ethtool netlink code. Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> |
||
---|---|---|
.. | ||
core.c | ||
devl_internal.h | ||
leftover.c | ||
Makefile | ||
netlink.c |