Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243253
b: refs/heads/master
c: a715dea
h: refs/heads/master
i:
  243251: 35cfa1d
v: v3
  • Loading branch information
Anton Blanchard authored and David S. Miller committed Mar 29, 2011
1 parent adc9e2a commit a180abc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4910ac6c526d2868adcb5893e0c428473de862b5
refs/heads/master: a715dea3c8e9ef2771c534e05ee1d36f65987e64
8 changes: 7 additions & 1 deletion trunk/include/linux/skbuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,14 @@ struct sk_buff_head {

struct sk_buff;

/* To allow 64K frame to be packed as single skb without frag_list */
/* To allow 64K frame to be packed as single skb without frag_list. Since
* GRO uses frags we allocate at least 16 regardless of page size.
*/
#if (65536/PAGE_SIZE + 2) < 16
#define MAX_SKB_FRAGS 16
#else
#define MAX_SKB_FRAGS (65536/PAGE_SIZE + 2)
#endif

typedef struct skb_frag_struct skb_frag_t;

Expand Down

0 comments on commit a180abc

Please sign in to comment.