]> git.baikalelectronics.ru Git - kernel.git/commit
net: devlink: region: Pass the region ops to the snapshot function
authorAndrew Lunn <andrew@lunn.ch>
Fri, 18 Sep 2020 19:11:02 +0000 (21:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Sep 2020 01:17:45 +0000 (18:17 -0700)
commit211e98dc7eeefd4fcfcab3534030f3923fbdb290
treec3720df389760898ab277b698d76040cfc25a28c
parent180071a92ba19aec5ba092a5d7af2fafb8719f8a
net: devlink: region: Pass the region ops to the snapshot function

Pass the region to be snapshotted to the function performing the
snapshot. This allows one function to operate on numerous regions.

v4:
Add missing kerneldoc for ICE

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ice/ice_devlink.c
drivers/net/netdevsim/dev.c
include/net/devlink.h
net/core/devlink.c