summaryrefslogtreecommitdiffstats
path: root/crypto/xxhash_generic.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2019-08-17 16:28:10 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-17 12:40:08 -0700
commit9b63f57d4ab981e18e35def3349040527ead93c3 (patch)
tree7e01282d4b43c3be9b4ecd6941228aeca210f5c1 /crypto/xxhash_generic.c
parentf77508308fa76d0efc60ebf3c906f467feb062cb (diff)
downloadlinux-9b63f57d4ab981e18e35def3349040527ead93c3.tar.gz
linux-9b63f57d4ab981e18e35def3349040527ead93c3.tar.bz2
linux-9b63f57d4ab981e18e35def3349040527ead93c3.zip
drop_monitor: Move per-CPU data init/fini to separate functions
Currently drop monitor only reports software drops to user space, but subsequent patches are going to add support for hardware drops. Like software drops, the per-CPU data of hardware drops needs to be initialized and de-initialized upon module initialization and exit. To avoid code duplication, break this code into separate functions, so that these could be re-used for hardware drops. No functional changes intended. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/xxhash_generic.c')
0 files changed, 0 insertions, 0 deletions