diff options
| author | Lorenzo Bianconi <[email protected]> | 2023-04-22 18:54:32 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-04-25 01:07:08 +0000 |
| commit | 0ebab78cbcbfd698d40bd307b68337bdf1b47e9b (patch) | |
| tree | 20eb18eff5feaf60035cbf5843cfdfb60d17d332 /tools/perf/scripts/python | |
| parent | Merge tag 'nf-next-23-04-22' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
| download | kernel-0ebab78cbcbfd698d40bd307b68337bdf1b47e9b.tar.gz kernel-0ebab78cbcbfd698d40bd307b68337bdf1b47e9b.zip | |
net: veth: add page_pool for page recycling
Introduce page_pool support in veth driver in order to recycle pages
in veth_convert_skb_to_xdp_buff routine and avoid reallocating the skb
through the page allocator.
The patch has been tested sending tcp traffic to a veth pair where the
remote peer is running a simple xdp program just returning xdp_pass:
veth upstream codebase:
MTU 1500B: ~ 8Gbps
MTU 8000B: ~ 13.9Gbps
veth upstream codebase + pp support:
MTU 1500B: ~ 9.2Gbps
MTU 8000B: ~ 16.2Gbps
Tested-by: Maryam Tahhan <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
