summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorsungbyeongchan <tjdqudcks0424@naver.com>2026-10-08 14:04:23 +0900
committerMichael S. Tsirkin <mst@redhat.com>2026-11-03 07:32:13 -0500
commite498eb93f961db1a1dfdabd373500f0d4019c9a4 (patch)
treed73399ca81cf3e5753e2b743c2424a2d1cddd4a0 /include/linux
parent3d8c5b714c186d08c8fe8c8cfd1f9b89525ab067 (diff)
virtio_ring: use shadow flags when detaching split descriptors
Split virtqueues save descriptor flags and next indexes in desc_extra before publishing descriptors to the device. The detach path uses the shadow next index, but decides whether to continue by rereading the NEXT flag from the shared descriptor. Use the shadow flags for the continuation decision as well. This keeps all detach metadata in the same driver-owned snapshot and avoids an unnecessary shared-ring read. Fixes: 72b5e8958738 ("virtio-ring: store DMA metadata in desc_extra for split virtqueue") Acked-by: Michael S. Tsirkin <mst@redhat.com> Assisted-by: LLM Signed-off-by: sungbyeongchan <tjdqudcks0424@naver.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <20261008050423.32221-1-tjdqudcks0424@naver.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions