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

Stefan Hajnoczi stefanha at redhat.com
Fri Apr 8 09:00:47 UTC 2016


On Thu, Apr 07, 2016 at 08:47:01PM -0600, Lin Ma wrote:
> >>> 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 ?

No, it doesn't.

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20160408/a9b834f8/attachment.sig>


More information about the ipxe-devel mailing list