Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2012 23:25:58 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235671 - head/sbin/ifconfig
Message-ID:  <201205192325.q4JNPwkK052285@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Sat May 19 23:25:57 2012
New Revision: 235671
URL: http://svn.freebsd.org/changeset/base/235671

Log:
  MFp4 bz_ipv6_fast:
  
    Allow tso4 and tso6 be set individually given we have the bits.
    This will help with drivers not working as expected during the
    transition time and later.
  
    Sponsored by:	The FreeBSD Foundation
    Sponsored by:	iXsystems
  
  Reviewed by:	gnn
  MFC After:	1 week

Modified:
  head/sbin/ifconfig/ifconfig.8
  head/sbin/ifconfig/ifconfig.c

Modified: head/sbin/ifconfig/ifconfig.8
==============================================================================
--- head/sbin/ifconfig/ifconfig.8	Sat May 19 22:50:38 2012	(r235670)
+++ head/sbin/ifconfig/ifconfig.8	Sat May 19 23:25:57 2012	(r235671)
@@ -28,7 +28,7 @@
 .\"     From: @(#)ifconfig.8	8.3 (Berkeley) 1/5/94
 .\" $FreeBSD$
 .\"
-.Dd May 1, 2012
+.Dd May 19, 2012
 .Dt IFCONFIG 8
 .Os
 .Sh NAME
@@ -400,6 +400,22 @@ It will always disable TSO for
 .Xr ip 4
 and
 .Xr ip6 4 .
+.It Cm tso6 , tso4
+If the driver supports
+.Xr tcp 4
+segmentation offloading for
+.Xr ip6 4
+or
+.Xr ip 4
+use one of these to selectively enabled it only for one protocol family.
+.It Fl tso6 , tso4
+If the driver supports
+.Xr tcp 4
+segmentation offloading for
+.Xr ip6 4
+or
+.Xr ip 4
+use one of these to selectively disable it only for one protocol family.
 .It Cm lro
 If the driver supports
 .Xr tcp 4

Modified: head/sbin/ifconfig/ifconfig.c
==============================================================================
--- head/sbin/ifconfig/ifconfig.c	Sat May 19 22:50:38 2012	(r235670)
+++ head/sbin/ifconfig/ifconfig.c	Sat May 19 23:25:57 2012	(r235671)
@@ -1201,6 +1201,10 @@ static struct cmd basic_cmds[] = {
 	DEF_CMD("-netcons",	-IFCAP_NETCONS,	setifcap),
 	DEF_CMD("polling",	IFCAP_POLLING,	setifcap),
 	DEF_CMD("-polling",	-IFCAP_POLLING,	setifcap),
+	DEF_CMD("tso6",		IFCAP_TSO6,	setifcap),
+	DEF_CMD("-tso6",	-IFCAP_TSO6,	setifcap),
+	DEF_CMD("tso4",		IFCAP_TSO4,	setifcap),
+	DEF_CMD("-tso4",	-IFCAP_TSO4,	setifcap),
 	DEF_CMD("tso",		IFCAP_TSO,	setifcap),
 	DEF_CMD("-tso",		-IFCAP_TSO,	setifcap),
 	DEF_CMD("lro",		IFCAP_LRO,	setifcap),



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