mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
61357325f3
In a couple of cases collapse some extra code like: int retval = NETDEV_TX_OK; ... return retval; into return NETDEV_TX_OK; Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
26 lines
921 B
C
26 lines
921 B
C
/****************************************************************************
|
|
* 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 */
|