diff options
author | Manish Kurup <kurup.manish@gmail.com> | 2017-11-07 15:48:15 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-10 15:32:20 +0900 |
commit | e0496cbbf8fb5d831e74b8cedb54236a49413679 (patch) | |
tree | c304adae577a03f5ff4fb6e9478eeb06861d90b1 /drivers/net/ethernet | |
parent | cbad52e92ad7f01f0be4ca58bde59462dc1afe3a (diff) | |
download | linux-e0496cbbf8fb5d831e74b8cedb54236a49413679.tar.bz2 |
act_vlan: Change stats update to use per-core stats
The VLAN action maintains one set of stats across all cores, and uses a
spinlock to synchronize updates to it from the same. Changed this to use a
per-CPU stats context instead.
This change will result in better performance.
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Manish Kurup <manish.kurup@verizon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions