From 213eac1f2c265b68ddb7cb7bbcb289f8e054c161 Mon Sep 17 00:00:00 2001 From: sobomax Date: Mon, 3 May 2010 07:32:50 +0000 Subject: 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 --- sys/dev/wl/if_wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/wl/if_wl.c') diff --git a/sys/dev/wl/if_wl.c b/sys/dev/wl/if_wl.c index ed291ed..a95997e 100644 --- a/sys/dev/wl/if_wl.c +++ b/sys/dev/wl/if_wl.c @@ -559,7 +559,7 @@ wlattach(device_t device) ifp->if_init = wlinit; ifp->if_start = wlstart; ifp->if_ioctl = wlioctl; - ifp->if_snd.ifq_maxlen = IFQ_MAXLEN; + ifp->if_snd.ifq_maxlen = ifqmaxlen; /* no entries ifp->if_done ifp->if_reset -- cgit v1.1