vmxnet3: round down # of queues to power of two
authorShreyas Bhatewara <sbhatewara@vmware.com>
Thu, 7 Jul 2011 07:25:52 +0000 (00:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jul 2011 07:25:52 +0000 (00:25 -0700)
vmxnet3 device supports only power-of-two number of queues. The driver
therefore needs to check this and rounds down the number of queues to the
nearest power of two.

Signed-off-by: Yong Wang <yongwang@vmware.com>
Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Reviewed-by: Dmitry Torokhov <dtor@vmware.com>

No differences found