aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorChris Leech <christopher.leech@intel.com>2006-05-23 20:55:33 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-18 00:25:48 -0400
commit97fc2f0848c928c63c2ae619deee61a0b1107b69 (patch)
tree651f5ec78128605736d6c777a13697d5e58a1b62 /include/net/tcp.h
parentde5506e155276d385712c2aa1c2d9a27cd4ed947 (diff)
[I/OAT]: Structure changes for TCP recv offload to I/OAT
Adds an async_wait_queue and some additional fields to tcp_sock, and a dma_cookie_t to sk_buff. Signed-off-by: Chris Leech <christopher.leech@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 3c989db8a7aa..d0c2c2fa7587 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -28,6 +28,7 @@
28#include <linux/cache.h> 28#include <linux/cache.h>
29#include <linux/percpu.h> 29#include <linux/percpu.h>
30#include <linux/skbuff.h> 30#include <linux/skbuff.h>
31#include <linux/dmaengine.h>
31 32
32#include <net/inet_connection_sock.h> 33#include <net/inet_connection_sock.h>
33#include <net/inet_timewait_sock.h> 34#include <net/inet_timewait_sock.h>
@@ -817,6 +818,12 @@ static inline void tcp_prequeue_init(struct tcp_sock *tp)
817 tp->ucopy.len = 0; 818 tp->ucopy.len = 0;
818 tp->ucopy.memory = 0; 819 tp->ucopy.memory = 0;
819 skb_queue_head_init(&tp->ucopy.prequeue); 820 skb_queue_head_init(&tp->ucopy.prequeue);
821#ifdef CONFIG_NET_DMA
822 tp->ucopy.dma_chan = NULL;
823 tp->ucopy.wakeup = 0;
824 tp->ucopy.pinned_list = NULL;
825 tp->ucopy.dma_cookie = 0;
826#endif
820} 827}
821 828
822/* Packet is added to VJ-style prequeue for processing in process 829/* Packet is added to VJ-style prequeue for processing in process