OpenCloudOS-Kernel/drivers/net/ethernet/altera
Vlastimil Setka 48734994ac altera_tse: Correct rx packet length
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>
2015-04-29 15:19:34 -04:00
..
Kconfig Altera TSE: ALTERA_TSE should depend on HAS_DMA 2014-05-05 13:16:22 -04:00
Makefile Altera TSE: Fix sparse errors and warnings 2014-05-15 16:46:46 -04:00
altera_msgdma.c Altera TSE: Fix sparse errors and warnings 2014-05-15 16:46:46 -04:00
altera_msgdma.h Altera TSE: Work around unaligned DMA receive packet issue with Altera SGDMA 2014-04-26 12:26:26 -04:00
altera_msgdmahw.h net: eth: altera: Resolve false errors from MSGDMA to TSE 2015-04-25 14:41:52 -04:00
altera_sgdma.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-05-24 00:32:30 -04:00
altera_sgdma.h Altera TSE: Work around unaligned DMA receive packet issue with Altera SGDMA 2014-04-26 12:26:26 -04:00
altera_sgdmahw.h Altera TSE: Fix sparse errors and warnings 2014-05-15 16:46:46 -04:00
altera_tse.h Altera TSE: Fix sparse errors and warnings 2014-05-15 16:46:46 -04:00
altera_tse_ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2014-05-24 00:32:30 -04:00
altera_tse_main.c altera_tse: Correct rx packet length 2015-04-29 15:19:34 -04:00
altera_utils.c Altera TSE: Fix sparse errors and warnings 2014-05-15 16:46:46 -04:00
altera_utils.h Altera TSE: Fix sparse errors and warnings 2014-05-15 16:46:46 -04:00