Merge branch 'veth-flexible-channel-numbers'
authorDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2021 13:11:28 +0000 (06:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2021 13:11:28 +0000 (06:11 -0700)
commite4b1dc43ec3250899356cf1de1820bf8fec8b30e
treea9ea789902e2d66ad3e70af6f179fa1cdc11dad6
parent2c6ad20b581e37d6331010ee1d28b3307c90ba0a
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>