diff options
author | brutus <none@none> | 2008-05-23 20:14:10 -0700 |
---|---|---|
committer | brutus <none@none> | 2008-05-23 20:14:10 -0700 |
commit | 17169044f903cb92234f23d0ba0ce43449614a4d (patch) | |
tree | 0a234b9a119ba9dc0c19f1a14c2643118419ea69 /usr/src/uts/common/sys/socketvar.h | |
parent | d821f0f08f7953823f16c7d1c839160d91ecf97c (diff) | |
download | illumos-joyent-17169044f903cb92234f23d0ba0ce43449614a4d.tar.gz |
6582335 TCP/IP receive-side zero CPU copy for support of Intel I/OAT hardware
6582330 sodirect - socket direct, for support of Intel I/OAT hardware
6582323 uioa - uio asynchronous, for support of Intel I/OAT hardware
6567008 driver for intel ioat v1 & v2 DMA engine needed
6691281 tcp->tcp_sodirect == 0, file: ../../common/inet/tcp/tcp_fusion .c, line: 291
6693127 putback for 6567008/6582323/6582330/6582335 causes PANIC when using SCTP sockets
6694188 Solaris PIT test net/tcp/tests/win0_urg_processing timed out
6694389 assertion failed: ((tcp)->tcp_sodirect == 0 || !((tcp)->tcp_sodirect->sod_state & 0x0001))
--HG--
rename : deleted_files/usr/src/pkgdefs/SUNWdcopy/Makefile => usr/src/pkgdefs/SUNWdcopy/Makefile
rename : deleted_files/usr/src/pkgdefs/SUNWdcopy/pkginfo.tmpl => usr/src/pkgdefs/SUNWdcopy/pkginfo.tmpl
rename : deleted_files/usr/src/pkgdefs/SUNWdcopy/postinstall.tmpl => usr/src/pkgdefs/SUNWdcopy/postinstall.tmpl
rename : deleted_files/usr/src/pkgdefs/SUNWdcopy/preremove.tmpl => usr/src/pkgdefs/SUNWdcopy/preremove.tmpl
rename : deleted_files/usr/src/pkgdefs/SUNWdcopy/prototype_com => usr/src/pkgdefs/SUNWdcopy/prototype_com
rename : deleted_files/usr/src/pkgdefs/SUNWdcopy/prototype_i386 => usr/src/pkgdefs/SUNWdcopy/prototype_i386
rename : deleted_files/usr/src/uts/common/io/dcopy.c => usr/src/uts/common/io/dcopy.c
rename : deleted_files/usr/src/uts/common/sys/dcopy.h => usr/src/uts/common/sys/dcopy.h
rename : deleted_files/usr/src/uts/common/sys/dcopy_device.h => usr/src/uts/common/sys/dcopy_device.h
rename : deleted_files/usr/src/uts/common/sys/sodirect.h => usr/src/uts/common/sys/sodirect.h
rename : deleted_files/usr/src/uts/i86pc/io/ioat/ioat.c => usr/src/uts/i86pc/io/ioat/ioat.c
rename : deleted_files/usr/src/uts/i86pc/io/ioat/ioat.conf => usr/src/uts/i86pc/io/ioat/ioat.conf
rename : deleted_files/usr/src/uts/i86pc/io/ioat/ioat_chan.c => usr/src/uts/i86pc/io/ioat/ioat_chan.c
rename : deleted_files/usr/src/uts/i86pc/io/ioat/ioat_ioctl.c => usr/src/uts/i86pc/io/ioat/ioat_ioctl.c
rename : deleted_files/usr/src/uts/i86pc/io/ioat/ioat_rs.c => usr/src/uts/i86pc/io/ioat/ioat_rs.c
rename : deleted_files/usr/src/uts/i86pc/ioat/Makefile => usr/src/uts/i86pc/ioat/Makefile
rename : deleted_files/usr/src/uts/i86pc/sys/ioat.h => usr/src/uts/i86pc/sys/ioat.h
rename : deleted_files/usr/src/uts/i86xpv/ioat/Makefile => usr/src/uts/i86xpv/ioat/Makefile
rename : deleted_files/usr/src/uts/intel/dcopy/Makefile => usr/src/uts/intel/dcopy/Makefile
Diffstat (limited to 'usr/src/uts/common/sys/socketvar.h')
-rw-r--r-- | usr/src/uts/common/sys/socketvar.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/usr/src/uts/common/sys/socketvar.h b/usr/src/uts/common/sys/socketvar.h index 0680546ade..178a8a2905 100644 --- a/usr/src/uts/common/sys/socketvar.h +++ b/usr/src/uts/common/sys/socketvar.h @@ -20,7 +20,7 @@ */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -50,14 +50,13 @@ #include <sys/file.h> #include <sys/param.h> #include <sys/zone.h> +#include <sys/sodirect.h> #include <inet/kssl/ksslapi.h> #ifdef __cplusplus extern "C" { #endif - - /* * Internal representation used for addresses. */ @@ -333,6 +332,9 @@ struct sonode { kssl_endpt_type_t so_kssl_type; /* is proxy/is proxied/none */ kssl_ent_t so_kssl_ent; /* SSL config entry */ kssl_ctx_t so_kssl_ctx; /* SSL session context */ + + /* != NULL for sodirect_t enabled socket */ + sodirect_t *so_direct; }; /* flags */ @@ -375,6 +377,7 @@ struct sonode { #define SS_MOREDATA 0x00100000 /* NCAfs: NCA has more data */ #define SS_DIRECT 0x00200000 /* transport is directly below */ +#define SS_SODIRECT 0x00400000 /* transport supports sodirect */ #define SS_LADDR_VALID 0x01000000 /* so_laddr valid for user */ #define SS_FADDR_VALID 0x02000000 /* so_faddr valid for user */ |