From 8e50dcc9f00b393d43e6aa42b820bcbf1d3e1ce4 Mon Sep 17 00:00:00 2001 From: brutus Date: Fri, 18 Apr 2008 09:37:59 -0700 Subject: 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 --- usr/src/uts/common/inet/tcp.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'usr/src/uts/common/inet/tcp.h') 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 #include #include +#include #include #include #include @@ -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 -- cgit v1.2.3