summaryrefslogtreecommitdiffstats
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
authorChris Leech <christopher.leech@intel.com>2006-05-23 17:55:33 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-17 21:25:48 -0700
commit97fc2f0848c928c63c2ae619deee61a0b1107b69 (patch)
tree651f5ec78128605736d6c777a13697d5e58a1b62 /include/linux/tcp.h
parentde5506e155276d385712c2aa1c2d9a27cd4ed947 (diff)
downloadop-kernel-dev-97fc2f0848c928c63c2ae619deee61a0b1107b69.zip
op-kernel-dev-97fc2f0848c928c63c2ae619deee61a0b1107b69.tar.gz
[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/linux/tcp.h')
-rw-r--r--include/linux/tcp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index 542d395..c90daa5 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -18,6 +18,7 @@
#define _LINUX_TCP_H
#include <linux/types.h>
+#include <linux/dmaengine.h>
#include <asm/byteorder.h>
struct tcphdr {
@@ -233,6 +234,13 @@ struct tcp_sock {
struct iovec *iov;
int memory;
int len;
+#ifdef CONFIG_NET_DMA
+ /* members for async copy */
+ struct dma_chan *dma_chan;
+ int wakeup;
+ struct dma_pinned_list *pinned_list;
+ dma_cookie_t dma_cookie;
+#endif
} ucopy;
__u32 snd_wl1; /* Sequence for window update */
OpenPOWER on IntegriCloud