[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v3 05/11] imx_fec: Use ENET_FTRL to determine trun
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH v3 05/11] imx_fec: Use ENET_FTRL to determine truncation length |
Date: |
Mon, 8 Jan 2018 14:00:21 +0000 |
On 2 January 2018 at 19:36, Andrey Smirnov <address@hidden> wrote:
> Frame truncation length, TRUNC_FL, is determined by the contents of
> ENET_FTRL register, so convert the code to use it instead of a
> hardcoded constant.
>
> To avoid the case where TRUNC_FL is greater that ENET_MAX_FRAME_SIZE,
> increase the value of the latter to its theoretical maximum of 16K.
>
> Cc: Peter Maydell <address@hidden>
> Cc: Jason Wang <address@hidden>
> Cc: Philippe Mathieu-Daudé <address@hidden>
> Cc: address@hidden
> Cc: address@hidden
> Cc: address@hidden
> Signed-off-by: Andrey Smirnov <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
thanks
-- PMM
- [Qemu-arm] [PATCH v3 00/11] i.MX FEC changes, Andrey Smirnov, 2018/01/02
- [Qemu-arm] [PATCH v3 02/11] imx_fec: Refactor imx_eth_enable_rx(), Andrey Smirnov, 2018/01/02
- [Qemu-arm] [PATCH v3 01/11] imx_fec: Do not link to netdev, Andrey Smirnov, 2018/01/02
- [Qemu-arm] [PATCH v3 03/11] imx_fec: Change queue flushing heuristics, Andrey Smirnov, 2018/01/02
- [Qemu-arm] [PATCH v3 04/11] imx_fec: Move Tx frame buffer away from the stack, Andrey Smirnov, 2018/01/02
- [Qemu-arm] [PATCH v3 05/11] imx_fec: Use ENET_FTRL to determine truncation length, Andrey Smirnov, 2018/01/02
- Re: [Qemu-arm] [PATCH v3 05/11] imx_fec: Use ENET_FTRL to determine truncation length,
Peter Maydell <=
- [Qemu-arm] [PATCH v3 07/11] imx_fec: Emulate SHIFT16 in ENETx_RACC, Andrey Smirnov, 2018/01/02
- [Qemu-arm] [PATCH v3 06/11] imx_fec: Use MIN instead of explicit ternary operator, Andrey Smirnov, 2018/01/02
- [Qemu-arm] [PATCH v3 08/11] imx_fec: Add support for multiple Tx DMA rings, Andrey Smirnov, 2018/01/02
- [Qemu-arm] [PATCH v3 10/11] imx_fec: Fix a typo in imx_enet_receive(), Andrey Smirnov, 2018/01/02
- [Qemu-arm] [PATCH v3 11/11] imx_fec: Reserve full FSL_IMX25_FEC_SIZE page for the register file, Andrey Smirnov, 2018/01/02
- [Qemu-arm] [PATCH v3 09/11] imx_fec: Use correct length for packet size, Andrey Smirnov, 2018/01/02
- Re: [Qemu-arm] [PATCH v3 00/11] i.MX FEC changes, Peter Maydell, 2018/01/08