Re: [virtio-dev] [PATCH v3 2/2] virtio-net: use mtu size as buffer length for big packets

2022-08-31 Thread Si-Wei Liu
On 8/29/2022 7:26 PM, Gavin Li wrote: Currently add_recvbuf_big() allocates MAX_SKB_FRAGS segments for big packets even when GUEST_* offloads are not present on the device. However, if guest GSO is not supported, it would be sufficient to allocate segments to cover just up the MTU size and no

Re: [virtio-dev] [PATCH v3 2/2] virtio-net: use mtu size as buffer length for big packets

2022-08-29 Thread Xuan Zhuo
On Tue, 30 Aug 2022 05:26:34 +0300, Gavin Li wrote: > Currently add_recvbuf_big() allocates MAX_SKB_FRAGS segments for big > packets even when GUEST_* offloads are not present on the device. > However, if guest GSO is not supported, it would be sufficient to > allocate segments to cover just up