linux/drivers/net/sfc
Ben Hutchings f7d12cdcbb sfc: Refactor channel and queue lookup and iteration
In preparation for changes to the way channels and queue structures
are allocated, revise the macros and functions used to look up and
iterator over them.

- Replace efx_for_each_tx_queue() with iteration over channels then TX
  queues
- Replace efx_for_each_rx_queue() with iteration over channels then RX
  queues (with one exception, shortly to be removed)
- Introduce efx_get_{channel,rx_queue,tx_queue}() functions to look up
  channels and queues by index
- Introduce efx_channel_get_{rx,tx}_queue() functions to look up a
  channel's queues

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-09-10 12:27:32 -07:00
..
bitfield.h
efx.c sfc: Refactor channel and queue lookup and iteration 2010-09-10 12:27:32 -07:00
efx.h sfc: Remove declarations of functions that no longer exist 2010-09-10 12:27:30 -07:00
enum.h
ethtool.c sfc: Refactor channel and queue lookup and iteration 2010-09-10 12:27:32 -07:00
falcon_boards.c
falcon_gmac.c
falcon_xmac.c
falcon.c
io.h
Kconfig
mac.h
Makefile
mcdi_mac.c
mcdi_pcol.h
mcdi_phy.c
mcdi.c
mcdi.h
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h sfc: Refactor channel and queue lookup and iteration 2010-09-10 12:27:32 -07:00
nic.c sfc: Refactor channel and queue lookup and iteration 2010-09-10 12:27:32 -07:00
nic.h
phy.h
qt202x_phy.c
regs.h
rx.c sfc: Refactor channel and queue lookup and iteration 2010-09-10 12:27:32 -07:00
selftest.c sfc: Refactor channel and queue lookup and iteration 2010-09-10 12:27:32 -07:00
selftest.h
siena.c
spi.h
tenxpress.c
tx.c sfc: Refactor channel and queue lookup and iteration 2010-09-10 12:27:32 -07:00
workarounds.h