]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
sfc: Create multiple TX queues
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 28 Apr 2010 09:30:43 +0000 (09:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 19:44:44 +0000 (12:44 -0700)
commita4900ac9f7d10ad062e54dd03125e3619e0ac17a
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