diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2023-04-22 20:54:32 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-04-24 18:07:08 -0700 |
commit | 0ebab78cbcbfd698d40bd307b68337bdf1b47e9b (patch) | |
tree | 20eb18eff5feaf60035cbf5843cfdfb60d17d332 /Documentation/filesystems/caching | |
parent | ffcddcaed6e06255811a8204458e1f380a3c2b21 (diff) |
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 <mtahhan@redhat.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/filesystems/caching')
0 files changed, 0 insertions, 0 deletions