linux/drivers/net/igb
David S. Miller fd2ea0a79f net: Use queue aware tests throughout.
This effectively "flips the switch" by making the core networking
and multiqueue-aware drivers use the new TX multiqueue structures.

Non-multiqueue drivers need no changes.  The interfaces they use such
as netif_stop_queue() degenerate into an operation on TX queue zero.
So everything "just works" for them.

Code that really wants to do "X" to all TX queues now invokes a
routine that does so, such as netif_tx_wake_all_queues(),
netif_tx_stop_all_queues(), etc.

pktgen and netpoll required a little bit more surgery than the others.

In particular the pktgen changes, whilst functional, could be largely
improved.  The initial check in pktgen_xmit() will sometimes check the
wrong queue, which is mostly harmless.  The thing to do is probably to
invoke fill_packet() earlier.

The bulk of the netpoll changes is to make the code operate solely on
the TX queue indicated by by the SKB queue mapping.

Setting of the SKB queue mapping is entirely confined inside of
net/core/dev.c:dev_pick_tx().  If we end up needing any kind of
special semantics (drops, for example) it will be implemented here.

Finally, we now have a "real_num_tx_queues" which is where the driver
indicates how many TX queues are actually active.

With IGB changes from Jeff Kirsher.

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-17 19:21:07 -07:00
..
e1000_82575.c igb: add 82576 MAC support 2008-07-11 01:20:32 -04:00
e1000_82575.h igb: add support for in kernel LRO 2008-07-11 01:20:32 -04:00
e1000_defines.h igb: add 82576 MAC support 2008-07-11 01:20:32 -04:00
e1000_hw.h igb: add 82576 MAC support 2008-07-11 01:20:32 -04:00
e1000_mac.c igb: add 82576 MAC support 2008-07-11 01:20:32 -04:00
e1000_mac.h igb: add 82576 MAC support 2008-07-11 01:20:32 -04:00
e1000_nvm.c igb: eliminate hw from the hw_dbg macro arguments 2008-07-04 08:46:59 -04:00
e1000_nvm.h igb: PCI-Express 82575 Gigabit Ethernet driver 2008-01-28 15:10:33 -08:00
e1000_phy.c igb: eliminate hw from the hw_dbg macro arguments 2008-07-04 08:46:59 -04:00
e1000_phy.h igb: PCI-Express 82575 Gigabit Ethernet driver 2008-01-28 15:10:33 -08:00
e1000_regs.h igb: add 82576 MAC support 2008-07-11 01:20:32 -04:00
igb_ethtool.c igb: Improve multiqueue AIM support 2008-07-11 01:20:33 -04:00
igb_main.c net: Use queue aware tests throughout. 2008-07-17 19:21:07 -07:00
igb.h igb: Kill CONFIG_NETDEVICES_MULTIQUEUE references, no longer exists. 2008-07-17 19:20:58 -07:00
Makefile igb: PCI-Express 82575 Gigabit Ethernet driver 2008-01-28 15:10:33 -08:00