summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorManish Kurup <kurup.manish@gmail.com>2017-11-07 23:48:15 +0300
committerDavid S. Miller <davem@davemloft.net>2017-11-10 09:32:20 +0300
commite0496cbbf8fb5d831e74b8cedb54236a49413679 (patch)
treec304adae577a03f5ff4fb6e9478eeb06861d90b1 /include/linux
parentcbad52e92ad7f01f0be4ca58bde59462dc1afe3a (diff)
downloadlinux-e0496cbbf8fb5d831e74b8cedb54236a49413679.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions