[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] Re: [PATCH][VT] fix bug that service os&vmx guest can'tcommunicate with each other.



 >Why is special treatment needed for small packets? Is this simply 
>masking a bug elsewhere -- the original qemu driver must have dealt 
>with small packets (e.g., TCP acks) correctly.

Ethernet frame can not be less than 60 bytes.  When being sent out,
small frames will be extended to 60 bytes by padding 0.  On receiving
frames smaller than 60 bytes, network driver takes it as a Rx error and
drop such frames.
Actually, maybe it's a bug of tun driver, it should extend small frames
before committing to qemu.
Yes, qemu ne2k DM does such work on receiving frames, now we make pcnet
DM do such check.
-Xin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.