hw/net: ftgmac100: Drop the small packet check in the receive path
commit71e11da1facdf08c91b3763bd9a72c2121f2bbb6
authorBin Meng <bmeng@tinylab.org>
Sun, 25 Jun 2023 01:53:21 +0000 (25 09:53 +0800)
committerJason Wang <jasowang@redhat.com>
Fri, 7 Jul 2023 08:35:12 +0000 (7 16:35 +0800)
treec5ea2fbfd2217dda503b8824015bb966a59bb4d0
parent0fe0efc9cd594eb0ce36cc7722f0ce1d038df8d7
hw/net: ftgmac100: Drop the small packet check in the receive path

Now that we have implemented unified short frames padding in the
QEMU networking codes, the small packet check logic in the receive
path is no longer needed.

Suggested-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/ftgmac100.c