From: Stephen Hemminger <stephen@networkplumber.org>
To: Amritha Nambiar <amritha.nambiar@intel.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org,
jhs@mojatatu.com, jiri@resnulli.us, xiyou.wangcong@gmail.com,
john.fastabend@gmail.com, alexander.duyck@gmail.com,
vinicius.gomes@intel.com, vedang.patel@intel.com,
sridhar.samudrala@intel.com
Subject: Re: [net-next,RFC PATCH] net: Extend TC limit beyond 16 to 255
Date: Fri, 23 Apr 2021 14:19:37 -0700 [thread overview]
Message-ID: <20210423141937.3c8a8da1@hermes.local> (raw)
In-Reply-To: <161921234046.33211.14393307850365339307.stgit@anambiarhost.jf.intel.com>
On Fri, 23 Apr 2021 14:12:20 -0700
Amritha Nambiar <amritha.nambiar@intel.com> wrote:
> Extend the max limit of TCs to 255 (max value of 8-bit num_tc)
> from current max of 16. This would allow creating more than 16
> queue-sets and offloading them on devices with large number of
> queues using the mqprio scheduler.
> Also, changed the static allocation of struct
> tc_mqprio_qopt_offload mqprio to dynamic allocation on heap to
> fit within frame size as the size of attributes increases
> proportionally with the max number of TCs.
>
> Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
This breaks the userspace API, similar things have been proposed
before and rejected.
prev parent reply other threads:[~2021-04-23 21:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-23 21:12 [net-next,RFC PATCH] net: Extend TC limit beyond 16 to 255 Amritha Nambiar
2021-04-23 21:19 ` Stephen Hemminger [this message]
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=20210423141937.3c8a8da1@hermes.local \
--to=stephen@networkplumber.org \
--cc=alexander.duyck@gmail.com \
--cc=amritha.nambiar@intel.com \
--cc=davem@davemloft.net \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=john.fastabend@gmail.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sridhar.samudrala@intel.com \
--cc=vedang.patel@intel.com \
--cc=vinicius.gomes@intel.com \
--cc=xiyou.wangcong@gmail.com \
/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).