Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jun 2011 09:07:17 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Jack F Vogel <jfv@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r223350 - head/sys/dev/e1000
Message-ID:  <201106210907.18414.jhb@freebsd.org>
In-Reply-To: <201106202259.p5KMxT1h069297@svn.freebsd.org>
References:  <201106202259.p5KMxT1h069297@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, June 20, 2011 6:59:29 pm Jack F Vogel wrote:
> Author: jfv
> Date: Mon Jun 20 22:59:29 2011
> New Revision: 223350
> URL: http://svn.freebsd.org/changeset/base/223350
> 
> Log:
>   Eliminate some global tuneables in favor of adapter-specific,
>   particular flow control and dma coalesce. Also improve the
>   sysctl operation on those too.
>   
>   Add IPv6 detection in the ioctl code, this was done for
>   ixgbe first, carrying that over.
>   
>   Add resource ability to disable particular adapter.
>   
>   Add HW TSO capability so vlans can make use of TSO

The tunables are useful for setting defaults for all interfaces. :(

I use hw.igb.rx_processing_limit=-1 in loader.conf at work so that we can 
ensure that all igb interfaces in a given system have that setting.   This is 
more scalable than having to set the right number of entries in 
/etc/sysctl.conf.local on different machines, etc, without spamming the 
console during boot with warnings about tweaking non-existing sysctls, etc.

Please consider keeping the tunables where the tunables are used to set
default settings for all adapters from the loader but per-device sysctls are
used post-boot to provide runtime, per-device settings.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106210907.18414.jhb>