be2net: refactor code that decides adapter->num_rx_queues
authorSathya Perla <sathya.perla@emulex.com>
Mon, 21 Mar 2011 20:49:25 +0000 (20:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Mar 2011 04:39:19 +0000 (21:39 -0700)
commitac6a0c4aab16070d7d55f49a52de33f716ae1d3d
tree4b61658c9c3cbe141e18d667cc715c20992430b8
parent311fddc7569d7a3340d61de262cff11685060f74
be2net: refactor code that decides adapter->num_rx_queues

The code has been refactored to not set num_rx_qs inside be_enable_msix().
num_rx_qs is now set at the time of queue creation based on the number of
available msix vectors.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be.h
drivers/net/benet/be_main.c