[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220522125251.444477-1-ioana.ciornei@nxp.com>
Date: Sun, 22 May 2022 15:52:48 +0300
From: Ioana Ciornei <ioana.ciornei@....com>
To: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
edumazet@...gle.com, pabeni@...hat.com
Cc: Ioana Ciornei <ioana.ciornei@....com>
Subject: [PATCH net 0/3] 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.
Ioana Ciornei (3):
dpaa2-eth: retrieve the virtual address before dma_unmap
dpaa2-eth: use the correct software annotation field
dpaa2-eth: unmap the SGT buffer before accessing its contents
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
--
2.33.1
Powered by blists - more mailing lists