qlge: Allow running MSIx with fewer vectors.
authorRon Mercer <ron.mercer@qlogic.com>
Thu, 27 Aug 2009 11:02:10 +0000 (11:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 06:22:31 +0000 (23:22 -0700)
commita4ab613717184138763c5fb4a4b4bbc354d5b0ee
tree80a69e608482f4a169cfe6ab4d2138c40b98bce6
parentb2014ff8ac314f58d6542ec4ea7b576a2de21c8b
qlge: Allow running MSIx with fewer vectors.

Currently we downshift to MSI/Legacy if we don't get enough vectors for
cpu_count RSS rings plus cpu_count TX completion rings.  This patch
allows running MSIX with the vector count that the platform provides.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c