]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaafcf1149d849d657686f7dbd92d2368e23be3b2
tree42eeb520ff70962eab206784cd39006a5971a66f
parentd9be8cb3235202d43ebd614bd9bc5d98523daf58
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: 5d333412ce7c ("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