aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/ef100_tx.h
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-08-03 21:34:00 +0100
committerDavid S. Miller <davem@davemloft.net>2020-08-03 18:22:54 -0700
commitd19a5372186336df8a90391c1ae2011e03310dca (patch)
tree683b3b04ed9016ea0bf8c7712dee988677c93690 /drivers/net/ethernet/sfc/ef100_tx.h
parentsfc_ef100: read Design Parameters at probe time (diff)
downloadlinux-dev-d19a5372186336df8a90391c1ae2011e03310dca.tar.xz
linux-dev-d19a5372186336df8a90391c1ae2011e03310dca.zip
sfc_ef100: TX path for EF100 NICs
Includes checksum offload and TSO, so declare those in our netdev features. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/ef100_tx.h')
-rw-r--r--drivers/net/ethernet/sfc/ef100_tx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/ef100_tx.h b/drivers/net/ethernet/sfc/ef100_tx.h
index 9a472f7aff43..fa23e430bdd7 100644
--- a/drivers/net/ethernet/sfc/ef100_tx.h
+++ b/drivers/net/ethernet/sfc/ef100_tx.h
@@ -17,6 +17,10 @@
int ef100_tx_probe(struct efx_tx_queue *tx_queue);
void ef100_tx_init(struct efx_tx_queue *tx_queue);
void ef100_tx_write(struct efx_tx_queue *tx_queue);
+void ef100_notify_tx_desc(struct efx_tx_queue *tx_queue);
+unsigned int ef100_tx_max_skb_descs(struct efx_nic *efx);
+
+void ef100_ev_tx(struct efx_channel *channel, const efx_qword_t *p_event);
netdev_tx_t ef100_enqueue_skb(struct efx_tx_queue *tx_queue, struct sk_buff *skb);
#endif