Skip to content
Commit 2d0de67d authored by Yunsheng Lin's avatar Yunsheng Lin Committed by Jakub Kicinski
Browse files

net: veth: use newly added page pool API for veth with xdp



Use page_pool_alloc() API to allocate memory with least
memory utilization and performance penalty.

Signed-off-by: default avatarYunsheng Lin <linyunsheng@huawei.com>
CC: Lorenzo Bianconi <lorenzo@kernel.org>
CC: Alexander Duyck <alexander.duyck@gmail.com>
CC: Liang Chen <liangchen.linux@gmail.com>
CC: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://lore.kernel.org/r/20231020095952.11055-6-linyunsheng@huawei.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 8ab32fa1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment