projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e493d1
)
net: Add DMA mapping tokens to skb_shared_info.
author
David S. Miller
<davem@davemloft.net>
Thu, 11 Sep 2008 11:48:58 +0000
(
04:48
-0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 11 Sep 2008 11:48:58 +0000
(
04:48
-0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/skbuff.h
b/include/linux/skbuff.h
index 909923717830f3a16d88cdd6d44ed53314e81f54..4b2be23903c4702733d0467eba1b7d536a3158e5 100644
(file)
--- a/
include/linux/skbuff.h
+++ b/
include/linux/skbuff.h
@@
-146,8
+146,14
@@
struct skb_shared_info {
unsigned short gso_segs;
unsigned short gso_type;
__be32 ip6_frag_id;
+#ifdef CONFIG_HAS_DMA
+ unsigned int num_dma_maps;
+#endif
struct sk_buff *frag_list;
skb_frag_t frags[MAX_SKB_FRAGS];
+#ifdef CONFIG_HAS_DMA
+ dma_addr_t dma_maps[MAX_SKB_FRAGS + 1];
+#endif
};
/* We divide dataref into two halves. The higher 16 bits hold references