ibmveth: Reduce default tx queues to 8
authorNick Child <nnac123@linux.ibm.com>
Mon, 7 Nov 2022 20:32:15 +0000 (14:32 -0600)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Nov 2022 01:46:24 +0000 (17:46 -0800)
commit742c60e1285ca40642e988f7e3db92232171b27d
tree42eeb520ff70962eab206784cd39006a5971a66f
parentb06334919c7a068d54ba5b219c05e919d89943f7
ibmveth: Reduce default tx queues to 8

Previously, the default number of transmit queues was 16. Due to
resource concerns, set to 8 queues instead. Still allow the user
to set more queues (max 16) if they like.

Since the driver is virtualized away from the physical NIC, the purpose
of multiple queues is purely to allow for parallel calls to the
hypervisor. Therefore, there is no noticeable effect on performance by
reducing queue count to 8.

Fixes: d926793c1de9 ("ibmveth: Implement multi queue on xmit")
Reported-by: Dave Taht <dave.taht@gmail.com>
Signed-off-by: Nick Child <nnac123@linux.ibm.com>
Link: https://lore.kernel.org/r/20221107203215.58206-1-nnac123@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ibm/ibmveth.c
drivers/net/ethernet/ibm/ibmveth.h