sfc: Create multiple TX queues
commita4900ac9f7d10ad062e54dd03125e3619e0ac17a
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 28 Apr 2010 09:30:43 +0000 (28 09:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 19:44:44 +0000 (28 12:44 -0700)
tree32a6f316ccbda7994d5c52197d8a2b5ebb60d6da
parent5298c37f4d1f0360082be9d9e3a236b9cc114a03
sfc: Create multiple TX queues

Create a core TX queue and 2 hardware TX queues for each channel.
If separate_tx_channels is set, create equal numbers of RX and TX
channels instead.

Rewrite the channel and queue iteration macros accordingly.
Eliminate efx_channel::used_flags as redundant.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/efx.c
drivers/net/sfc/efx.h
drivers/net/sfc/ethtool.c
drivers/net/sfc/net_driver.h
drivers/net/sfc/nic.c
drivers/net/sfc/selftest.c
drivers/net/sfc/selftest.h
drivers/net/sfc/tx.c