mbox series

[net-next,0/5] veth: more flexible channels number configuration

Message ID cover.1626768072.git.pabeni@redhat.com (mailing list archive)
Headers show
Series veth: more flexible channels number configuration | expand

Message

Paolo Abeni July 20, 2021, 8:41 a.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org July 20, 2021, 1:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Tue, 20 Jul 2021 10:41:47 +0200 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/5] veth: always report zero combined channels
    https://git.kernel.org/netdev/net-next/c/f7918b79019f
  - [net-next,2/5] veth: factor out initialization helper
    https://git.kernel.org/netdev/net-next/c/dedd53c5e075
  - [net-next,3/5] veth: implement support for set_channel ethtool op
    https://git.kernel.org/netdev/net-next/c/4752eeb3d891
  - [net-next,4/5] veth: create by default nr_possible_cpus queues
    https://git.kernel.org/netdev/net-next/c/9d3684c24a52
  - [net-next,5/5] selftests: net: veth: add tests for set_channel
    https://git.kernel.org/netdev/net-next/c/1ec2230fc721

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html