]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa_eth: fix SG frame cleanup
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Fri, 3 May 2019 13:03:11 +0000 (16:03 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2019 17:31:33 +0000 (10:31 -0700)
commita66f9a9a13235df19dc0285bc393844707c20ce2
tree3cbf113b92b126cd7a31511e09d07e2820f0deb7
parent0f18e6c3cd782b742bc4083c56434f8e00ce0c47
dpaa_eth: fix SG frame cleanup

Fix issue with the entry indexing in the sg frame cleanup code being
off-by-1. This problem showed up when doing some basic iperf tests and
manifested in traffic coming to a halt.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c