diff options
author | gallatin <gallatin@FreeBSD.org> | 2009-09-21 20:16:10 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2009-09-21 20:16:10 +0000 |
commit | aeed8258a908bdadfeeab09b58aad3a38180ba33 (patch) | |
tree | e94b242b117839bb51b1da08efd2e80ccebf84df /sys/xen | |
parent | 6e8dbac60f31aee3ef35a22c7f79518f6869a278 (diff) | |
download | FreeBSD-src-aeed8258a908bdadfeeab09b58aad3a38180ba33.zip FreeBSD-src-aeed8258a908bdadfeeab09b58aad3a38180ba33.tar.gz |
Improve mxge watchdog routine's ability to reliably reset a failed NIC:
- Mark the link as down, so if watchdog reset fails, link watching
failover software can notice it
- Don't send MXGEFW_CMD_ETHERNET_DOWN if the NIC has been reset, it is
not needed, and will fail on a freshly reset NIC.
- Ensure the transmit routines aren't attempting to PIO write to doorbells
while the NIC is being reset.
- Download the correct f/w, rather than using the EEPROM f/w after reset.
- Export a count of the number of watchdog resets via sysctl
- Zero all f/w stats at reset. This will lead to less confusing
diagnostic output when investigating NIC failures.
MFC after: 3 days
Diffstat (limited to 'sys/xen')
0 files changed, 0 insertions, 0 deletions