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 --- 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