Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp475249lqb; Fri, 24 May 2024 04:31:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUTk/0MaScZMf2WO3ln+aW7Q/Iok4iI7uQFDQ/nlx3ed9vGnjxgwlA25ztPuZx6zxx4BQ+UPdcfeSiRDrKSCzu/buuYddYohER9O4gayg== X-Google-Smtp-Source: AGHT+IFHwJy3ja1XnfZDhN6vkHsB63WtvphJfuArLSbfVIgAZ787vPUaByJ2Ddx6RlUi6T1pH39K X-Received: by 2002:a67:f711:0:b0:47c:2d52:8c08 with SMTP id ada2fe7eead31-48a385582c1mr1838930137.17.1716550317157; Fri, 24 May 2024 04:31:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716550317; cv=pass; d=google.com; s=arc-20160816; b=BsOf43VItlqrKfCJV0n/66CJf2vemdsqjFGq32UvSw1/sl+hX4dcR8CtCVSiYOtcnd UmJNxumSAoupVSG4xU6j8F0tgibn0/gopYeHOVFFFZEPTJtziWNK+EebTrFd+7zNp/t3 Flrp09zKo1GQFVNC94wT41UhlPgwNqqVSatfpHXAEzbzSpncfo8102/BGtxKVkRhzEhg ebi+MJjutMPPMmgHoDJZeFtUbl6HQ6sAJSlWALAPx/ZM274tjcL0Nu48AiDGO/6esmSN GEcK2gbcShWlAvgGv6O5Ww23TSOPSLQmplDKaNcP7SPvbkXHbF54KfagrtaZZzsdqnSS 3XYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=NXVIfSaztqn/5RStH2zVo/xmHzgHdQFcpuwzYhuexZw=; fh=30jN8J/4wCUrOLrKkpvrlaICv195WpBPjyXg8gFdJzE=; b=tgu2B5lSuRFbQnljmQeEfG+z1FFXpY2Bvt26/kRDg+ionLJaaSnkHTWRMJwxZINVhe 9G1q/YqoEoPM1yZQGdUihxOL31LS6u4HumnsvPlzkGcGrg0HQlbBE4077hyyI59d4Qwi Ib/kYqKzwNnvKt1Z0w2aCW7orTemFKGV7yFTjZwKHuUizqc8tuJrU4Ti3TY90UN2vW1a O/XXenZ/vRMR5iwdyBiv/5eXxOfKq/2P/MzGD3PyojGD4gGMWnDZiC1qt6VtSKz6C53/ fGr9Us3hzLpSBmDO9kSy0EnW2VDjOtVKoi4MEtqgHNyC+q2onOxSQwISf43KR2G1i4Mi E1yw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ccx6URR+; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-188647-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188647-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ada2fe7eead31-48a428ce1bcsi43221137.206.2024.05.24.04.31.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 04:31:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188647-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ccx6URR+; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-188647-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188647-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D673B1C216C8 for ; Fri, 24 May 2024 11:31:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE9C58624B; Fri, 24 May 2024 11:31:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Ccx6URR+" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F5C29475; Fri, 24 May 2024 11:31:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716550309; cv=none; b=gQum9D1PQyGm1GkYBUZwT0kfWshL5KropXd1mjaJWY0ljfXXOjRpTXlSPzGlvcK209BRaB0OvoliO9a/+w5s74mbwcQHHfs0oHYgFtmU0uZx1kxV4PFSKkiHm+3ai9jAY5UlNny8n3h2z7yEOCsW3aeNiR6OF9Zu/A2V3s8T18o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716550309; c=relaxed/simple; bh=4LBvQetF7IAlYlAy82ZKXQGvBJrIruYN4l+FdhPRo9w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WRlVrxzBlFHOTQ2WxHCfqEwQ1ey6OEct0aiaLA5WgXP/U8kVWNGuLGhj8f7ovi2KGsPuvlDp6+Qj+StuUjt+aSbJ07lUGohhvzLC+Lp0BJNzlNHMvcEoiF+/9C/0IB+JkMglqupLA0rQlzs+SlQBEXFaRE2V14oWWRXnjq3t3kA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Ccx6URR+; arc=none smtp.client-ip=198.175.65.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716550307; x=1748086307; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=4LBvQetF7IAlYlAy82ZKXQGvBJrIruYN4l+FdhPRo9w=; b=Ccx6URR+0/PFlO5Oi0HFar46OGN8+NDZoFhUPE4AoKv+LUGrRo/xNAHR IL7xkrudYYTck6uFd2FUq16jEAVZuJRFaQ7y23y8Fv7DZyt06iw+vB4as pIg7RiXuFROyV5R4Grx5UwPsNMrCk/qEHyqLflV5bZCSjzoIAV/l8oL/T +8S3M3ZH2vLcAeUqbjeZB7LjCMpCNCBVnuLy5UO0czpqIkLTjCu6k0MKZ XoH8/EEpw5+6xWEC5OkVBpszY1hwDbscNvVCmsPaW78B8zaItZPu5h+Wu JDN1ZqYe5OkORKZs56OuVaQN8cl754LdmsLwcifObwGGXDpKd5DNqQN2K g==; X-CSE-ConnectionGUID: 8+O3WPpLRv60RzEBxqHjbA== X-CSE-MsgGUID: UF7FIWG7QUGbTWqGMC7ktQ== X-IronPort-AV: E=McAfee;i="6600,9927,11081"; a="12772021" X-IronPort-AV: E=Sophos;i="6.08,185,1712646000"; d="scan'208";a="12772021" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2024 04:31:46 -0700 X-CSE-ConnectionGUID: MbmgJak5T4+/wMghuBMT4Q== X-CSE-MsgGUID: knQZ5qdJTr6hmbJRHeoo3w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,185,1712646000"; d="scan'208";a="38432250" Received: from newjersey.igk.intel.com ([10.102.20.203]) by fmviesa003.fm.intel.com with ESMTP; 24 May 2024 04:31:44 -0700 From: Alexander Lobakin To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Alexander Lobakin , Jesper Dangaard Brouer , Ilias Apalodimas , nex.sw.ncis.osdt.itp.upstreaming@intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net] page_pool: fix &page_pool_params kdoc issues Date: Fri, 24 May 2024 13:28:59 +0200 Message-ID: <20240524112859.2757403-1-aleksander.lobakin@intel.com> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit After the tagged commit, @netdev got documented twice and the kdoc script didn't notice that. Remove the second description added later and move the initial one according to the field position. After merging commit 5f8e4007c10d ("kernel-doc: fix struct_group_tagged() parsing"), kdoc requires to describe struct groups as well. &page_pool_params has 2 struct groups which generated new warnings, describe them to resolve this. Fixes: 403f11ac9ab7 ("page_pool: don't use driver-set flags field directly") Signed-off-by: Alexander Lobakin --- include/net/page_pool/types.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/net/page_pool/types.h b/include/net/page_pool/types.h index b088d131aeb0..7e8477057f3d 100644 --- a/include/net/page_pool/types.h +++ b/include/net/page_pool/types.h @@ -45,16 +45,17 @@ struct pp_alloc_cache { /** * struct page_pool_params - page pool parameters + * @fast: params accessed frequently on hotpath * @order: 2^order pages on allocation * @pool_size: size of the ptr_ring * @nid: NUMA node id to allocate from pages from * @dev: device, for DMA pre-mapping purposes - * @netdev: netdev this pool will serve (leave as NULL if none or multiple) * @napi: NAPI which is the sole consumer of pages, otherwise NULL * @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 - * @netdev: corresponding &net_device for Netlink introspection + * @slow: params with slowpath access only (initialization and Netlink) + * @netdev: netdev this pool will serve (leave as NULL if none or multiple) * @flags: PP_FLAG_DMA_MAP, PP_FLAG_DMA_SYNC_DEV, PP_FLAG_SYSTEM_POOL */ struct page_pool_params { -- 2.45.1