]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa_eth: fix SG mapping
authorMadalin Bucur <madalin.bucur@nxp.com>
Mon, 26 Feb 2018 17:24:01 +0000 (11:24 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 16:40:03 +0000 (11:40 -0500)
commit5c970326d508e0b64382a0d7a552b7e6f49910cb
treefa1c73d6cb9f55b821c3506b15b5f2cfc2e1a704
parentf02920e58e871c1c385a963528fc3a96aa55a8e5
dpaa_eth: fix SG mapping

An issue in the code mapping the skb fragments into
scatter-gather frames was evidentiated by netperf
TCP_SENDFILE tests. The size was set wrong for all
fragments but the first, affecting the transmission
of any skb with more than one fragment.

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