Skip to content

Commit

Permalink
Merge branch 'veth-flexible-channel-numbers'
Browse files Browse the repository at this point in the history
Paolo Abeni says:

====================
veth: more flexible channels number configuration

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
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 20, 2021
2 parents 2c6ad20 + 1ec2230 commit e4b1dc4
Show file tree
Hide file tree
Showing 2 changed files with 434 additions and 54 deletions.
Loading

0 comments on commit e4b1dc4

Please sign in to comment.