]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e3a3160565dc8924dc1478c72cc4bbe47405deb
tree1464d57123026b76b4b9a9c6c8fc8e89a928adf4
parent724e4ea8f53e8c759d31b54bae5142d12ae641e2
parent2ee7becfe387d2cd65ca275c94a83a9f7e84bd43
Merge branch 'macb-TSO-bug-fixes'

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>