]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vsock/virtio: reorder fields to reduce padding
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 29 Dec 2025 23:58:05 +0000 (18:58 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 28 Jan 2026 20:32:08 +0000 (15:32 -0500)
commitf9108dee782fe45318a2c9f007fb72ab370d476d
tree0090e51cb9daf6e3e51d5f05c1f5aa5bccaabcf8
parentd08fda2cf2e68b4e0865f1bf0b49010db74da079
vsock/virtio: reorder fields to reduce padding

Reorder struct virtio_vsock fields to place the DMA buffer (event_list)
last. This eliminates the padding from aligning the struct size on
ARCH_DMA_MINALIGN.

Message-ID: <ce44f61af415521e00ab7492aa16d3d19f00bd5e.1769632071.git.mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vmw_vsock/virtio_transport.c