Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>, Shuah Khan <shuah@kernel.org>,
toke@redhat.com
Subject: [PATCH net-next 0/5] veth: more flexible channels number configuration
Date: Tue, 20 Jul 2021 10:41:47 +0200 [thread overview]
Message-ID: <cover.1626768072.git.pabeni@redhat.com> (raw)
XDP setups can benefit from multiple veth RX/TX queues. Currently
veth allow setting such number only at creation time via the
'numrxqueues' and 'numtxqueues' parameters.
This series introduces support for the ethtool set_channel operation
and allows configuring the queue number via a new module parameter.
The veth default configuration is not changed.
Finally self-tests are updated to check the new features, with both
valid and invalid arguments.
This iteration is a rebase of the most recent RFC, it does not provide
a module parameter to configure the default number of queues, but I
think could be worthy
RFC v1 -> RFC v2:
- report more consistent 'combined' count
- make set_channel as resilient as possible to errors
- drop module parameter - but I would still consider it.
- more self-tests
Paolo Abeni (5):
veth: always report zero combined channels
veth: factor out initialization helper
veth: implement support for set_channel ethtool op
veth: create by default nr_possible_cpus queues
selftests: net: veth: add tests for set_channel
drivers/net/veth.c | 305 +++++++++++++++++++++++-----
tools/testing/selftests/net/veth.sh | 183 ++++++++++++++++-
2 files changed, 434 insertions(+), 54 deletions(-)
--
2.26.3
next reply other threads:[~2021-07-20 8:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-20 8:41 Paolo Abeni [this message]
2021-07-20 8:41 ` [PATCH net-next 1/5] veth: always report zero combined channels Paolo Abeni
2021-07-20 8:41 ` [PATCH net-next 2/5] veth: factor out initialization helper Paolo Abeni
2021-07-20 8:41 ` [PATCH net-next 3/5] veth: implement support for set_channel ethtool op Paolo Abeni
2021-07-20 8:41 ` [PATCH net-next 4/5] veth: create by default nr_possible_cpus queues Paolo Abeni
2021-07-20 8:41 ` [PATCH net-next 5/5] selftests: net: veth: add tests for set_channel Paolo Abeni
2021-07-20 13:30 ` [PATCH net-next 0/5] veth: more flexible channels number configuration 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=cover.1626768072.git.pabeni@redhat.com \
--to=pabeni@redhat.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shuah@kernel.org \
--cc=toke@redhat.com \
--subject='Re: [PATCH net-next 0/5] veth: more flexible channels number configuration' \
/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
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).