]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f583321865161b2b0d128d8aeb646ee78a48eb2
treeebffb82022b6cc2634bab96f2e7dff9f6eac79f4
parent4f9f3aa6b85213d984f5d774fbe5e63e83847279
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