virtio: Fixes for TX ring sizing and resize error reporting
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 16 repliesIn review
- v12 patches 8 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | virtio_ring: Fix error reporting in virtqueue_resizedrivers/ | +6 | 1 reply | |
| 2/3 | virtio_net: Cleanup '2+MAX_SKB_FRAGS'drivers/ | +4 | 2 replies | |
| 3/3 | virtio_net: Enforce minimum TX ring size for reliabilitydrivers/ | +6 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Xuan Zhuo | Jason Wang | Lei Yang | Michael S. Tsirkin |
|---|---|---|---|---|
| Series | T-b | A-b | ||
| 1/3 | A-b | |||
| 2/3 | R-b | A-b | ||
| 3/3 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v2 0/3] virtio: Fixes for TX ring sizing and resize error reporting
This patch series contains two fixes and a cleanup for the virtio subsystem.
The first patch fixes an error reporting bug in virtio_ring's virtqueue_resize() function. Previously, errors from internal resize helpers could be masked if the subsequent re-enabling of the virtqueue succeeded. This patch restores the correct error propagation, ensuring that callers of virtqueue_resize() are properly informed of underlying resize failures.
The second patch does a cleanup of the use of '2+MAX_SKB_FRAGS'
The third patch addresses a reliability issue in virtio_net where the TX ring size could be configured too small, potentially leading to persistently stopped queues and degraded performance. It enforces a minimum TX ring size to ensure there's always enough space for at least one maximally-fragmented packet plus an additional slot.
v2: clenup '2+MAX_SKB_FRAGS'
Laurent Vivier (3):
virtio_ring: Fix error reporting in virtqueue_resize
virtio_net: Cleanup '2+MAX_SKB_FRAGS'
virtio_net: Enforce minimum TX ring size for reliability
drivers/net/virtio_net.c | 14 ++++++++++---- drivers/virtio/virtio_ring.c | 8 ++++++-- 2 files changed, 16 insertions(+), 6 deletions(-)
Signature · 1 line
2.49.0