diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2015-04-21 22:33:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-08 14:35:22 +0200 |
commit | d65d2b25d2761153390df8026cca1a528d9b6c5a (patch) | |
tree | b4f7a3c020fd6c2981281b56f912c7e5de447a9b /arch/unicore32 | |
parent | ad3fee9b17b90b8f1ac94b615111b2f14dd90adb (diff) | |
download | op-kernel-dev-d65d2b25d2761153390df8026cca1a528d9b6c5a.zip op-kernel-dev-d65d2b25d2761153390df8026cca1a528d9b6c5a.tar.gz |
staging: vt6655: vnt_tx_packet Correct TX order of OWNED_BY_NIC
The state of m_td0TD0.f1Owner should change after the buff_addr
has been filled otherwise the device grabs the buffer too early.
m_td0TD0.f1Owner is protected by memory barriers on both sides
of change.
iTDUsed is best incremented after MACvTransmit.
It appears that f1Owner actually polls to do the memory transfer.
A back port patch will be needed for v3.19
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: <stable@vger.kernel.org> # v4.0+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions