Merge branch 'macb-TSO-bug-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 5 Feb 2020 13:46:04 +0000 (14:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Feb 2020 13:46:04 +0000 (14:46 +0100)
Harini Katakam says:

====================
macb: TSO bug fixes

An IP errata was recently discovered when testing TSO enabled versions
with perf test tools where a false amba error is reported by the IP.
Some ways to reproduce would be to use iperf or applications with payload
descriptor sizes very close to 16K. Once the error is observed TXERR (or
bit 6 of ISR) will be constantly triggered leading to a series of tx path
error handling and clean up. Workaround the same by limiting this size to
0x3FC0 as recommended by Cadence. There was no performance impact on 1G
system that I tested with.

Note on patch 1: The alignment code may be unused but leaving it there
in case anyone is using UFO.

Added Fixes tag to patch 1.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge