summaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/tx.h
blob: e3678962a5b46a463c247cb3a88d4938e3cda1b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/****************************************************************************
 * Driver for Solarflare Solarstorm network controllers and boards
 * Copyright 2006 Fen Systems Ltd.
 * Copyright 2006-2008 Solarflare Communications Inc.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 as published
 * by the Free Software Foundation, incorporated herein by reference.
 */

#ifndef EFX_TX_H
#define EFX_TX_H

#include "net_driver.h"

int efx_probe_tx_queue(struct efx_tx_queue *tx_queue);
void efx_remove_tx_queue(struct efx_tx_queue *tx_queue);
void efx_init_tx_queue(struct efx_tx_queue *tx_queue);
void efx_fini_tx_queue(struct efx_tx_queue *tx_queue);

netdev_tx_t efx_hard_start_xmit(struct sk_buff *skb,
				      struct net_device *net_dev);
void efx_release_tx_buffers(struct efx_tx_queue *tx_queue);

#endif /* EFX_TX_H */
OpenPOWER on IntegriCloud