aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c')
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
index ce81ce0698b3..2dc78d7e297a 100644
--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
@@ -193,6 +193,9 @@ static bool ixgbevf_clean_tx_irq(struct ixgbevf_q_vector *q_vector,
193 unsigned int i, eop, count = 0; 193 unsigned int i, eop, count = 0;
194 unsigned int total_bytes = 0, total_packets = 0; 194 unsigned int total_bytes = 0, total_packets = 0;
195 195
196 if (test_bit(__IXGBEVF_DOWN, &adapter->state))
197 return true;
198
196 i = tx_ring->next_to_clean; 199 i = tx_ring->next_to_clean;
197 eop = tx_ring->tx_buffer_info[i].next_to_watch; 200 eop = tx_ring->tx_buffer_info[i].next_to_watch;
198 eop_desc = IXGBEVF_TX_DESC(tx_ring, eop); 201 eop_desc = IXGBEVF_TX_DESC(tx_ring, eop);