Re: [net-next v6 09/12] net: bnxt: Add SW GSO completion and teardown support
From: Jakub Kicinski
Date: Sun Mar 29 2026 - 18:22:43 EST
On Thu, 26 Mar 2026 16:52:28 -0700 Joe Damato wrote:
> + if (head_buf->is_sw_gso == BNXT_SW_GSO_LAST) {
> + if (dma_use_iova(&head_buf->iova_state))
> + dma_iova_destroy(&pdev->dev,
> + &head_buf->iova_state,
> + head_buf->iova_total_len,
> + DMA_TO_DEVICE, 0);
Do we have to expose the dma_use_iova() stuff to the driver at all?
Could we have a function the driver is supposed to call to clean up,
always, and what the function does is up to the TSO lib?