From: jiangyiwen <jiangyiwen@xxxxxxxxxx> Date: Thu, 13 Dec 2018 11:11:48 +0800 > I hope Host can fill fewer bytes into rx virtqueue, so > I keep structure virtio_vsock_mrg_rxbuf_hdr one byte > alignment. The question is if this actully matters. Do you know? If the obejct this is embeeded inside of is at least 2 byte aligned, you are marking it packed for nothing. There are only %100 downsides to using the packed attribute. Simply define your datastructures properly, with fixed sized types, and all padding defined explicitly.