diff options
Diffstat (limited to 'drivers/net/igbvf/netdev.c')
-rw-r--r-- | drivers/net/igbvf/netdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/igbvf/netdev.c b/drivers/net/igbvf/netdev.c index cf26f92e3235..a127620dc653 100644 --- a/drivers/net/igbvf/netdev.c +++ b/drivers/net/igbvf/netdev.c | |||
@@ -827,8 +827,8 @@ static bool igbvf_clean_tx_irq(struct igbvf_ring *tx_ring) | |||
827 | adapter->detect_tx_hung = false; | 827 | adapter->detect_tx_hung = false; |
828 | if (tx_ring->buffer_info[i].time_stamp && | 828 | if (tx_ring->buffer_info[i].time_stamp && |
829 | time_after(jiffies, tx_ring->buffer_info[i].time_stamp + | 829 | time_after(jiffies, tx_ring->buffer_info[i].time_stamp + |
830 | (adapter->tx_timeout_factor * HZ)) | 830 | (adapter->tx_timeout_factor * HZ)) && |
831 | && !(er32(STATUS) & E1000_STATUS_TXOFF)) { | 831 | !(er32(STATUS) & E1000_STATUS_TXOFF)) { |
832 | 832 | ||
833 | tx_desc = IGBVF_TX_DESC_ADV(*tx_ring, i); | 833 | tx_desc = IGBVF_TX_DESC_ADV(*tx_ring, i); |
834 | /* detected Tx unit hang */ | 834 | /* detected Tx unit hang */ |