Re: [PATCH v3 5/7] vdpa: Accessing CVQ header through its structure

2023-08-17 Thread Eugenio Perez Martin
On Fri, Jul 7, 2023 at 5:27 PM Hawkins Jiawei wrote: > > We can access the CVQ header through `struct virtio_net_ctrl_hdr`, > instead of accessing it through a `uint8_t` pointer, > which improves the code's readability and maintainability. > > Signed-off-by: Hawkins Jiawei Acked-by: Eugenio

[PATCH v3 5/7] vdpa: Accessing CVQ header through its structure

2023-07-07 Thread Hawkins Jiawei
We can access the CVQ header through `struct virtio_net_ctrl_hdr`, instead of accessing it through a `uint8_t` pointer, which improves the code's readability and maintainability. Signed-off-by: Hawkins Jiawei --- net/vhost-vdpa.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff