Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp147924lqj; Wed, 10 Apr 2024 06:46:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVR/OpUMnPmAZPzWlT61p6epH41tQNCRrNomYE6vP/mc8qM8/vfmAe2NkdFJKHBMAkg9/6dKtmBQdbUPUvGlfU638pTnLI1XxcpUPIUCg== X-Google-Smtp-Source: AGHT+IFZQPLvs7eVvVO0CapBiF/RHCwNFJGEItiZ2jzzB/jzR+OTpKUR3iYCCdRXnPFm/484VoST X-Received: by 2002:a05:6512:2803:b0:516:fe8c:ef9b with SMTP id cf3-20020a056512280300b00516fe8cef9bmr1996111lfb.57.1712756818698; Wed, 10 Apr 2024 06:46:58 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id do5-20020a170906c10500b00a51e43bcb38si2333074ejc.509.2024.04.10.06.46.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 06:46:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138644-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HF+krso0; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-138644-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138644-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 36D551F31997 for ; Wed, 10 Apr 2024 13:46:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 349A215F405; Wed, 10 Apr 2024 13:38:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="HF+krso0" 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 CE97315F3E1; Wed, 10 Apr 2024 13:38:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.19 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712756311; cv=fail; b=jEZR6UkgB5YPBU1k345VVlYFTDtN43R5c01AQEpt3iDSGZpMR3uAMv4UXE270dynxz99IxfJNXY3DteVypnGtuPqDo6lY6AbZeXyvW8JNvFxo2F7bx/5fmWYFp4qb6XO0SZ3C8H60PvZonDSMW+BLe3H7nD9qhGcwX0uIRLJy/Q= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712756311; c=relaxed/simple; bh=YIBhwAHcURy/rNJOHApcXy5uZxajWKN6gwZF8eqCuk8=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=Oa/jJkYgkorgrDgWdcSJT54eoIwOMDIqtuzIT8mlV/nHDbJ3+sffS8WW/EtsCActn7FScMhzlfMwZM7DRZl4iBhuj+/PYmKcHUGpV8YAbjYu8mpAOwWlnxHMLh5CGeoFPaQhP97/LyUHqGagayY7VW0UCtIdxXBDgbbnbh+Xtas= ARC-Authentication-Results:i=2; 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=HF+krso0; arc=fail 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=1712756309; x=1744292309; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=YIBhwAHcURy/rNJOHApcXy5uZxajWKN6gwZF8eqCuk8=; b=HF+krso0TpIHmFJVLBbvd6lNRc1Sxaw2R2lyIepBG7dnT/ah0RxXYBeM rB58eKFyOhNOYlWlGNctZVBekxOWy+OHHp/Vqid/vQqllfdZseTKhfRYU qeHIjLnR3pqKTz5QflZOMaOTYTax4pN8CP9jBgaPz94oKBJT+QB+hdCpU 44sG1luViH/s/hqwDe6hDCDnpv6fIZR8Jp6GciyIlIqNaqli2XkIq+4W3 BQvjOftKaf0cSzmvzzjyYzjhnNBubl5g8uDVhRWZI/Q8m7s9WPlxPkyZH RmvLmixnEmTgEDTE4y4b6ciAmqSkDHcx/txo3DGfVwkjUi4KV3ai5ehqo Q==; X-CSE-ConnectionGUID: BJ29ecDOTJS5GCYJefZsWA== X-CSE-MsgGUID: +FdDDBZmS0WXFQdVg2TGbA== X-IronPort-AV: E=McAfee;i="6600,9927,11039"; a="7991163" X-IronPort-AV: E=Sophos;i="6.07,190,1708416000"; d="scan'208";a="7991163" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2024 06:38:28 -0700 X-CSE-ConnectionGUID: YdLevt0QS7+H2ddvqSvLwg== X-CSE-MsgGUID: FXa2pJdrQhqtQRJQDSkjnQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,190,1708416000"; d="scan'208";a="25191478" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa004.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 10 Apr 2024 06:38:27 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 10 Apr 2024 06:38:27 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 10 Apr 2024 06:38:26 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Wed, 10 Apr 2024 06:38:26 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.169) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 10 Apr 2024 06:38:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZG8CsVLlWkFiIjQRS4YoNU/PAgG/q75paiVwIsZtoLCqEyITrzHw+kZlNsTyMgsVvByNr6DmLdTDFYtJ3HuQO7qtofcf38WhsSJWgfV3aGdtXwnGiGV8/0LrjO7L94IWgfpL9E7pNzMBqOj3aQE306lZPmzrkXxl9RLQOKMszPRaPVHUM6xfXdWCiHh9e0+CAkye+fY3062FHT0XxXVGohugc6cklxmeBIiHhMs/9iz0xWLqzBAYni39K0bbxXrvky9eAnijLDSUA4ZNWcWCHQfquL27NraR81n89eV3Q6+hhTEnjZZNx7PujaU2zWabvzi+pgteaNO9xyBo6bdeBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Clk4n7iDjlQC1CWk/xMboXF/je1CdNhyT445ZmM8Umo=; b=mz578UHQIgWZG137pGiPEaWIPY1F1XFIhxQzsJLNiVo2x3rIoeUfAggsRdKgz2NEOMVIr4620SFKBTO7e5fOY5bY/sxboL3JuOjba9D9SnoGEPKHiGVjmPDhCDw1Kkibh6fJKgv/3nQ+PZmBJaI4XvFOaa0ZIPARH80tRx4DSWgoC6UJiiZXFgBkA3uG7PejWHuTIffA3b2J/pRkClneXy2UlrRECE1vyunAsAq5sgrzPkLTIPljVD3pqVT+GlOmqdoVF5p8ISBKzTre2lRJR1ZOcvWz3urFK3A4MjfD3YzIrQedyRJVUrjO+80ibubNCzkLUMlWaNq1kInaV6AhnQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DS0PR11MB8718.namprd11.prod.outlook.com (2603:10b6:8:1b9::20) by DS7PR11MB7932.namprd11.prod.outlook.com (2603:10b6:8:e5::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7430.46; Wed, 10 Apr 2024 13:38:24 +0000 Received: from DS0PR11MB8718.namprd11.prod.outlook.com ([fe80::654c:d66a:ec8e:45e9]) by DS0PR11MB8718.namprd11.prod.outlook.com ([fe80::654c:d66a:ec8e:45e9%6]) with mapi id 15.20.7452.019; Wed, 10 Apr 2024 13:38:24 +0000 Message-ID: <91486cf6-c496-4459-8379-257383d031a1@intel.com> Date: Wed, 10 Apr 2024 15:36:13 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v9 7/9] libeth: add Rx buffer management To: Kees Cook CC: Jakub Kicinski , "David S. Miller" , Eric Dumazet , Paolo Abeni , Alexander Duyck , Yunsheng Lin , Jesper Dangaard Brouer , "Ilias Apalodimas" , Christoph Lameter , Vlastimil Babka , Andrew Morton , , , , , References: <20240404154402.3581254-1-aleksander.lobakin@intel.com> <20240404154402.3581254-8-aleksander.lobakin@intel.com> <20240405212513.0d189968@kernel.org> <1dda8fd5-233b-4b26-95cc-f4eb339a7f88@intel.com> <755c17b2-0ec2-49dd-9352-63e5d2f1ba4c@intel.com> <202404090909.51BAC81A6@keescook> From: Alexander Lobakin Content-Language: en-US In-Reply-To: <202404090909.51BAC81A6@keescook> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR2P281CA0111.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:9c::15) To DS0PR11MB8718.namprd11.prod.outlook.com (2603:10b6:8:1b9::20) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB8718:EE_|DS7PR11MB7932:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7TMWdTwgCamGdsNbjKuAty/O06tUUYM02iUGINbMvwo8+IVY33IWMbJgm4BK6qk6BWS4Fsi/CPTifWJA2VUmOyF5eeKV3KPLfwIBJ9FbicmF8H0hJjOnzCx9pHg0APmeq5VxfXdstFvej2rnjsIkgNtUNZQZM83LzEDS5/180pbtKAC5kG+CKAg/uTA4ev+b1sa8kunKOvc21AaRsDYmrMOAd3EdjRUkHKemIEHDSbK9qSdVNxnRS8uqD0Kz2LwBCAv1Rc3hcBKCW0rapG/89/WiZTMUbzYzkBcL8fT5RVa+FC0aAkIGbl6I4ERPpGe8W4YYOxsd8lqkQg9e9vdCKAes06t8UQRvrXlv25VUzFakdKO4c++TnMaQchfNreEqtIIg4OaWjm2zlZ5de58Le7cHZCnv+SsuIe9kXrKGojdk7CclVn5iu7rG0RDq/hSBctgR+3N05tU+A8yfug+G5igRhJCcKh0Th+1zIo5g2lYueEM4TcsYmo4NqgsP0y8oyu+aLKqo4mdGNH0wFCgr9eDiWh3lyvre8+BYOi4nwQ/dL2i6ZxWTA6fXurP+A47THGkQO7umhtS4mobAWyMeJ+hL6ZhMq0slDtUCEswrjiivb4XKbFGKLqr/dDQeVqh3cfmUKEjJcixJg/lGuLhFbFYqMBIM9jAJybZOROeVhZE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR11MB8718.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(7416005)(376005)(366007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MllYdDE1OWtFM0pEcWFjZ2ZPdS9pZ0MvWVR4T1ZQNUg0a0lpQmYzeWFQcmxk?= =?utf-8?B?UFJmRjlRNW9udFZDaXUzTzdtQmtJaGFMMjQ4ZDdZM1hLUExQVENJN3BoMkR4?= =?utf-8?B?L0FVTzdieGdQQ0hVdS84cTF1NlNqUkd2VkJjak52bElwbmlXZ093UzBUWWM2?= =?utf-8?B?UzExTGNLVTFsc3RadHdNNWpUSUdMRFZKTkZyYWRCall5REVaTm1qbmF1Z0xu?= =?utf-8?B?VWVLMms0N2ZkZDFZdkNXdHU1ZjQ5S2EyK01BSENwNGFycEpqaFk3Mk5lYmhw?= =?utf-8?B?KytJV2JNdWhSUnRQUkNYQzMvRkJrMU0wL1NTejZCc0M0dkpGZ0g2QW1GOHZ0?= =?utf-8?B?L2t6djRSMDladTZDYjRzQXkza1RKMk9Ed1Y4T24zZjlWb1NUeTIwZ3pvRU1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: e9d312b9-eb38-434c-1610-08dc59637e8a X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB8718.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2024 13:38:24.0617 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +cKITuaKihKS3J8yUSSx1QUZhywZ10+Yz524QAYr7KrWIjl+51Qp/JP0hUMF0mCH/lqDAy15H6qT5OzsvAp0FtY97i11hEtdR0PJ5sy4MSU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR11MB7932 X-OriginatorOrg: intel.com From: Kees Cook Date: Tue, 9 Apr 2024 09:17:53 -0700 > On Mon, Apr 08, 2024 at 11:45:32AM +0200, Alexander Lobakin wrote: >> From: Alexander Lobakin >> Date: Mon, 8 Apr 2024 11:11:12 +0200 >> >>> From: Jakub Kicinski >>> Date: Fri, 5 Apr 2024 21:25:13 -0700 >>> >>>> On Thu, 4 Apr 2024 17:44:00 +0200 Alexander Lobakin wrote: >>>>> +/** >>>>> + * struct libeth_fq - structure representing a buffer queue >>>>> + * @fp: hotpath part of the structure >>>> >>>> Second time this happens this week, so maybe some tooling change in 6.9 >>>> but apparently kdoc does not want to know about the tagged struct: >>>> >>>> include/net/libeth/rx.h:69: warning: Excess struct member 'fp' description in 'libeth_fq' >>> >>> Oh no, maybe we should teach kdoc to parse struct_group*()? >> >> scripts/kernel-doc apparently can handle them... >> >> + Kees >> > > Ah, hm, scripts/kernel-doc throws away the early arguments of > struct_group_tagged, but I suspect it needs to create a synthetic member > for the tag. i.e. instead of: > > struct_group_tagged(tag, name, members...) > > becoming > > members... > > it needs to become > > struct tag name; > members... > > It seems this is the first place anyone has tried to document the tagged > struct name! :) It makes sense and TBH I expected kdoc to warn that an element description is missing :D > > Does this work? I haven't tested it... > > diff --git a/scripts/kernel-doc b/scripts/kernel-doc > index 967f1abb0edb..64a19228d5dd 100755 > --- a/scripts/kernel-doc > +++ b/scripts/kernel-doc > @@ -1151,7 +1151,8 @@ sub dump_struct($$) { > # - first eat non-declaration parameters and rewrite for final match > # - then remove macro, outer parens, and trailing semicolon > $members =~ s/\bstruct_group\s*\(([^,]*,)/STRUCT_GROUP(/gos; > - $members =~ s/\bstruct_group_(attr|tagged)\s*\(([^,]*,){2}/STRUCT_GROUP(/gos; > + $members =~ s/\bstruct_group_attr\s*\(([^,]*,){2}/STRUCT_GROUP(/gos; > + $members =~ s/\bstruct_group_tagged\s*\(([^,]*,)([^,]*,)/struct $1 $2; STRUCT_GROUP(/gos; This one does not. We need to exclude ','s from the groups... + $members =~ s/\bstruct_group_tagged\s*\(([^,]*),([^,]*),/struct $1 $2; STRUCT_GROUP(/gos; That one is fine. $members: include/net/libeth/rx.h:91: warning: struct libeth_fq_fp fp; STRUCT_GROUP( struct page_pool *pp; struct libeth_fqe *fqes; u32 truesize; u32 count; ); enum libeth_fqe_type type:2; bool hsplit:1; bool xdp:1; u32 buf_len; int nid; So you almost fixed it :D Which tree this should go through? Should I include this patch to this series with libeth or it's better to push this through kees/linux and then pull to net-next? > $members =~ s/\b__struct_group\s*\(([^,]*,){3}/STRUCT_GROUP(/gos; > $members =~ s/\bSTRUCT_GROUP(\(((?:(?>[^)(]+)|(?1))*)\))[^;]*;/$2/gos; Thanks, Olek