OSDN Git Service

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)
commit120d75ecf043044554abbba8507f6d22e4715beb
treefa1c73d6cb9f55b821c3506b15b5f2cfc2e1a704
parentafdd6ae352527b83a3e13c040b22f455fe6537db
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