diff options
author | arybchik <arybchik@FreeBSD.org> | 2015-03-25 10:21:42 +0000 |
---|---|---|
committer | arybchik <arybchik@FreeBSD.org> | 2015-03-25 10:21:42 +0000 |
commit | 9fb585d33c7f5cbe1201213c8cc363dc876824c1 (patch) | |
tree | d5f955fd27ab19bdcfbbe0a4196c3dbc59f92763 | |
parent | 1cdbe3b725bb98b1dccb33f75904bb069a86ac49 (diff) | |
download | FreeBSD-src-9fb585d33c7f5cbe1201213c8cc363dc876824c1.zip FreeBSD-src-9fb585d33c7f5cbe1201213c8cc363dc876824c1.tar.gz |
MFC: 277893
sfxge: Use SFXGE_MODERATION to initialize event moderation
Sponsored by: Solarflare Communications, Inc.
Approved by: gnn (mentor)
-rw-r--r-- | sys/dev/sfxge/sfxge_ev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sfxge/sfxge_ev.c b/sys/dev/sfxge/sfxge_ev.c index 2f2c09a..2c9fb69 100644 --- a/sys/dev/sfxge/sfxge_ev.c +++ b/sys/dev/sfxge/sfxge_ev.c @@ -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", |