aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/tx_common.h
diff options
context:
space:
mode:
authorAlex Maftei (amaftei) <amaftei@solarflare.com>2020-01-10 13:26:46 +0000
committerDavid S. Miller <davem@davemloft.net>2020-01-10 11:24:37 -0800
commitb8cd94992f1758d1574f5871335fdaaf726c0944 (patch)
tree84896c305533bd61265a5072325a5064d4c5e437 /drivers/net/ethernet/sfc/tx_common.h
parentsfc: refactor selftest work init code (diff)
downloadlinux-dev-b8cd94992f1758d1574f5871335fdaaf726c0944.tar.xz
linux-dev-b8cd94992f1758d1574f5871335fdaaf726c0944.zip
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.h2
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,