diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2017-01-17 19:37:13 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-02-16 15:02:44 +0300 |
commit | 6f429223b31c550b835b4f066ac034d0cf0cc71e (patch) | |
tree | 949481a2e46e54ca8fa507df96ce41259dcf12a2 /drivers/net/ethernet/fujitsu | |
parent | 2ccdf26ff614dd49b14e76c0c076f5f4e9562e79 (diff) | |
download | linux-6f429223b31c550b835b4f066ac034d0cf0cc71e.tar.xz |
ixgbe: Add support for build_skb
This patch adds build_skb support to the Rx path. There are several
advantages to this change.
1. It avoids the memcpy and skb->head allocation for small packets which
improves performance by about 5% in my tests.
2. It avoids the memcpy, skb->head allocation, and eth_get_headlen
for larger packets improving performance by about 10% in my tests.
3. For VXLAN packets it allows the full header to be in skb->data which
improves the performance by as much as 30% in some of my tests.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/fujitsu')
0 files changed, 0 insertions, 0 deletions