drop_monitor: Initialize hardware per-CPU data
authorIdo Schimmel <idosch@mellanox.com>
Sat, 17 Aug 2019 13:28:11 +0000 (16:28 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Aug 2019 19:40:08 +0000 (12:40 -0700)
commitcac1174fa17f2cf5d504cbe00c0053f0b9e3b58d
tree19361e6055a96e62562992f3e9889c7d046d12c6
parent9b63f57d4ab981e18e35def3349040527ead93c3
drop_monitor: Initialize hardware per-CPU data

Like software drops, hardware drops also need the same type of per-CPU
data. Therefore, initialize it during module initialization and
de-initialize it during module exit.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/drop_monitor.c