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>
(cherry picked from commit
2d0de67da51a90c6acf7bf08d7b0501f45408002)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I7fd0ea80d818122ed66642c98bbd33705c348e46