]> git.baikalelectronics.ru Git - kernel.git/commit
vmxnet3: add support for 32 Tx/Rx queues
authorRonak Doshi <doshir@vmware.com>
Fri, 16 Jul 2021 22:36:21 +0000 (15:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Jul 2021 00:32:14 +0000 (17:32 -0700)
commit39f9895a00f4c5f50e4e0a94f710c6a87afb1920
tree0eda4337112e0fa5f844b97dd6aa121e9514da12
parent69dbef0d1c22476c422ee255e99d0e112ddd829d
vmxnet3: add support for 32 Tx/Rx queues

Currently, vmxnet3 supports maximum of 8 Tx/Rx queues. With increase
in number of vcpus on a VM, to achieve better performance and utilize
idle vcpus, we need to increase the max number of queues supported.

This patch enhances vmxnet3 to support maximum of 32 Tx/Rx queues.
Increasing the Rx queues also increases the probability of distrubuting
the traffic from different flows to different queues with RSS.

Signed-off-by: Ronak Doshi <doshir@vmware.com>
Acked-by: Guolin Yang <gyang@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_defs.h
drivers/net/vmxnet3/vmxnet3_drv.c
drivers/net/vmxnet3/vmxnet3_int.h