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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 8/9/2022 11:42 AM, Parav Pandit wrote:
From: Si-Wei Liu <si-wei.liu@xxxxxxxxxx>
Sent: Tuesday, August 9, 2022 2:39 PM
Currently it is not. Not a single patch nor this patch, but the context for the
eventual goal is to allow XDP on a MTU=9000 link when guest users
intentionally lower down MTU to 1500.
Which application benefit by having asymmetry by lowering mtu to 1500 to send packets but want to receive 9K packets?
I think virtio-net driver doesn't differentiate MTU and MRU, in which case the receive buffer will be reduced to fit the 1500B payload size when mtu is lowered down to 1500 from 9000. What I actually tried to say is that as our current use case (software virtio) supports XDP applications with 1500 guest mtu and mergeable buffer enabled on a 9000 MTU link, technically it's a legitimate use case regardless of mergeable buffer capability. Otherwise it's considered to be a usability regression in driver software side when migrating (not live migrating) existing user to vdpa, due to lack of hardware implementation of certain relevant feature.

Thanks,
-Siwei
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization



[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux