summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/efx.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2011-01-12 18:39:40 +0000
committerBen Hutchings <bhutchings@solarflare.com>2011-02-15 19:45:34 +0000
commit60031fcc17057e21566ed34ba23e93fffda1aa27 (patch)
tree820a3b0c418cd3d8664d61e4b36f634f07c59614 /drivers/net/sfc/efx.h
parent5c56580b74e57e56f30e3c5bbc9d7ab487858497 (diff)
downloadop-kernel-dev-60031fcc17057e21566ed34ba23e93fffda1aa27.zip
op-kernel-dev-60031fcc17057e21566ed34ba23e93fffda1aa27.tar.gz
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>
Diffstat (limited to 'drivers/net/sfc/efx.h')
-rw-r--r--drivers/net/sfc/efx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sfc/efx.h b/drivers/net/sfc/efx.h
index d43a7e5..1162070 100644
--- a/drivers/net/sfc/efx.h
+++ b/drivers/net/sfc/efx.h
@@ -29,6 +29,7 @@
extern int efx_probe_tx_queue(struct efx_tx_queue *tx_queue);
extern void efx_remove_tx_queue(struct efx_tx_queue *tx_queue);
extern void efx_init_tx_queue(struct efx_tx_queue *tx_queue);
+extern void efx_init_tx_queue_core_txq(struct efx_tx_queue *tx_queue);
extern void efx_fini_tx_queue(struct efx_tx_queue *tx_queue);
extern void efx_release_tx_buffers(struct efx_tx_queue *tx_queue);
extern netdev_tx_t
OpenPOWER on IntegriCloud