]> git.baikalelectronics.ru Git - kernel.git/commit
veth: create by default nr_possible_cpus queues
authorPaolo Abeni <pabeni@redhat.com>
Tue, 20 Jul 2021 08:41:51 +0000 (10:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jul 2021 13:11:18 +0000 (06:11 -0700)
commite51d421b3f6a479511dfc403db6a417f7ea95347
treea5f8913c38e487709f9543533c28b0f1859c9536
parent4b5bf086ea49daacc5335f723f88dfb2c406e5e1
veth: create by default nr_possible_cpus queues

This allows easier XDP usage. The number of default active
queues is not changed: 1 RX and 1 TX so that this does
not introduce overhead on the datapath for queue selection.

v1 -> v2:
 - drop the module parameter, force default to nr_possible_cpus - Toke

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c