sfc: Move TX queue core queue mapping into tx.c
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 12 Jan 2011 18:39:40 +0000 (18:39 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Tue, 15 Feb 2011 19:45:34 +0000 (19:45 +0000)
commit60031fcc17057e21566ed34ba23e93fffda1aa27
tree820a3b0c418cd3d8664d61e4b36f634f07c59614
parent5c56580b74e57e56f30e3c5bbc9d7ab487858497
sfc: Move TX queue core queue mapping into tx.c

efx_hard_start_xmit() needs to implement a mapping which is the
inverse of tx_queue::core_txq.  Move the initialisation of
tx_queue::core_txq next to efx_hard_start_xmit() to make the
connection more obvious.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/sfc/efx.c
drivers/net/sfc/efx.h
drivers/net/sfc/tx.c