diff options
| author | 2019-08-17 16:28:10 +0300 | |
|---|---|---|
| committer | 2019-08-17 12:40:08 -0700 | |
| commit | 9b63f57d4ab981e18e35def3349040527ead93c3 (patch) | |
| tree | 7e01282d4b43c3be9b4ecd6941228aeca210f5c1 /net/tipc/socket.c | |
| parent | Merge branch 'bridge-mdb' (diff) | |
| download | linux-dev-9b63f57d4ab981e18e35def3349040527ead93c3.tar.xz linux-dev-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 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
