> From: Xuan Zhuo <[email protected]>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to