ixgbevf: fix possible divide by zero in ixgbevf_update_itr
authorYoung Xiao <92siuyang@gmail.com>
Tue, 28 May 2019 11:58:02 +0000 (19:58 +0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 26 Jun 2019 16:18:54 +0000 (09:18 -0700)
commite0f0be7dee97dfa01d5c90ab45c1302600604bda
treeadf6a51d3d8b97fe55ac34b565a62a756194a5a6
parent655c91414579d7bb115a4f7898ee726fc18e0984
ixgbevf: fix possible divide by zero in ixgbevf_update_itr

The next call to ixgbevf_update_itr will continue to dynamically
update ITR.

Copy from commit bdbeefe8ea8c ("ixgbe: fix possible divide by zero in
ixgbe_update_itr")

Signed-off-by: Young Xiao <92siuyang@gmail.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c