aboutsummaryrefslogtreecommitdiff
path: root/fs/stack.c
diff options
context:
space:
mode:
authorAlexander Duyck2012-05-24 01:59:27 +0000
committerJeff Kirsher2012-07-21 16:04:51 -0700
commit252562c207a850106d9d5b41a41d29f96c0530b7 (patch)
tree7584cd94d2069a9466c6640b70189a7254d58b0e /fs/stack.c
parentce422606696f137e610fd0e677ec72ac33c17842 (diff)
ixgbe: Reduce Rx header size to what is actually used
The recent changes to netdev_alloc_skb actually make it so that the size of the buffer now actually has a more direct input on the truesize. So in order to make best use of the piece of a page we are allocated I am reducing the IXGBE_RX_HDR_SIZE to 256 so that our truesize will be reduced by 256 bytes as well. This should result in performance improvements since the number of uses per page should increase from 4 to 6 in the case of a 4K page. In addition we should see socket performance improvements due to the truesize dropping to less than 1K for buffers less than 256 bytes. Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions