[ipxe-devel] 答复: Re: About the RX_BUF_SIZE issue of virtio-net

Lin Ma lma at suse.com
Fri Apr 8 02:47:01 UTC 2016



>>> Michael Brown <mcb30 at ipxe.org> 2016/3/28 星期一 下午 8:23 >>>
>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.
Sorry for the late responding.
Does virtio-net of iPXE support jumbo frames ?
 
Thanks,
Lin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20160407/2d4ed5e5/attachment.htm>


More information about the ipxe-devel mailing list