Re: [PATCH v4 03/12] net: Pad short frames to minimum size before sending from SLiRP/TAP

2021-03-16 Thread Philippe Mathieu-Daudé
On 3/16/21 1:04 PM, Bin Meng wrote: > The minimum Ethernet frame length is 60 bytes. For short frames with > smaller length like ARP packets (only 42 bytes), on a real world NIC > it can choose either padding its length to the minimum required 60 > bytes, or sending it out directly to the wire.

[PATCH v4 03/12] net: Pad short frames to minimum size before sending from SLiRP/TAP

2021-03-16 Thread Bin Meng
The minimum Ethernet frame length is 60 bytes. For short frames with smaller length like ARP packets (only 42 bytes), on a real world NIC it can choose either padding its length to the minimum required 60 bytes, or sending it out directly to the wire. Such behavior can be hardcoded or controled by