Linux-libre 2.6.32.42-gnu1
[librecmc/linux-libre.git] / drivers / net / sfc / tx.h
1 /****************************************************************************
2  * Driver for Solarflare Solarstorm network controllers and boards
3  * Copyright 2006 Fen Systems Ltd.
4  * Copyright 2006-2008 Solarflare Communications Inc.
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License version 2 as published
8  * by the Free Software Foundation, incorporated herein by reference.
9  */
10
11 #ifndef EFX_TX_H
12 #define EFX_TX_H
13
14 #include "net_driver.h"
15
16 int efx_probe_tx_queue(struct efx_tx_queue *tx_queue);
17 void efx_remove_tx_queue(struct efx_tx_queue *tx_queue);
18 void efx_init_tx_queue(struct efx_tx_queue *tx_queue);
19 void efx_fini_tx_queue(struct efx_tx_queue *tx_queue);
20
21 netdev_tx_t efx_hard_start_xmit(struct sk_buff *skb,
22                                       struct net_device *net_dev);
23 void efx_release_tx_buffers(struct efx_tx_queue *tx_queue);
24
25 #endif /* EFX_TX_H */