Only use a power of 2 for the number of receive and transmit queues.
authorjhb <jhb@FreeBSD.org>
Mon, 16 Nov 2015 21:36:50 +0000 (21:36 +0000)
committerjhb <jhb@FreeBSD.org>
Mon, 16 Nov 2015 21:36:50 +0000 (21:36 +0000)
commitafb0cf753729c46a4352a25759e56706565a897a
tree9ddb5ebef396cd2f882c77885e8d9847956defc4
parent4a83aa80d5b0f882bababcbb0b8f778d5bbd3d8a
Only use a power of 2 for the number of receive and transmit queues.
Using other values causes VMXNET3_CMD_ENABLE to fail.  The Linux
driver also enforces this restriction.

Reviewed by: bryanv
MFC after: 1 week
Sponsored by: Norse
Differential Revision: https://reviews.freebsd.org/D4139
sys/dev/vmware/vmxnet3/if_vmx.c