···268268}269269#endif /* EFX_USE_PIO */270270271271-/* Remove buffers put into a tx_queue for the current packet.272272- * None of the buffers must have an skb attached.273273- */274274-static void efx_enqueue_unwind(struct efx_tx_queue *tx_queue,275275- unsigned int insert_count)276276-{277277- struct efx_tx_buffer *buffer;278278- unsigned int bytes_compl = 0;279279- unsigned int pkts_compl = 0;280280-281281- /* Work backwards until we hit the original insert pointer value */282282- while (tx_queue->insert_count != insert_count) {283283- --tx_queue->insert_count;284284- buffer = __efx_tx_queue_get_insert_buffer(tx_queue);285285- efx_dequeue_buffer(tx_queue, buffer, &pkts_compl, &bytes_compl);286286- }287287-}288288-289271/*290272 * Fallback to software TSO.291273 *
+18
drivers/net/ethernet/sfc/tx_common.c
···267267 }268268}269269270270+/* Remove buffers put into a tx_queue for the current packet.271271+ * None of the buffers must have an skb attached.272272+ */273273+void efx_enqueue_unwind(struct efx_tx_queue *tx_queue,274274+ unsigned int insert_count)275275+{276276+ struct efx_tx_buffer *buffer;277277+ unsigned int bytes_compl = 0;278278+ unsigned int pkts_compl = 0;279279+280280+ /* Work backwards until we hit the original insert pointer value */281281+ while (tx_queue->insert_count != insert_count) {282282+ --tx_queue->insert_count;283283+ buffer = __efx_tx_queue_get_insert_buffer(tx_queue);284284+ efx_dequeue_buffer(tx_queue, buffer, &pkts_compl, &bytes_compl);285285+ }286286+}287287+270288struct efx_tx_buffer *efx_tx_map_chunk(struct efx_tx_queue *tx_queue,271289 dma_addr_t dma_addr, size_t len)272290{