net/sched: act_pedit: use percpu overlimit counter when available
authorPedro Tammela <pctammela@mojatatu.com>
Tue, 14 Feb 2023 21:15:34 +0000 (18:15 -0300)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 16 Feb 2023 09:39:28 +0000 (10:39 +0100)
commit2d2e75d2d4a2245175d77899764b56e19c5769b4
tree45bc5299e267357a6b3732102e4158227138b209
parent7afd073e5521bfc1045096802bc4dc640b63ed54
net/sched: act_pedit: use percpu overlimit counter when available

Since act_pedit now has access to percpu counters, use the
tcf_action_inc_overlimit_qstats wrapper that will use the percpu
counter whenever they are available.

Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/sched/act_pedit.c