vmxnet3: Dont allocate extra MSI-x vectors
authorShreyas Bhatewara <sbhatewara@vmware.com>
Fri, 14 Jan 2011 15:00:03 +0000 (15:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Jan 2011 05:21:14 +0000 (21:21 -0800)
commit7e96fbf2320782fb8f0970928026105cd34b41bd
tree90cc51df4564ccc41ff9891f8d863f1a82988aad
parent83d0feffc5695d7dc24c6b8dac9ab265533beb78
vmxnet3: Dont allocate extra MSI-x vectors

In case of single tx and rx queues, three MSI-x vectors are allocated instead
of two. This patch fixes that.

Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c
drivers/net/vmxnet3/vmxnet3_int.h