summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPhilipp Kirchhofer <philipp@familie-kirchhofer.de>2015-10-18 17:02:44 +0300
committerDavid S. Miller <davem@davemloft.net>2015-10-21 17:36:41 +0300
commit968200f322daccc6f08fee26fe1bb4232e460408 (patch)
treee79e6ba017b03469d9d67a3b5e8b852c63063381 /kernel
parent91986fd3d335a2ea651bc85cf5a03f2f61a2aa34 (diff)
downloadlinux-968200f322daccc6f08fee26fe1bb4232e460408.tar.xz
net: mv643xx_eth: Defer writing the first TX descriptor when using TSO
To prevent a race between the TX DMA engine and the CPU the writing of the first transmit descriptor must be deferred until all following descriptors have been updated. The network card may otherwise start transmitting before all packet descriptors are set up correctly, which leads to data corruption or an aborted transmit operation. This deferral is already done in the non-TSO TX path, implement it also in the TSO TX path. Signed-off-by: Philipp Kirchhofer <philipp@familie-kirchhofer.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions