svn commit: r236041 - user/np/toe_iwarp/sys/netinet

Navdeep Parhar np at FreeBSD.org
Sat May 26 01:55:51 UTC 2012


Author: np
Date: Sat May 26 01:55:51 2012
New Revision: 236041
URL: http://svn.freebsd.org/changeset/base/236041

Log:
  Try not to change the size of the syncache structure.
  
  The knob to control TCP offload used to require explicit opt-out.  It has
  been replaced with one that requires explicit opt-in, and is enabled only
  in x86 GENERIC kernels for now.

Modified:
  user/np/toe_iwarp/sys/netinet/tcp_syncache.h

Modified: user/np/toe_iwarp/sys/netinet/tcp_syncache.h
==============================================================================
--- user/np/toe_iwarp/sys/netinet/tcp_syncache.h	Sat May 26 01:45:53 2012	(r236040)
+++ user/np/toe_iwarp/sys/netinet/tcp_syncache.h	Sat May 26 01:55:51 2012	(r236041)
@@ -68,7 +68,7 @@ struct syncache {
 	u_int8_t	sc_requested_s_scale:4,
 			sc_requested_r_scale:4;
 	u_int16_t	sc_flags;
-#ifdef TCP_OFFLOAD
+#if defined(TCP_OFFLOAD) || !defined(TCP_OFFLOAD_DISABLE)
 	struct toedev	*sc_tod;		/* entry added by this TOE */
 	void		*sc_todctx;		/* TOE driver context */
 #endif


More information about the svn-src-user mailing list