svn commit: r215025 - head/sys/dev/re

Pyun YongHyeon yongari at FreeBSD.org
Tue Nov 9 01:52:09 UTC 2010


Author: yongari
Date: Tue Nov  9 01:52:09 2010
New Revision: 215025
URL: http://svn.freebsd.org/changeset/base/215025

Log:
  Only moderate TX completion interrupts. Relying on taskqueue to
  suppress RX interrupts seems to give better RX performance than
  RX interrupt moderation.

Modified:
  head/sys/dev/re/if_re.c

Modified: head/sys/dev/re/if_re.c
==============================================================================
--- head/sys/dev/re/if_re.c	Tue Nov  9 00:27:18 2010	(r215024)
+++ head/sys/dev/re/if_re.c	Tue Nov  9 01:52:09 2010	(r215025)
@@ -2728,7 +2728,7 @@ re_init_locked(struct rl_softc *sc)
 			break;
 		default:
 			/* Magic from vendor. */
-			CSR_WRITE_2(sc, RL_INTRMOD, 0x5151);
+			CSR_WRITE_2(sc, RL_INTRMOD, 0x5100);
 			break;
 		}
 	}


More information about the svn-src-head mailing list