Date: Sat, 26 May 2012 01:55:51 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r236041 - user/np/toe_iwarp/sys/netinet Message-ID: <201205260155.q4Q1tpiY045725@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205260155.q4Q1tpiY045725>