Date: Mon, 21 Sep 2009 20:16:10 +0000 (UTC) From: Andrew Gallatin <gallatin@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/mxge if_mxge.c Message-ID: <200909212016.n8LKGL60008307@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gallatin 2009-09-21 20:16:10 UTC FreeBSD src repository Modified files: sys/dev/mxge if_mxge.c Log: SVN rev 197395 on 2009-09-21 20:16:10Z by gallatin 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 Revision Changes Path 1.66 +72 -27 src/sys/dev/mxge/if_mxge.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909212016.n8LKGL60008307>