summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/nic_common.h
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-06-30 13:12:49 +0100
committerDavid S. Miller <davem@davemloft.net>2020-06-30 13:09:09 -0700
commit93841000ed9fc86dd9615a1048abb31c07792e0b (patch)
tree7fe250c535462b615af6aec374c83de6323ee88f /drivers/net/ethernet/sfc/nic_common.h
parent740acc15c8a52c959111a9fbad974e9b0e5b4eb7 (diff)
sfc: remove duplicate declaration of efx_enqueue_skb_tso()
Define it in nic_common.h, even though the ef100 driver will have a different implementation backing it (actually a WARN_ON_ONCE as it should never get called by ef100. But it needs to still exist because common TX path code references it). Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/nic_common.h')
-rw-r--r--drivers/net/ethernet/sfc/nic_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/nic_common.h b/drivers/net/ethernet/sfc/nic_common.h
index e90ce85359cb..8d0d163afc0d 100644
--- a/drivers/net/ethernet/sfc/nic_common.h
+++ b/drivers/net/ethernet/sfc/nic_common.h
@@ -110,6 +110,9 @@ static inline bool efx_nic_may_tx_pio(struct efx_tx_queue *tx_queue)
efx_nic_tx_is_empty(partner);
}
+int efx_enqueue_skb_tso(struct efx_tx_queue *tx_queue, struct sk_buff *skb,
+ bool *data_mapped);
+
/* Decide whether to push a TX descriptor to the NIC vs merely writing
* the doorbell. This can reduce latency when we are adding a single
* descriptor to an empty queue, but is otherwise pointless. Further,