<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7601.19038"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt 微软雅黑">
<DIV><BR><BR>>>> Michael Brown <mcb30@ipxe.org> 2016/3/28 星期一 下午 8:23 >>><BR>>On 28/03/16 13:20, Lin Ma wrote:<BR>>> We know that RX_BUF_SIZE is assigned the value 1522 in<BR>>> src/drivers/net/virtio-net.c.<BR>>> I'd like to know that is it ok if I write a patch to change the value<BR>>> from 1522 to IEEE80211_MAX_FRAME_LEN(2352)?<BR>>> If the answer is negative, Would you please tell me why?<BR>>> I got an bug report about this, During a pxe guest installation, after<BR>>> loading kernel, if sending jumbo frame packets, say<BR>>> 'ping -i0.5 -M do -s 8972 $GUEST_IP' from host, The guest installation<BR>>> will hang, So I want to increase the rx buffer<BR>>> size of virtio-net to avoid this overflow. That's why I ask this question.<BR>><BR>>This happens *after* booting the kernel?<BR>><BR>>If so, then iPXE is no longer executing. Any problem would be in the <BR>>kernel's virtio drivers.<BR></DIV>
<DIV>Sorry for the late responding.</DIV>
<DIV>Does virtio-net of iPXE support jumbo frames ?</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV>Lin</DIV></BODY></HTML>