]> git.itanic.dy.fi Git - linux-stable/commit
net: veth: use newly added page pool API for veth with xdp
authorYunsheng Lin <linyunsheng@huawei.com>
Fri, 20 Oct 2023 09:59:52 +0000 (17:59 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 24 Oct 2023 02:14:49 +0000 (19:14 -0700)
commit2d0de67da51a90c6acf7bf08d7b0501f45408002
treed80ad1aec6a538e50e841ec15360276fed7e6ed6
parent8ab32fa1c7947f4807b1d98af2d411a2587bb841
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: Yunsheng 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: Jakub Kicinski <kuba@kernel.org>
drivers/net/veth.c