diff options
author | Alex Maftei (amaftei) | 2020-01-10 13:26:46 +0000 |
---|---|---|
committer | David S. Miller | 2020-01-10 11:24:37 -0800 |
commit | b8cd94992f1758d1574f5871335fdaaf726c0944 (patch) | |
tree | 84896c305533bd61265a5072325a5064d4c5e437 /drivers/net/ethernet/sfc/tx_common.h | |
parent | 86de7ced410f647812c16be26a261be0a591188b (diff) |
sfc: move more tx code
The code that handles transmission finalization will also be common.
Signed-off-by: Alexandru-Mihai Maftei <amaftei@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/tx_common.h')
-rw-r--r-- | drivers/net/ethernet/sfc/tx_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/tx_common.h b/drivers/net/ethernet/sfc/tx_common.h index afdfc79a8ea0..58add94ab500 100644 --- a/drivers/net/ethernet/sfc/tx_common.h +++ b/drivers/net/ethernet/sfc/tx_common.h @@ -21,6 +21,8 @@ void efx_dequeue_buffer(struct efx_tx_queue *tx_queue, unsigned int *pkts_compl, unsigned int *bytes_compl); +void efx_xmit_done(struct efx_tx_queue *tx_queue, unsigned int index); + struct efx_tx_buffer *efx_tx_map_chunk(struct efx_tx_queue *tx_queue, dma_addr_t dma_addr, size_t len); int efx_tx_map_data(struct efx_tx_queue *tx_queue, struct sk_buff *skb, |