Skip to content

net_sched: improve tc action code

Cong Wang netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net_sched: act: clean up notification functionsnet/sched/act_api.c+40 -593 replies
2/4net_sched: act: move idx_gen to struct tcf_hashinfoinclude/net/act_api.h net/sched/act_api.c net/sched/act_csum.c +8 more+18 -260 replies
3/4net_sched: mirred: remove action when the target device is goneinclude/net/tc_act/tc_mirred.h net/sched/act_mirred.c+19 -90 replies
4/4net_sched: mirred: notify user-space when action gets removedinclude/net/act_api.h net/sched/act_api.c net/sched/act_mirred.c+9 -60 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Patch net-next 0/4] net_sched: improve tc action code

This patchset continues to cleanup and improve tc action code, especially for mirred action we are now able to cleanup the action upon device unregister event.

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

Cong Wang (4):
net_sched: act: clean up notification functions
net_sched: act: move idx_gen to struct tcf_hash_info
net_sched: mirred: remove action when the target device is gone
net_sched: mirred: notify user-space when action gets removed

 include/net/act_api.h          |   8 +--
 include/net/tc_act/tc_mirred.h |   1 +
 net/sched/act_api.c            | 110 +++++++++++++++++------------------------
 net/sched/act_csum.c           |   3 +-
 net/sched/act_gact.c           |   3 +-
 net/sched/act_ipt.c            |   3 +-
 net/sched/act_mirred.c         |  31 +++++++-----
 net/sched/act_nat.c            |   3 +-
 net/sched/act_pedit.c          |   3 +-
 net/sched/act_police.c         |   3 +-
 net/sched/act_simple.c         |   3 +-
 net/sched/act_skbedit.c        |   3 +-
 12 files changed, 80 insertions(+), 94 deletions(-)
Signature · 1 line
1.8.3.1