On 2 January 2018 at 19:36, Andrey Smirnov <[email protected]> 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 <[email protected]> > Cc: Jason Wang <[email protected]> > Cc: Philippe Mathieu-Daudé <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > Signed-off-by: Andrey Smirnov <[email protected]>
Reviewed-by: Peter Maydell <[email protected]> thanks -- PMM
