|
@@ -661,7 +661,7 @@ static void ixgbe_update_xoff_received(struct ixgbe_adapter *adapter)
|
|
|
|
|
|
static u64 ixgbe_get_tx_completed(struct ixgbe_ring *ring)
|
|
|
{
|
|
|
- return ring->tx_stats.completed;
|
|
|
+ return ring->stats.packets;
|
|
|
}
|
|
|
|
|
|
static u64 ixgbe_get_tx_pending(struct ixgbe_ring *ring)
|
|
@@ -760,9 +760,6 @@ static bool ixgbe_clean_tx_irq(struct ixgbe_q_vector *q_vector,
|
|
|
if (!(eop_desc->wb.status & cpu_to_le32(IXGBE_TXD_STAT_DD)))
|
|
|
break;
|
|
|
|
|
|
- /* count the packet as being completed */
|
|
|
- tx_ring->tx_stats.completed++;
|
|
|
-
|
|
|
/* clear next_to_watch to prevent false hangs */
|
|
|
tx_buffer->next_to_watch = NULL;
|
|
|
|