mbox series

[net-next,0/2] add page_pool support for page recycling in veth driver

Message ID cover.1681987376.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series add page_pool support for page recycling in veth driver | expand

Message

Lorenzo Bianconi April 20, 2023, 11:16 a.m. UTC
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 when we run a xdp program on the device and
we receive skbs from the stack.

Lorenzo Bianconi (2):
  net: veth: add page_pool for page recycling
  net: veth: add page_pool stats

 drivers/net/Kconfig |  2 ++
 drivers/net/veth.c  | 74 ++++++++++++++++++++++++++++++++++++++++-----
 2 files changed, 68 insertions(+), 8 deletions(-)