diff options
| author | Eric Dumazet <[email protected]> | 2012-04-27 00:34:49 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-04-30 21:35:42 -0400 |
| commit | 8d4057a938481351dc690fbe23e8c72af08d5890 (patch) | |
| tree | 87736275c117327f55e381c88dba1ec1e067e4c0 /include/linux/debugobjects.h | |
| parent | d3836f21b0af5513ef55701dd3f50b8c42e44c7a (diff) | |
tg3: provide frags as skb head
This patch converts tg3 driver, one of our reference drivers, to use new
build_skb() api in frag mode.
Instead of using kmalloc() to allocate the memory block that will be
used by build_skb() as skb->head, we use a page fragment.
This is a followup of patch "net: allow skb->head to be a page fragment"
This allows GRO, TCP coalescing, and splice() to be more efficient.
Incidentally, this also removes SLUB slow path contention in kfree()
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Ilpo Järvinen <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: Maciej Żenczykowski <[email protected]>
Cc: Neal Cardwell <[email protected]>
Cc: Tom Herbert <[email protected]>
Cc: Jeff Kirsher <[email protected]>
Cc: Ben Hutchings <[email protected]>
Cc: Matt Carlson <[email protected]>
Cc: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions