From: Kevin Bracey <kevin@bracey.fi>
To: Jakub Kicinski <kuba@kernel.org>
Cc: <netdev@vger.kernel.org>, Eric Dumazet <edumazet@google.com>,
Jiri Pirko <jiri@resnulli.us>, Vimalkumar <j.vimal@gmail.com>
Subject: Re: [PATCH net-next] net_sched: restore "mpu xxx" handling
Date: Wed, 12 Jan 2022 09:02:59 +0200 [thread overview]
Message-ID: <a59fc45e-f9c8-91fe-09a2-e47605c4c0c7@bracey.fi> (raw)
In-Reply-To: <03cc89aa-1837-dacc-29d7-fcf6a5e45284@bracey.fi>
On 12/01/2022 08:36, Kevin Bracey wrote:
>
> Indeed, There has never been any kernel handling of tc_ratespec::mpu -
> the kernel merely stored the value.
>
> The overhead had been similarly passed to the kernel but not
> originally acted on. Linklayer had to be added to tc_ratespec.
Ah, I need to correct myself there. The overhead was originally acted on
in qdisc_l2t. htb_l2t forgot to incorporate it.
So:
* overhead - always passed via tc_ratespec, handled by kernel. HTB
temporarily ignored it.
* linklayer - not originally passed via tc_ratespec, but incorporated
in table. HTB temporarily lost functionality when it stopped using
table. Later passed via ratespec, or inferred from table analysis
for old iproute2.
* mpu - always passed via tc_ratespec, but ignored by kernel.
Incorporated in table. HTB lost functionality when it stopped using
table.
("always" meaning "since iproute2 first had the parameter").
So this is a tad different from the other two - those were making the
kernel act on something it previously acted on. This makes it act on
something it's always been given, but never acted on. But it restores
iproute2+kernel system functionality with no userspace change.
Kevin
next prev parent reply other threads:[~2022-01-12 8:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-07 20:22 [PATCH net-next] net_sched: restore "mpu xxx" handling Kevin Bracey
2022-01-12 5:06 ` Jakub Kicinski
2022-01-12 6:36 ` Kevin Bracey
2022-01-12 7:02 ` Kevin Bracey [this message]
2022-01-12 16:15 ` Jakub Kicinski
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=a59fc45e-f9c8-91fe-09a2-e47605c4c0c7@bracey.fi \
--to=kevin@bracey.fi \
--cc=edumazet@google.com \
--cc=j.vimal@gmail.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=netdev@vger.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;
as well as URLs for NNTP newsgroup(s).