]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit798eec48cc9f3627af6e30378df1801977675488
tree19361e6055a96e62562992f3e9889c7d046d12c6
parentb71c6dc2651cce3256962dcd6bef25d3d0c9a8e7
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