mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
net: Add DMA mapping tokens to skb_shared_info.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1e493d1946
commit
271bff7afb
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue