vmxnet3: remove power of 2 limitation on the queues
authorRonak Doshi <doshir@vmware.com>
Fri, 16 Jul 2021 22:36:22 +0000 (15:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Jul 2021 00:32:14 +0000 (17:32 -0700)
commit15ccf2f4b09c4443435e815b8086bc161da27e24
treeebffb82022b6cc2634bab96f2e7dff9f6eac79f4
parent39f9895a00f4c5f50e4e0a94f710c6a87afb1920
vmxnet3: remove power of 2 limitation on the queues

With version 6, vmxnet3 relaxes the restriction on queues to
be power of two. This is helpful in cases (Edge VM) where
vcpus are less than 8 and device requires more than 4 queues.

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_drv.c