Re: [PATCH v3 4/6] virtio-net: expose virtio_net_supported_guest_offloads()

2023-06-01 Thread Hawkins Jiawei
On 2023/6/1 22:37, Eugenio Perez Martin wrote: > On Thu, Jun 1, 2023 at 3:49 PM Hawkins Jiawei wrote: >> >> To support restoring offloads state in vdpa, need to expose >> the function virtio_net_supported_guest_offloads(). >> QEMU uses this function to get the guest supported offloads >> and no ne

Re: [PATCH v3 4/6] virtio-net: expose virtio_net_supported_guest_offloads()

2023-06-01 Thread Eugenio Perez Martin
On Thu, Jun 1, 2023 at 3:49 PM Hawkins Jiawei wrote: > > To support restoring offloads state in vdpa, need to expose > the function virtio_net_supported_guest_offloads(). > QEMU uses this function to get the guest supported offloads > and no needs to send the corresponding CVQ command if guest do

[PATCH v3 4/6] virtio-net: expose virtio_net_supported_guest_offloads()

2023-06-01 Thread Hawkins Jiawei
To support restoring offloads state in vdpa, need to expose the function virtio_net_supported_guest_offloads(). QEMU uses this function to get the guest supported offloads and no needs to send the corresponding CVQ command if guest enables all supported features. Signed-off-by: Hawkins Jiawei ---