]> git.baikalelectronics.ru Git - kernel.git/commit
igb: fix ethtool offline test
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 19 Jan 2012 18:31:34 +0000 (18:31 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 13 Mar 2012 03:10:58 +0000 (20:10 -0700)
commit042182c7d8e005eb7abdad34c9c511526323deac
treed5f81b1bb1cc640c137142ec53bb0e3d0c0a16ac
parent31d7da53a937ba183a03eca90b01ac6fd9a2af90
igb: fix ethtool offline test

A bug was introduced with the following patch:

  Commmit 5656091e3f7b66a1037ba1e61059d141631a9999
  Author: Eric Dumazet <eric.dumazet@gmail.com>
  igb: Add support for byte queue limits.

The ethtool offline tests will cause a perpetual link flap, this
is because the tests also need to account for byte queue limits (BQL).

CC: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
drivers/net/ethernet/intel/igb/igb_ethtool.c