> From: Xuan Zhuo <xuanz...@linux.alibaba.com>
> Sent: Tuesday, August 29, 2023 12:48 PM
> 
> For this line:
>  "If the reply header structure and actual stats are split properly, it will 
> be easy
>   to add the query by the owner device."
> 
> So for the header structure, is there some specific requirements?

TLV type, length, is only two fields needed and to align to 64-bit.
struct virtio_element_type {
        u16 type;
        u16 rsvd;
        u32 length;
};

Above generic type if defined, that we can possibly use across many virtio 
devices.

---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-h...@lists.oasis-open.org

Reply via email to