summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/inet/tcp.h
diff options
context:
space:
mode:
authorbrutus <none@none>2008-04-18 09:37:59 -0700
committerbrutus <none@none>2008-04-18 09:37:59 -0700
commit8e50dcc9f00b393d43e6aa42b820bcbf1d3e1ce4 (patch)
treebabf218af112e325384a001aeac7a408aa885dd9 /usr/src/uts/common/inet/tcp.h
parent8ca4fa23f8750b90c13a6933cc51ddb7d29abf22 (diff)
downloadillumos-gate-8e50dcc9f00b393d43e6aa42b820bcbf1d3e1ce4.tar.gz
6567008 driver for intel ioat v1 & v2 DMA engine needed
6582323 uioa - uio asynchronous, for support of Intel I/OAT hardware 6582330 sodirect - socket direct, for support of Intel I/OAT hardware 6582335 TCP/IP receive-side zero CPU copy for support of Intel I/OAT hardware
Diffstat (limited to 'usr/src/uts/common/inet/tcp.h')
-rw-r--r--usr/src/uts/common/inet/tcp.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/usr/src/uts/common/inet/tcp.h b/usr/src/uts/common/inet/tcp.h
index aa5ba3a075..26e1b12f4e 100644
--- a/usr/src/uts/common/inet/tcp.h
+++ b/usr/src/uts/common/inet/tcp.h
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1990 Mentat Inc. */
@@ -37,6 +37,7 @@ extern "C" {
#include <netinet/ip6.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
+#include <sys/sodirect.h>
#include <sys/multidata.h>
#include <sys/md5.h>
#include <inet/common.h>
@@ -598,6 +599,13 @@ typedef struct tcp_s {
*/
boolean_t tcp_flow_stopped;
+ /*
+ * tcp_sodirect is used by tcp on the receive side to push mblk_t(s)
+ * directly to sockfs. Also, to schedule asynchronous copyout directly
+ * to a pending user-land uio buffer.
+ */
+ sodirect_t *tcp_sodirect;
+
#ifdef DEBUG
pc_t tcmp_stk[15];
#endif