svn commit: r277893 - head/sys/dev/sfxge

Andrew Rybchenko arybchik at FreeBSD.org
Thu Jan 29 19:06:15 UTC 2015


Author: arybchik
Date: Thu Jan 29 19:06:14 2015
New Revision: 277893
URL: https://svnweb.freebsd.org/changeset/base/277893

Log:
  sfxge: Use SFXGE_MODERATION to initialize event moderation
  
  Sponsored by:   Solarflare Communications, Inc.
  Approved by:    gnn (mentor)

Modified:
  head/sys/dev/sfxge/sfxge_ev.c

Modified: head/sys/dev/sfxge/sfxge_ev.c
==============================================================================
--- head/sys/dev/sfxge/sfxge_ev.c	Thu Jan 29 19:04:42 2015	(r277892)
+++ head/sys/dev/sfxge/sfxge_ev.c	Thu Jan 29 19:06:14 2015	(r277893)
@@ -875,7 +875,7 @@ sfxge_ev_init(struct sfxge_softc *sc)
 	/* Set default interrupt moderation; add a sysctl to
 	 * read and change it.
 	 */
-	sc->ev_moderation = 30;
+	sc->ev_moderation = SFXGE_MODERATION;
 	SYSCTL_ADD_PROC(sysctl_ctx, SYSCTL_CHILDREN(sysctl_tree),
 			OID_AUTO, "int_mod", CTLTYPE_UINT|CTLFLAG_RW,
 			sc, 0, sfxge_int_mod_handler, "IU",


More information about the svn-src-all mailing list