Skip to content

net/sched: complete action notification accounting

Victor Nogueira netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net/sched: act_mirred: account for TCA_MIRRED_BLOCKID in get_fill_sizenet/sched/act_mirred.c+2 -10 repliesApplied
2/3net/sched: add get_fill_size() to the five actions that lack onenet/sched/act_connmark.c net/sched/act_mpls.c net/sched/act_nat.c +2 more+39 -00 repliesApplied
3/3net/sched: act_api: budget TCA_ROOT_EXT_WARN_MSG in notify skbsnet/sched/act_api.c+13 -20 repliesApplied

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSimon Horman
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] net/sched: complete action notification accounting

The action notification paths size their skb from each action's get_fill_size() callback, but three gaps remain: one callback undercounts (TCA_MIRRED_BLOCKID), five actions have no callback at all, and the TCA_ROOT_EXT_WARN_MSG attribute is unbudgeted.

Patch 1 fixes the mirred callback for TCA_MIRRED_BLOCKID. Patch 2 adds get_fill_size() to act_simple, act_mpls, act_nat, act_skbmod and act_connmark, the five actions that still lack one.
Patch 3 budgets TCA_ROOT_EXT_WARN_MSG.

Victor Nogueira (3):
net/sched: act_mirred: account for TCA_MIRRED_BLOCKID in get_fill_size net/sched: add get_fill_size() to the five actions that lack one net/sched: act_api: budget TCA_ROOT_EXT_WARN_MSG in notify skbs

 net/sched/act_api.c      | 15 +++++++++++++--
 net/sched/act_connmark.c |  6 ++++++
 net/sched/act_mirred.c   |  3 ++- 
 net/sched/act_mpls.c     | 11 +++++++++++
 net/sched/act_nat.c      |  6 ++++++
 net/sched/act_simple.c   |  7 +++++++
 net/sched/act_skbmod.c   |  9 +++++++++
 7 files changed, 54 insertions(+), 3 deletions(-) 
Signature · 1 line
2.43.0