diff options
author | Vlastimil Setka <setka@vsis.cz> | 2015-04-29 00:17:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-29 15:19:34 -0400 |
commit | 48734994ac268eb391a66dca4cde7d08a08aba08 (patch) | |
tree | 0d121b78c92a711a9144282e23ad7d0f61eca1b2 /fs/efivarfs/internal.h | |
parent | 42eab005a5dd5d7ea2b0328aecc4d6cc0c23c9c2 (diff) |
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>
Diffstat (limited to 'fs/efivarfs/internal.h')
0 files changed, 0 insertions, 0 deletions