diff options
author | Cédric Le Goater | 2018-06-08 14:15:32 +0200 |
---|---|---|
committer | Peter Maydell | 2018-06-08 14:15:32 +0200 |
commit | cd679a76a0ec8e634922454ab26b7ef8d2d114b2 (patch) | |
tree | 612c8d5fc794d48a5a89afa861b941208dcb48a8 /hw/input/tsc210x.c | |
parent | aspeed: add the pc9552 chips to the witherspoon machine (diff) | |
download | qemu-cd679a76a0ec8e634922454ab26b7ef8d2d114b2.tar.gz qemu-cd679a76a0ec8e634922454ab26b7ef8d2d114b2.tar.xz qemu-cd679a76a0ec8e634922454ab26b7ef8d2d114b2.zip |
ftgmac100: compute maximum frame size depending on the protocol
The maximum frame size includes the CRC and depends if a VLAN tag is
inserted or not. Adjust the frame size limit in the transmit handler
using on the FTGMAC100State buffer size and in the receive handler use
the packet protocol.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180530061711.23673-2-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/input/tsc210x.c')
0 files changed, 0 insertions, 0 deletions