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)
commit51a76c30929cc8b7d541f51e634f146e54ea9bb7
treed5f81b1bb1cc640c137142ec53bb0e3d0c0a16ac
parentf124488e4713dc9afa2028553261b1d399286e68
igb: fix ethtool offline test

A bug was introduced with the following patch:

  Commmit bdbc063129e811264cd6c311d8c2d9b95de01231
  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