• Jon Mason's avatar
    myri10ge: rework parity error check and cleanup · c689b81b
    Jon Mason authored
    Clean up watchdog reset code:
     - move code that checks for stuck slice to a common routine
     - unless there is a confirmed h/w fault, verify that a stuck
       slice is still stuck in the watchdog worker; if the slice is no
       longer stuck, abort the reset.
     - this removes an egregious 2000ms pause in the watchdog worker that
       was a diagnostic aid (to look for spurious resets) the snuck into
       production code.
    
    v3 includes corrections from Joe Perches
    Signed-off-by: default avatarJon Mason <mason@myri.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c689b81b
myri10ge.c 114 KB