diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2010-05-03 07:32:50 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2010-05-03 07:32:50 +0000 |
commit | e50d35e6c6c68e83fa329aff043d53ab84982fd3 (patch) | |
tree | 66ca2ebd19fbb3af659fe11c4a5999a6fb1fc68f /sys/dev/snc/dp83932.c | |
parent | 551e75c7af421b58b9ba54d639af1e5f7a79ca23 (diff) | |
download | src-e50d35e6c6c68e83fa329aff043d53ab84982fd3.tar.gz src-e50d35e6c6c68e83fa329aff043d53ab84982fd3.zip |
Add new tunable 'net.link.ifqmaxlen' to set default send interface
queue length. The default value for this parameter is 50, which is
quite low for many of today's uses and the only way to modify this
parameter right now is to edit if_var.h file. Also add read-only
sysctl with the same name, so that it's possible to retrieve the
current value.
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=207554
Diffstat (limited to 'sys/dev/snc/dp83932.c')
-rw-r--r-- | sys/dev/snc/dp83932.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/snc/dp83932.c b/sys/dev/snc/dp83932.c index c659c82fd2c7..0b62053e2fec 100644 --- a/sys/dev/snc/dp83932.c +++ b/sys/dev/snc/dp83932.c @@ -177,7 +177,7 @@ sncconfig(sc, media, nmedia, defmedia, myea) ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_init = sncinit; ifp->if_mtu = ETHERMTU; - IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN); + IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); /* Initialize media goo. */ ifmedia_init(&sc->sc_media, 0, snc_mediachange, |