• Stefan Assmann's avatar
    igb: increase timeout for ethtool offline self-test · 4507dc9f
    Stefan Assmann authored
    On several machines with i350 adapters the ethtool offline self-test sometimes
    fails. This happens because link auto negotiation may take longer than the
    timeout of 4 seconds. Increasing the timeout by 1 seconds resolves the issue.
    
    Output from a failing i350 offline self-test:
    while [ 1 ]; do ethtool -t eth2 offline; done
    The test result is PASS
    The test extra info:
    Register test  (offline)         0
    Eeprom test    (offline)         0
    Interrupt test (offline)         0
    Loopback test  (offline)         0
    Link test   (on/offline)         0
    
    The test result is FAIL
    The test extra info:
    Register test  (offline)         0
    Eeprom test    (offline)         0
    Interrupt test (offline)         0
    Loopback test  (offline)         0
    Link test   (on/offline)         1
    
    The test result is PASS
    The test extra info:
    Register test  (offline)         0
    Eeprom test    (offline)         0
    Interrupt test (offline)         0
    Loopback test  (offline)         0
    Link test   (on/offline)         0
    Signed-off-by: default avatarStefan Assmann <sassmann@kpanic.de>
    Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    4507dc9f
igb_ethtool.c 76.6 KB