[PATCH AUTOSEL 6.15 2/8] virtio_net: Enforce minimum TX ring size for reliability

2025-07-07 Thread Sasha Levin
From: Laurent Vivier [ Upstream commit 24b2f5df86aaebbe7bac40304eaf5a146c02367c ] The `tx_may_stop()` logic stops TX queues if free descriptors (`sq->vq->num_free`) fall below the threshold of (`MAX_SKB_FRAGS` + 2). If the total ring size (`ring_num`) is not strictly greater than this value, que

[PATCH AUTOSEL 6.12 2/6] virtio_net: Enforce minimum TX ring size for reliability

2025-07-07 Thread Sasha Levin
From: Laurent Vivier [ Upstream commit 24b2f5df86aaebbe7bac40304eaf5a146c02367c ] The `tx_may_stop()` logic stops TX queues if free descriptors (`sq->vq->num_free`) fall below the threshold of (`MAX_SKB_FRAGS` + 2). If the total ring size (`ring_num`) is not strictly greater than this value, que