From: Paolo Abeni Date: Thu, 3 Jul 2025 09:40:04 +0000 (+0200) Subject: Merge branch 'virtio-fixes-for-tx-ring-sizing-and-resize-error-reporting' X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b0727b0ccd907aa669ba48027f29019f1c48d42c;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'virtio-fixes-for-tx-ring-sizing-and-resize-error-reporting' Laurent Vivier says: ==================== 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. ==================== Link: https://patch.msgid.link/20250521092236.661410-1-lvivier@redhat.com Signed-off-by: Paolo Abeni --- b0727b0ccd907aa669ba48027f29019f1c48d42c