public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] virtio_net: add page_pool support
@ 2026-01-06 22:19 Vishwanath Seshagiri
  2026-01-06 22:19 ` [PATCH 1/2] virtio_net: add page pool support for buffer allocation Vishwanath Seshagiri
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Vishwanath Seshagiri @ 2026-01-06 22:19 UTC (permalink / raw)
  To: Michael S . Tsirkin, Jason Wang
  Cc: Xuan Zhuo, Eugenio Pérez, Andrew Lunn, David S . Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, David Wei, netdev,
	virtualization, linux-kernel

Introduce page_pool support in virtio_net driver in order to recycle
pages in RX buffer allocation and avoid reallocating through the page
allocator. This applies to mergeable and small buffer modes.

The patch has been tested using the included selftests and additional
edge case scripts covering device unbind/bind cycles, rapid interface
open/close, traffic during close, ethtool stress with feature toggling,
close with pending refill work, and data integrity verification.

Vishwanath Seshagiri (2):
  virtio_net: add page pool support for buffer allocation
  selftests: virtio_net: add buffer circulation test

 drivers/net/virtio_net.c                      | 246 +++++++++++++++---
 .../drivers/net/virtio_net/basic_features.sh  |  70 +++++
 2 files changed, 275 insertions(+), 41 deletions(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-01-28 20:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-06 22:19 [PATCH 0/2] virtio_net: add page_pool support Vishwanath Seshagiri
2026-01-06 22:19 ` [PATCH 1/2] virtio_net: add page pool support for buffer allocation Vishwanath Seshagiri
2026-01-07  3:49   ` Xuan Zhuo
2026-01-07 18:41     ` Vishwanath Seshagiri
2026-01-08  3:16   ` Jason Wang
2026-01-08  6:23     ` Vishwanath Seshagiri
2026-01-09  3:16       ` Jason Wang
2026-01-09  6:50         ` Michael S. Tsirkin
2026-01-09 20:36           ` Vishwanath Seshagiri
2026-01-10  1:57         ` Vishwanath Seshagiri
2026-01-12  3:15           ` Jason Wang
2026-01-06 22:19 ` [PATCH 2/2] selftests: virtio_net: add buffer circulation test Vishwanath Seshagiri
2026-01-07  8:28 ` [PATCH 0/2] virtio_net: add page_pool support Michael S. Tsirkin
2026-01-08  5:23   ` Vishwanath Seshagiri
2026-01-28 20:19     ` Michael S. Tsirkin
2026-01-28 20:27       ` Vishwanath Seshagiri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox