Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Dec 2014 19:37:40 +0100
From:      Patrick Proniewski <patpro@patpro.net>
To:        Borja Marcos <borjam@sarenet.es>
Cc:        freebsd-net@freebsd.org, Steven Hartland <killing@multiplay.co.uk>
Subject:   Re: Horrendous upload network performance with VLAN (download seems OK)
Message-ID:  <270646ED-17A4-4811-A269-3C813016015C@patpro.net>
In-Reply-To: <F537F496-27F4-4E31-850A-641C8F3719AC@sarenet.es>
References:  <727AB395-CF83-4D13-A2C3-50969C2969B0@patpro.net> <547F3352.3040101@multiplay.co.uk> <43C2162E-2B9F-437F-B4CF-E792CEC5DA7B@patpro.net> <DC8D5BD7-8743-4AB9-952B-54822723610D@sarenet.es> <E3234CED-CEB4-48AF-B3F9-1492AFF4DB46@patpro.net> <F537F496-27F4-4E31-850A-641C8F3719AC@sarenet.es>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03 d=E9c. 2014, at 17:25, Borja Marcos wrote:

> I forgot, sorry. Sometimes you need to set the interface to down and =
up again to make sure changes to flags such as LRO and TSO have been =
applied :/
>=20
> TSO can be disabled in a global way using a sysctl variable: =
net.inet.tcp.tso

what is the proper syntax in rc.conf to disable tso and lro at boot =
time? Will try with vlanhwtso too, as Steven mentioned.

Currently I use:

	ifconfig_bxe0=3D"UP"
	vlans_bxe0=3D"161"
	ifconfig_bxe0_161=3D"inet x.y.z.142/24"
	defaultrouter=3D"x.y.z.1"

ifconfig_bxe0=3D"UP" triggers an error at boot time, "ifconfig: UP: bad =
value", but if I put no value, bxe0 stays down and bxe0.161 won't come =
up. I work remotely, so having a functioning network after boot is more =
comfortable.

Patrick=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?270646ED-17A4-4811-A269-3C813016015C>