diff options
author | sobomax <sobomax@FreeBSD.org> | 2010-05-03 07:32:50 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2010-05-03 07:32:50 +0000 |
commit | 213eac1f2c265b68ddb7cb7bbcb289f8e054c161 (patch) | |
tree | 66ca2ebd19fbb3af659fe11c4a5999a6fb1fc68f /sys/dev/ie | |
parent | 305cdfaf86fcdb4aa91519ed8096ab361cb28970 (diff) | |
download | FreeBSD-src-213eac1f2c265b68ddb7cb7bbcb289f8e054c161.zip FreeBSD-src-213eac1f2c265b68ddb7cb7bbcb289f8e054c161.tar.gz |
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
Diffstat (limited to 'sys/dev/ie')
-rw-r--r-- | sys/dev/ie/if_ie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index 34c658e..172bf9e 100644 --- a/sys/dev/ie/if_ie.c +++ b/sys/dev/ie/if_ie.c @@ -318,7 +318,7 @@ ie_attach(device_t dev) ifp->if_start = iestart; ifp->if_ioctl = ieioctl; ifp->if_init = ieinit; - IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN); + IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen); ether_ifattach(ifp, sc->enaddr); |