From: Victor Nogueira <victor@mojatatu.com>
To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, jhs@mojatatu.com, jiri@resnulli.us,
netdev@vger.kernel.org
Cc: horms@kernel.org, hybris@mojatatu.ai, sashiko-bot@kernel.org
Subject: [PATCH net-next 0/3] net/sched: complete action notification accounting
Date: Sat, 19 Sep 2026 20:04:26 -0300 [thread overview]
Message-ID: <QDISC-RYTB.v1.20260918093205@mojatatu.com> (raw)
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(-)
--
2.43.0
next reply other threads:[~2026-09-19 23:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-19 23:04 Victor Nogueira [this message]
2026-09-19 23:04 ` [PATCH net-next 1/3] net/sched: act_mirred: account for TCA_MIRRED_BLOCKID in get_fill_size Victor Nogueira
2026-09-19 23:04 ` [PATCH net-next 2/3] net/sched: add get_fill_size() to the five actions that lack one Victor Nogueira
2026-09-19 23:04 ` [PATCH net-next 3/3] net/sched: act_api: budget TCA_ROOT_EXT_WARN_MSG in notify skbs Victor Nogueira
2026-09-21 16:13 ` [PATCH net-next 0/3] net/sched: complete action notification accounting Simon Horman
2026-09-22 11:00 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=QDISC-RYTB.v1.20260918093205@mojatatu.com \
--to=victor@mojatatu.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=hybris@mojatatu.ai \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sashiko-bot@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox