https://github.com/torvalds/linux
Revision 48734994ac268eb391a66dca4cde7d08a08aba08 authored by Vlastimil Setka on 28 April 2015, 22:17:11 UTC, committed by David S. Miller on 29 April 2015, 19:19:34 UTC
Altera TSE MAC rx DMA transfer starts with the 2 additional bytes for IP
payload alignment. This patch fixes tse_rx() function loop which reads DMA
rx status and extracts packet length from it. Status signalises a whole DMA
transfer length, which is 2 bytes longer than the packet itself.

Signed-off-by: Vlastimil Setka <setka@vsis.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 42eab00
History
Tip revision: 48734994ac268eb391a66dca4cde7d08a08aba08 authored by Vlastimil Setka on 28 April 2015, 22:17:11 UTC
altera_tse: Correct rx packet length
Tip revision: 4873499
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.5 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 301.9 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top