Merge branch 'veth-flexible-channel-numbers'
authorDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2021 13:23:13 +0000 (06:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2021 13:23:13 +0000 (06:23 -0700)
commit542bb39651d5f98665d637b1683d501fd320212c
tree1abf5208efa6f8760bcfbced231257f085263f42
parent2c0804044781f3de6c19efc01355611b839d5aa1
parent1ec2230fc721e6270b0504c07945a74742c81f81
Merge branch 'veth-flexible-channel-numbers'

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>