svn commit: r280517 - stable/10/sys/dev/sfxge

Andrew Rybchenko arybchik at FreeBSD.org
Wed Mar 25 10:21:43 UTC 2015


Author: arybchik
Date: Wed Mar 25 10:21:42 2015
New Revision: 280517
URL: https://svnweb.freebsd.org/changeset/base/280517

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

Modified:
  stable/10/sys/dev/sfxge/sfxge_ev.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sfxge/sfxge_ev.c
==============================================================================
--- stable/10/sys/dev/sfxge/sfxge_ev.c	Wed Mar 25 10:20:42 2015	(r280516)
+++ stable/10/sys/dev/sfxge/sfxge_ev.c	Wed Mar 25 10:21:42 2015	(r280517)
@@ -870,7 +870,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-stable mailing list