mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
sfxge: Use SFXGE_MODERATION to initialize event moderation
Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
This commit is contained in:
parent
123b769617
commit
745714c104
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277893
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user