From: TAKANO Mitsuhiro <takano32@gmail.com>
To: Jesper Dangaard Brouer <hawk@kernel.org>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
linux-kernel@vger.kernel.org,
TAKANO Mitsuhiro <takano32@gmail.com>
Subject: [PATCH] net: page_pool: Drop fast and slow from the params kernel-doc
Date: Wed, 25 Nov 2026 18:46:40 +0000 [thread overview]
Message-ID: <20261125184640.2407270-1-takano32@gmail.com> (raw)
struct page_pool_params groups its members with struct_group_tagged(),
so fast and slow are group names, not members. kernel-doc does not
expand the group, and reports both as excess:
Warning: include/net/page_pool/types.h:105 Excess struct member 'fast'
description in 'page_pool_params' (did you mean one of: 'flags',
'offset')
Warning: include/net/page_pool/types.h:105 Excess struct member 'slow'
description in 'page_pool_params'
Each one is reported twice. Drop the two @-lines and say in the
description which members are read on the hotpath, where a reader of
the rendered page looks for it.
Verification: kernel-doc -none include/net/page_pool/types.h prints the
four warnings before the change and nothing after it.
Signed-off-by: TAKANO Mitsuhiro <takano32@gmail.com>
---
include/net/page_pool/types.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/net/page_pool/types.h b/include/net/page_pool/types.h
index 6d543076a0c0..5306e34105eb 100644
--- a/include/net/page_pool/types.h
+++ b/include/net/page_pool/types.h
@@ -69,7 +69,10 @@ struct pp_alloc_cache {
/**
* struct page_pool_params - page pool parameters
- * @fast: params accessed frequently on hotpath
+ *
+ * The members in the fast group are read on the hotpath; the ones in the
+ * slow group are read during initialization and by Netlink only.
+ *
* @order: 2^order pages on allocation
* @pool_size: size of the ptr_ring
* @nid: NUMA node id to allocate from pages from
@@ -78,7 +81,6 @@ struct pp_alloc_cache {
* @dma_dir: DMA mapping direction
* @max_len: max DMA sync memory size for PP_FLAG_DMA_SYNC_DEV
* @offset: DMA sync address offset for PP_FLAG_DMA_SYNC_DEV
- * @slow: params with slowpath access only (initialization and Netlink)
* @netdev: netdev this pool will serve (leave as NULL if none or multiple)
* @queue_idx: queue idx this page_pool is being created for.
* @flags: PP_FLAG_DMA_MAP, PP_FLAG_DMA_SYNC_DEV, PP_FLAG_SYSTEM_POOL,
base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
--
2.53.0
next reply other threads:[~2026-11-25 18:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 18:46 TAKANO Mitsuhiro [this message]
2026-11-25 23:17 ` [PATCH] net: page_pool: Drop fast and slow from the params kernel-doc Joe Damato
2026-11-26 1:18 ` TAKANO Mitsuhiro
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=20261125184640.2407270-1-takano32@gmail.com \
--to=takano32@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=hawk@kernel.org \
--cc=ilias.apalodimas@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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 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.