Skip to content

net_sched: some cleanup and improvments

Cong Wang netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest8 patches 30 repliesIn review
  2. v36 patches 25 repliesSuperseded
  3. v26 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches2 repliesSuperseded

Changes in v4 from the cover letter

* fix tcf_exts_is_predicative()
* rename 'head' to 'actions'
* use spinlock instead of spinlock+RCU
* add two more patches

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8net_sched: remove get_stats from tc_action_opsinclude/net/act_api.h net/sched/act_api.c+0 -51 reply
2/8net_sched: act: use standard struct list_headinclude/net/act_api.h include/net/pkt_cls.h net/sched/act_api.c +10 more+101 -991 reply
3/8net_sched: mirred: remove action when the target device is goneinclude/net/tc_act/tc_mirred.h net/sched/act_mirred.c+10 -917 replies
4/8net_sched: cls: refactor out struct tcf_ext_mapinclude/net/pkt_cls.h net/sched/cls_api.c net/sched/cls_basic.c +8 more+69 -1141 reply
5/8net_sched: init struct tcf_hashinfo at register timeinclude/net/act_api.h net/sched/act_api.c net/sched/act_csum.c +8 more+97 -951 reply
6/8net_sched: convert tcf_hashinfo to hlist and use spinlockinclude/net/act_api.h net/sched/act_api.c net/sched/act_police.c+58 -721 reply
7/8net_sched: convert tc_action_ops to use struct list_headinclude/net/act_api.h net/sched/act_api.c+10 -121 reply
8/8net_sched: convert tcf_proto_ops to use struct list_headinclude/net/sch_generic.h net/sched/cls_api.c+9 -111 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH net-next v4 0/8] net_sched: some cleanup and improvments

Here are some cleanup and improvements for tc filters and tc actions.

Cc Jamal Hadi Salim <[email protected]>
Cc David S. Miller <[email protected]>

v3 -> v4:
* fix tcf_exts_is_predicative()
* rename 'head' to 'actions'
* use spinlock instead of spinlock+RCU
* add two more patches

v2 -> v3:
* fix a typo introduced during rebase

v1 -> v2:
* fix a smatch warning and a checkpatch warning
* add a cover letter
* add a missing synchronize_rcu()

Cong Wang (8):
net_sched: remove get_stats from tc_action_ops
net_sched: act: use standard struct list_head
net_sched: mirred: remove action when the target device is gone
net_sched: cls: refactor out struct tcf_ext_map
net_sched: init struct tcf_hashinfo at register time
net_sched: convert tcf_hashinfo to hlist and use spinlock
net_sched: convert tc_action_ops to use struct list_head
net_sched: convert tcf_proto_ops to use struct list_head

 include/net/act_api.h          |  43 ++++++---
 include/net/pkt_cls.h          |  37 ++++----
 include/net/sch_generic.h      |   2 +-
 include/net/tc_act/tc_mirred.h |   4 +-
 net/sched/act_api.c            | 198 +++++++++++++++++------------------------
 net/sched/act_csum.c           |  13 ++-
 net/sched/act_gact.c           |  13 ++-
 net/sched/act_ipt.c            |  21 +++--
 net/sched/act_mirred.c         |  31 +++----
 net/sched/act_nat.c            |  12 ++-
 net/sched/act_pedit.c          |  12 ++-
 net/sched/act_police.c         |  63 ++++++-------
 net/sched/act_simple.c         |  20 +++--
 net/sched/act_skbedit.c        |  13 ++-
 net/sched/cls_api.c            |  99 ++++++++++-----------
 net/sched/cls_basic.c          |  13 ++-
 net/sched/cls_bpf.c            |  13 ++-
 net/sched/cls_cgroup.c         |  14 ++-
 net/sched/cls_flow.c           |  13 ++-
 net/sched/cls_fw.c             |  13 ++-
 net/sched/cls_route.c          |  13 ++-
 net/sched/cls_rsvp.h           |  13 ++-
 net/sched/cls_tcindex.c        |  17 ++--
 net/sched/cls_u32.c            |  13 ++-
 24 files changed, 320 insertions(+), 383 deletions(-)
Signature · 1 line
1.8.1.4