Date: Fri, 9 Jul 2010 00:38:00 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/cxgb cxgb_adapter.h cxgb_main.c src/sys/dev/cxgb/common cxgb_ael1002.c cxgb_common.h cxgb_t3_hw.c Message-ID: <201007090038.o690cUCU038507@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
np 2010-07-09 00:38:00 UTC FreeBSD src repository Modified files: sys/dev/cxgb cxgb_adapter.h cxgb_main.c sys/dev/cxgb/common cxgb_ael1002.c cxgb_common.h cxgb_t3_hw.c Log: SVN rev 209841 on 2010-07-09 00:38:00Z by np Improve cxgb(4)'s behaviour when faced with temporarily "bouncy" links: - Run the adapter's tick at 1Hz and remove link state checks from it. Instead, have each port check its link state. Delay the check so that it takes place slightly after the driver is notified of a change in link state. This is a cheap way to debounce these notifications if many are received in rapid succession. POLL_LINK_1ST_TIME flag can also be eliminated as a side effect of these changes. - Do not reset the PHY when link goes down. - Clear port's link_fault flag if the PHY indicates link is down. - get_link_status_r should leave speed and duplex alone when link is down. MFC after: 1 month Revision Changes Path 1.18 +3 -2 src/sys/dev/cxgb/common/cxgb_ael1002.c 1.21 +0 -1 src/sys/dev/cxgb/common/cxgb_common.h 1.25 +10 -10 src/sys/dev/cxgb/common/cxgb_t3_hw.c 1.57 +3 -4 src/sys/dev/cxgb/cxgb_adapter.h 1.116 +39 -23 src/sys/dev/cxgb/cxgb_main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007090038.o690cUCU038507>