All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/3] dpaa2-eth: software TSO fixes
@ 2022-05-22 12:52 Ioana Ciornei
  2022-05-22 12:52 ` [PATCH net 1/3] dpaa2-eth: retrieve the virtual address before dma_unmap Ioana Ciornei
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ioana Ciornei @ 2022-05-22 12:52 UTC (permalink / raw)
  To: netdev, davem, kuba, edumazet, pabeni; +Cc: Ioana Ciornei

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-01 10:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-22 12:52 [PATCH net 0/3] dpaa2-eth: software TSO fixes Ioana Ciornei
2022-05-22 12:52 ` [PATCH net 1/3] dpaa2-eth: retrieve the virtual address before dma_unmap Ioana Ciornei
2022-05-22 12:52 ` [PATCH net 2/3] dpaa2-eth: use the correct software annotation field Ioana Ciornei
2022-05-22 12:52 ` [PATCH net 3/3] dpaa2-eth: unmap the SGT buffer before accessing its contents Ioana Ciornei
2022-05-24 18:39 ` [PATCH net 0/3] dpaa2-eth: software TSO fixes Jakub Kicinski
2022-06-01 10:22 ` David Lamparter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.