WSL2-Linux-Kernel/drivers/net/vmxnet3
Ronak Doshi 304aa6a731 vmxnet3: fix minimum vectors alloc issue
[ Upstream commit f71ef02f1a ]

'Commit 39f9895a00 ("vmxnet3: add support for 32 Tx/Rx queues")'
added support for 32Tx/Rx queues. Within that patch, value of
VMXNET3_LINUX_MIN_MSIX_VECT was updated.

However, there is a case (numvcpus = 2) which actually requires 3
intrs which matches VMXNET3_LINUX_MIN_MSIX_VECT which then is
treated as failure by stack to allocate more vectors. This patch
fixes this issue.

Fixes: 39f9895a00 ("vmxnet3: add support for 32 Tx/Rx queues")
Signed-off-by: Ronak Doshi <doshir@vmware.com>
Acked-by: Guolin Yang <gyang@vmware.com>
Link: https://lore.kernel.org/r/20211207081737.14000-1-doshir@vmware.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-12-17 10:30:14 +01:00
..
Makefile vmxnet3: prepare for version 6 changes 2021-07-16 17:32:14 -07:00
upt1_defs.h vmxnet3: prepare for version 6 changes 2021-07-16 17:32:14 -07:00
vmxnet3_defs.h vmxnet3: increase maximum configurable mtu to 9190 2021-07-16 17:32:14 -07:00
vmxnet3_drv.c vmxnet3: fix minimum vectors alloc issue 2021-12-17 10:30:14 +01:00
vmxnet3_ethtool.c ethtool: extend coalesce setting uAPI with CQE mode 2021-08-24 07:38:29 -07:00
vmxnet3_int.h vmxnet3: update to version 6 2021-07-16 17:32:14 -07:00