2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/include/net/tc_act
Eric Dumazet 2ee22a90c7 net_sched: act_mirred: remove spinlock in fast path
Like act_gact, act_mirred can be lockless in packet processing

1) Use percpu stats
2) update lastuse only every clock tick to avoid false sharing
3) use rcu to protect tcfm_dev
4) Remove spinlock usage, as it is no longer needed.

Next step : add multi queue capability to ifb device

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: John Fastabend <john.fastabend@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-08 13:50:42 -07:00
..
tc_bpf.h act_bpf: add initial eBPF support for actions 2015-03-20 19:10:44 -04:00
tc_connmark.h net: sched: Introduce connmark action 2015-01-19 16:02:06 -05:00
tc_csum.h net_sched: act: hide struct tcf_common from API 2014-02-12 19:23:32 -05:00
tc_defact.h net_sched: act: hide struct tcf_common from API 2014-02-12 19:23:32 -05:00
tc_gact.h net_sched: act_gact: use a separate packet counters for gact_determ() 2015-07-08 13:50:42 -07:00
tc_ipt.h net_sched: act: hide struct tcf_common from API 2014-02-12 19:23:32 -05:00
tc_mirred.h net_sched: act_mirred: remove spinlock in fast path 2015-07-08 13:50:42 -07:00
tc_nat.h net_sched: act: hide struct tcf_common from API 2014-02-12 19:23:32 -05:00
tc_pedit.h net_sched: act: hide struct tcf_common from API 2014-02-12 19:23:32 -05:00
tc_skbedit.h net_sched: act: hide struct tcf_common from API 2014-02-12 19:23:32 -05:00
tc_vlan.h tc_vlan: fix type of tcfv_push_vid 2014-11-24 16:12:03 -05:00