]> 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)
commitf401ceca25d0311766fbe6662c2fb5d48bf68c8c
treec3720df389760898ab277b698d76040cfc25a28c
parent80422fc1de9662857d1a0e3d7f7340b9da1a6650
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