]> 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)
commit15937bbbcc5b18c482e842ff88e94390851d9125
treea5f8913c38e487709f9543533c28b0f1859c9536
parent02f8bccb5786b3b24a48081391c5c68a982628d2
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