Merge branch 'dpaa2-swtso-fixes'
authorDavid S. Miller <davem@davemloft.net>
Sun, 22 May 2022 21:18:05 +0000 (22:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 May 2022 21:18:05 +0000 (22:18 +0100)
commit7e4d1c23759257ea62c418c8fb25ddbde1059547
tree3bcd6b0cd1e136697e4adf991ad5d9ff80805366
parent15d221d0c345b76947911a3ac91897ffe2f1cc4e
parent0a09c5b8cb8f75344da7d90c771b84f7cdeaea04
Merge branch 'dpaa2-swtso-fixes'

Ioana Ciornei says:

====================
dpaa2-eth: software TSO fixes

This patch fixes the software TSO feature in dpaa2-eth.

There are multiple errors that I made in the initial submission of the
code, which I didn't caught since I was always running with passthough
IOMMU.

The bug report came in bugzilla:
https://bugzilla.kernel.org/show_bug.cgi?id=215886

The bugs are in the Tx confirmation path, where I was trying to retrieve
a virtual address after DMA unmapping the area. Besides that, another
dma_unmap call was made with the wrong size.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>