diff options
author | Edward Cree <ecree@solarflare.com> | 2020-08-03 23:34:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-04 04:22:54 +0300 |
commit | d19a5372186336df8a90391c1ae2011e03310dca (patch) | |
tree | 683b3b04ed9016ea0bf8c7712dee988677c93690 /drivers/net/ethernet/sfc/ef100_tx.h | |
parent | adcfc3482ffff813fa2c34e5902005853f79c2aa (diff) | |
download | linux-d19a5372186336df8a90391c1ae2011e03310dca.tar.xz |
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.h | 4 |
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 |