[ipxe-devel] About the RX_BUF_SIZE issue of virtio-net

Michael Brown mcb30 at ipxe.org
Mon Mar 28 12:23:34 UTC 2016

On 28/03/16 13:20, Lin Ma wrote:
> We know that RX_BUF_SIZE is assigned the value 1522 in
> src/drivers/net/virtio-net.c.
> I'd like to know that is it ok if I write a patch to change the value
> from 1522 to IEEE80211_MAX_FRAME_LEN(2352)?
> If the answer is negative, Would you please tell me why?
> I got an bug report about this, During a pxe guest installation, after
> loading kernel, if sending jumbo frame packets, say
> 'ping -i0.5 -M do -s 8972 $GUEST_IP' from host, The guest installation
> will hang, So I want to increase the rx buffer
> size of virtio-net to avoid this overflow. That's why I ask this question.

This happens *after* booting the kernel?

If so, then iPXE is no longer executing.  Any problem would be in the 
kernel's virtio drivers.


More information about the ipxe-devel mailing list