diff options
| author | Alexander Duyck <[email protected]> | 2017-01-17 08:37:13 -0800 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2017-02-16 04:02:44 -0800 |
| commit | 6f429223b31c550b835b4f066ac034d0cf0cc71e (patch) | |
| tree | 949481a2e46e54ca8fa507df96ce41259dcf12a2 /tools/perf/scripts/python | |
| parent | 2ccdf26ff614dd49b14e76c0c076f5f4e9562e79 (diff) | |
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 <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions