Commit 5654a122 authored by Pedro Tammela's avatar Pedro Tammela Committed by Greg Kroah-Hartman
Browse files

net/sched: transition act_pedit to rcu and percpu stats



[ Upstream commit 52cf89f7 ]

The software pedit action didn't get the same love as some of the
other actions and it's still using spinlocks and shared stats in the
datapath.
Transition the action to rcu and percpu stats as this improves the
action's performance dramatically on multiple cpu deployments.

Reviewed-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: default avatarPedro Tammela <pctammela@mojatatu.com>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Stable-dep-of: e9e42292 ("net/sched: act_pedit: fix action bind logic")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c4943654
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment