commit | e0496cbbf8fb5d831e74b8cedb54236a49413679 | [log] [tgz] |
---|---|---|
author | Manish Kurup <kurup.manish@gmail.com> | Tue Nov 07 15:48:15 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 10 15:32:20 2017 +0900 |
tree | c304adae577a03f5ff4fb6e9478eeb06861d90b1 | |
parent | cbad52e92ad7f01f0be4ca58bde59462dc1afe3a [diff] |
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>