|
@@ -201,6 +201,9 @@ static bool ixgbevf_clean_tx_irq(struct ixgbevf_adapter *adapter,
|
|
|
unsigned int i, eop, count = 0;
|
|
|
unsigned int total_bytes = 0, total_packets = 0;
|
|
|
|
|
|
+ if (test_bit(__IXGBEVF_DOWN, &adapter->state))
|
|
|
+ return true;
|
|
|
+
|
|
|
i = tx_ring->next_to_clean;
|
|
|
eop = tx_ring->tx_buffer_info[i].next_to_watch;
|
|
|
eop_desc = IXGBE_TX_DESC_ADV(*tx_ring, eop);
|