Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp233554lqe; Fri, 5 Apr 2024 21:25:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVXPTWZsPDFCz6fHuYru0HFUzLaF5nQ7c8ChOlVrhI5qM67H8Nri1f8D4/Vh3Yeqizq0xzlolGX8VOEeJRNqKboIkfKebsvMjclyBWcCQ== X-Google-Smtp-Source: AGHT+IGP5dQdCf7BwKDf8S2+aQ5cdBYjVPD5WKvQAmOnArFtV+MhJy1DMdkIBVyf6hwwXOM/J1k1 X-Received: by 2002:a05:6870:524d:b0:22e:8002:63f1 with SMTP id o13-20020a056870524d00b0022e800263f1mr3898185oai.8.1712377524667; Fri, 05 Apr 2024 21:25:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712377524; cv=pass; d=google.com; s=arc-20160816; b=xJaQDqmIP1x/4a20xeqFw48LcXkVIAw2GtD+EZTvWgK+G4Elm4n1xZ9X6cB3bFG0ln ICfITYN5yTyNNqpcLzn315VLyk4SWpfy/e2EBBcahTt7D3FxEdfwMuGJRpYxjhnwxng0 f3PVgX0b/t+rfNzqDJR5UoWgvfOhvXHUSoJ7neibKwo5T5lPPbtSkAQ2nSlcN0RtxnoN lvtrnj0jMzj7VOUs0XtBKoMmiUlo0LK4Xyfzqf47l7HgGODyokUbiiXzWnB/Ckwqz4OD EDaGQ4HiHQ81QBLtVrMtSx/lbCqrX4ycu2dNmuLQGjAOfQsXHlJ8pHtVYDuySI2wKD3e Ri1w== 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:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=Y7XyfiyinJ3KX0WHALt3dbLxamhT0naKVj2tIECdkcM=; fh=O8zRu/RWbvIQchYc8jM5z8HRI1cV4p7xNRK94cLr/l0=; b=z7tidIye+GJPmSpTHQqgZai40NEKQnKKLCvI36ik8f5fuADX1YDcW4oXgZnwDNrFFI nSrepZAenJ/W/ZPMZVglw/5xJwb4DYS545EbPRwfTng4yPAOB99+ae7efuRLOblYK6+u PYF6mr3I8AOeaWJKhu4qrkdQyPNpCYP6NhtoiZ4TSaQLJtp1VvJhAzlvcpEP4/XeHfl2 n4Ouae9PwZFNIHagfBZu5sQkiTv+r2+EniFiColUWWZhaJja9ZiTQkoapJAsxDHkHz0u nxPO6f2QW5A9AKzX42lYvifgIXL9o0/fPuj1NhHT4nR/fx16dXz54X4SpMf9KVJIonYb OsYw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GwJCrKVk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-133799-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133799-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s14-20020a056a00178e00b006ecec8194ccsi2524308pfg.370.2024.04.05.21.25.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 21:25:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133799-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GwJCrKVk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-133799-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133799-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 511362835A3 for ; Sat, 6 Apr 2024 04:25:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8803D1BF58; Sat, 6 Apr 2024 04:25:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GwJCrKVk" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AB7772CAB; Sat, 6 Apr 2024 04:25:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712377515; cv=none; b=qXF2154kskFy7KxgF3IKoOh/FrjDawTQ7MiEiJIWb3Qqp3bwL8RWsrXTrvUPSjnJv/NLPvZoLazu7s+tBkJ2fmLfXANuNdx6OLu20T1Ay6bfhnQYhN5qrC7vDEHCMYkMEDqqqcdzsDk82iLdUBPMgvACI26vB07V1GLxz+VtFmk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712377515; c=relaxed/simple; bh=ip8k07t7BfEvV53PYzakptukPEyy8283oi2ZC+w5ZEU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mQFXwqID7XZ7/C7QmJxxT2CkCvOX5974qaVZFWLWiX/t/6593tMpztVM2atYHYUX0dRAQDArKPKr88gTfvaaoQYhRWQ0MQnFzH5F4xKl7oqenzkmittprcnWbgPoid6D/fALc6abYbvZ5L9uRboEMo+BiXwnOlvJ7X7JCgQ2K7g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GwJCrKVk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 785DDC433F1; Sat, 6 Apr 2024 04:25:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712377515; bh=ip8k07t7BfEvV53PYzakptukPEyy8283oi2ZC+w5ZEU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=GwJCrKVk/BoRpIhUWtfsjbnVNUGzObkT8OxbFE/LMQTez+7rMQkGPMuqMHS1GkySM UGacUaysy+K95swWj2+rio0sN5iJa4GbJacU2BfFKksb5oVoRGzODP/+e/aAvQ3VJT nUmw61rqqQZkJ2Zo+nggYjT5rtG5SEOTx7DB+Hpyb8yj/MonmPNoFl8vY859WSSnSn SL8BEAhwn69FaK4DKSAnkjSIAtS5HBWD2LudHMb1D3uhlkewDniU3PAdmKDr+RZ0Fk 3f01J0ykZNP3LU5ZIm8LV/HYKJzTfWeyUzuFL6KdmdMw5wB6kGVQsxrL1RQiRd/ciX Pm8Xo2ZhTrlNQ== Date: Fri, 5 Apr 2024 21:25:13 -0700 From: Jakub Kicinski To: Alexander Lobakin Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Alexander Duyck , Yunsheng Lin , Jesper Dangaard Brouer , Ilias Apalodimas , Christoph Lameter , Vlastimil Babka , Andrew Morton , nex.sw.ncis.osdt.itp.upstreaming@intel.com, netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v9 7/9] libeth: add Rx buffer management Message-ID: <20240405212513.0d189968@kernel.org> In-Reply-To: <20240404154402.3581254-8-aleksander.lobakin@intel.com> References: <20240404154402.3581254-1-aleksander.lobakin@intel.com> <20240404154402.3581254-8-aleksander.lobakin@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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' > + * @pp: &page_pool for buffer management > + * @fqes: array of Rx buffers > + * @truesize: size to allocate per buffer, w/overhead > + * @count: number of descriptors/buffers the queue has > + * @buf_len: HW-writeable length per each buffer > + * @nid: ID of the closest NUMA node with memory > + */ > +struct libeth_fq { > + struct_group_tagged(libeth_fq_fp, fp, > + struct page_pool *pp; > + struct libeth_fqe *fqes; > + > + u32 truesize; > + u32 count; > + ); > + > + /* Cold fields */ > + u32 buf_len; > + int nid; > +};