Closed milan-zededa closed 5 months ago
LGTM. Is there some place where folks can determine whether VIRTIO_ NET_F_MTU is supported? ethtool? Something else?
http://blog.vmsplice.net/2020/05/how-to-check-virtio-feature-bits-inside.html
Given that
#define VIRTIO_NET_F_MTU 3
We can check with:
# the position argument of "cat" starts with 1, hence we have to do +1
cat /sys/class/net/enp1s0/device/features | cut -c 4
Maybe I can link this article from the comment?
@eriknordmark I will be submitting detailed documentation on the MTU topic for the EVE repo and will describe how to check VIRTIO_NET_F_MTU and other things. I think that I would prefer to avoid making the comment in the protofile any longer with some details and adding links that may go broke. Users do not really read comments in this repo anyway but look into the EVE documentation. WDYT?
Ok
Virtio interfaces do actually allow to propagate MTU value from the host to the guest.