svn commit: r234388 - in user/np/toe_iwarp/sys: amd64/conf conf

Navdeep Parhar np at FreeBSD.org
Tue Apr 17 17:08:51 UTC 2012


Author: np
Date: Tue Apr 17 17:08:50 2012
New Revision: 234388
URL: http://svn.freebsd.org/changeset/base/234388

Log:
  Rename TCP_OFFLOAD_DISABLE to TCP_OFFLOAD (with its meaning flipped, of course).
  Enable it in GENERIC on amd64 only for now.

Modified:
  user/np/toe_iwarp/sys/amd64/conf/GENERIC
  user/np/toe_iwarp/sys/conf/NOTES
  user/np/toe_iwarp/sys/conf/files
  user/np/toe_iwarp/sys/conf/options

Modified: user/np/toe_iwarp/sys/amd64/conf/GENERIC
==============================================================================
--- user/np/toe_iwarp/sys/amd64/conf/GENERIC	Tue Apr 17 16:57:51 2012	(r234387)
+++ user/np/toe_iwarp/sys/amd64/conf/GENERIC	Tue Apr 17 17:08:50 2012	(r234388)
@@ -27,6 +27,7 @@ options 	SCHED_ULE		# ULE scheduler
 options 	PREEMPTION		# Enable kernel thread preemption
 options 	INET			# InterNETworking
 options 	INET6			# IPv6 communications protocols
+options 	TCP_OFFLOAD		# TCP offload
 options 	SCTP			# Stream Control Transmission Protocol
 options 	FFS			# Berkeley Fast Filesystem
 options 	SOFTUPDATES		# Enable FFS soft updates support

Modified: user/np/toe_iwarp/sys/conf/NOTES
==============================================================================
--- user/np/toe_iwarp/sys/conf/NOTES	Tue Apr 17 16:57:51 2012	(r234387)
+++ user/np/toe_iwarp/sys/conf/NOTES	Tue Apr 17 17:08:50 2012	(r234388)
@@ -544,6 +544,8 @@ options 	INET6			#IPv6 communications pr
 
 options 	ROUTETABLES=2		# max 16. 1 is back compatible.
 
+options 	TCP_OFFLOAD		# TCP offload support.
+
 # In order to enable IPSEC you MUST also add device crypto to 
 # your kernel configuration
 options 	IPSEC			#IP security (requires device crypto)

Modified: user/np/toe_iwarp/sys/conf/files
==============================================================================
--- user/np/toe_iwarp/sys/conf/files	Tue Apr 17 16:57:51 2012	(r234387)
+++ user/np/toe_iwarp/sys/conf/files	Tue Apr 17 17:08:50 2012	(r234388)
@@ -2993,7 +2993,7 @@ netinet/tcp_hostcache.c		optional inet |
 netinet/tcp_input.c		optional inet | inet6
 netinet/tcp_lro.c		optional inet | inet6
 netinet/tcp_output.c		optional inet | inet6
-netinet/tcp_offload.c		optional inet | inet6
+netinet/tcp_offload.c		optional tcp_offload inet | tcp_offload inet6
 netinet/tcp_reass.c		optional inet | inet6
 netinet/tcp_sack.c		optional inet | inet6
 netinet/tcp_subr.c		optional inet | inet6

Modified: user/np/toe_iwarp/sys/conf/options
==============================================================================
--- user/np/toe_iwarp/sys/conf/options	Tue Apr 17 16:57:51 2012	(r234387)
+++ user/np/toe_iwarp/sys/conf/options	Tue Apr 17 17:08:50 2012	(r234388)
@@ -432,7 +432,7 @@ RADIX_MPATH		opt_mpath.h
 ROUTETABLES		opt_route.h
 SLIP_IFF_OPTS		opt_slip.h
 TCPDEBUG
-TCP_OFFLOAD_DISABLE	opt_inet.h #Disable code to dispatch tcp offloading
+TCP_OFFLOAD		opt_inet.h # Enable code to dispatch TCP offloading
 TCP_SIGNATURE		opt_inet.h
 VLAN_ARRAY		opt_vlan.h
 XBONEHACK


More information about the svn-src-user mailing list