From: Jakub Kicinski <kuba@kernel.org>
To: Joe Damato <joe@dama.to>
Cc: netdev@vger.kernel.org, "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
andrew+netdev@lunn.ch, michael.chan@broadcom.com,
pavan.chebbi@broadcom.com, linux-kernel@vger.kernel.org,
leon@kernel.org
Subject: Re: [net-next v8 01/10] net: tso: Introduce tso_dma_map and helpers
Date: Mon, 6 Apr 2026 18:16:38 -0700 [thread overview]
Message-ID: <20260406181638.0c302c41@kernel.org> (raw)
In-Reply-To: <20260403003524.2564973-2-joe@dama.to>
On Thu, 2 Apr 2026 17:35:08 -0700 Joe Damato wrote:
> +/**
> + * tso_dma_map_complete - tear down mapping at completion time
> + * @dev: the device that owns the mapping
> + * @cstate: state saved by tso_dma_map_completion_save()
> + *
> + * Returns true if the IOVA path was used and the mapping has been
> + * destroyed. Returns false if the fallback per-region path was used
> + * and the driver must unmap via its normal completion path.
> + */
> +static inline bool
> +tso_dma_map_complete(struct device *dev,
> + struct tso_dma_map_completion_state *cstate)
> +{
> + if (dma_use_iova(&cstate->iova_state)) {
> + dma_iova_destroy(dev, &cstate->iova_state, cstate->total_len,
> + DMA_TO_DEVICE, 0);
> + return true;
> + }
> +
> + return false;
> +}
kdoc says:
Warning: include/net/tso.h:120 No description found for return value of 'tso_dma_map_complete'
missing the crucial : character..
--
pw-bot: cr
next prev parent reply other threads:[~2026-04-07 1:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-03 0:35 [net-next v8 00/10] Add TSO map-once DMA helpers and bnxt SW USO support Joe Damato
2026-04-03 0:35 ` [net-next v8 01/10] net: tso: Introduce tso_dma_map and helpers Joe Damato
2026-04-07 1:16 ` Jakub Kicinski [this message]
2026-04-03 0:35 ` [net-next v8 02/10] net: bnxt: Export bnxt_xmit_get_cfa_action Joe Damato
2026-04-03 0:35 ` [net-next v8 03/10] net: bnxt: Add a helper for tx_bd_ext Joe Damato
2026-04-03 0:35 ` [net-next v8 04/10] net: bnxt: Use dma_unmap_len for TX completion unmapping Joe Damato
2026-04-03 0:35 ` [net-next v8 05/10] net: bnxt: Add TX inline buffer infrastructure Joe Damato
2026-04-03 0:35 ` [net-next v8 06/10] net: bnxt: Add boilerplate GSO code Joe Damato
2026-04-03 0:35 ` [net-next v8 07/10] net: bnxt: Implement software USO Joe Damato
2026-04-03 2:42 ` Eric Dumazet
2026-04-03 0:35 ` [net-next v8 08/10] net: bnxt: Add SW GSO completion and teardown support Joe Damato
2026-04-03 0:35 ` [net-next v8 09/10] net: bnxt: Dispatch to SW USO Joe Damato
2026-04-03 0:35 ` [net-next v8 10/10] selftests: drv-net: Add USO test Joe Damato
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260406181638.0c302c41@kernel.org \
--to=kuba@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=joe@dama.to \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.chan@broadcom.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pavan.chebbi@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox