lkml.org 
[lkml]   [2023]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH net] virtio-net: reject small vring sizes
Date
> Actually, I think that all you need to do is disable NETIF_F_SG,
> and things will work, no?

I think that this is not so simple, if I understand correctly, by disabling NETIF_F_SG we will never receive a chained skbs to transmit, but we still have more functionality to address, for example:
* The TX timeouts.
* Guest GSO/big MTU (without VIRTIO_NET_F_MRG_RXBUF?), we can't chain page size buffers anymore.

> Alvaro, can you try?

It won't matter at the moment, we'll get TX timeout after the first tx packet, we need to address this part as well.
\
 
 \ /
  Last update: 2023-04-17 08:40    [W:0.056 / U:0.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site