diff options
author | Manish Kurup <kurup.manish@gmail.com> | 2017-11-07 21:49:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-10 07:32:20 +0100 |
commit | 4c5b9d9642c859f7369338fc42c0f62f4151bef3 (patch) | |
tree | 614217fd7b1496eba498a0be1fea1b718325e63c /include/net/caif/caif_dev.h | |
parent | nfp flower action: Modified to use VLAN helper functions (diff) | |
download | linux-4c5b9d9642c859f7369338fc42c0f62f4151bef3.tar.xz linux-4c5b9d9642c859f7369338fc42c0f62f4151bef3.zip |
act_vlan: VLAN action rewrite to use RCU lock/unlock and update
Using a spinlock in the VLAN action causes performance issues when the VLAN
action is used on multiple cores. Rewrote the VLAN action to use RCU read
locking for reads and updates instead.
All functions now use an RCU dereferenced pointer to access the VLAN action
context. Modified helper functions used by other modules, to use the RCU as
opposed to directly accessing the structure.
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/net/caif/caif_dev.h')
0 files changed, 0 insertions, 0 deletions