summaryrefslogtreecommitdiff
path: root/drivers/net/hyperv/hyperv_net.h
diff options
context:
space:
mode:
authorVlastimil Setka <setka@vsis.cz>2015-04-28 22:17:11 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-04-29 19:19:34 (GMT)
commit48734994ac268eb391a66dca4cde7d08a08aba08 (patch)
tree0d121b78c92a711a9144282e23ad7d0f61eca1b2 /drivers/net/hyperv/hyperv_net.h
parent42eab005a5dd5d7ea2b0328aecc4d6cc0c23c9c2 (diff)
downloadlinux-48734994ac268eb391a66dca4cde7d08a08aba08.tar.xz
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 'drivers/net/hyperv/hyperv_net.h')
0 files changed, 0 insertions, 0 deletions