aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.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/skbuff.h
parent[I/OAT]: Utility functions for offloading sk_buff to iovec copies (diff)
downloadlinux-dev-97fc2f0848c928c63c2ae619deee61a0b1107b69.tar.xz
linux-dev-97fc2f0848c928c63c2ae619deee61a0b1107b69.zip
[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/skbuff.h')
-rw-r--r--include/linux/skbuff.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index f8f234708b98..23bad3bf3c9d 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -29,6 +29,7 @@
#include <linux/net.h>
#include <linux/textsearch.h>
#include <net/checksum.h>
+#include <linux/dmaengine.h>
#define HAVE_ALLOC_SKB /* For the drivers to know */
#define HAVE_ALIGNABLE_SKB /* Ditto 8) */
@@ -285,6 +286,9 @@ struct sk_buff {
__u16 tc_verd; /* traffic control verdict */
#endif
#endif
+#ifdef CONFIG_NET_DMA
+ dma_cookie_t dma_cookie;
+#endif
/* These elements must be at the end, see alloc_skb() for details. */