From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 95E7342CB2 for ; Mon, 19 Jun 2023 09:37:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8DFE242B71; Mon, 19 Jun 2023 09:37:26 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id DBA5B410F1 for ; Mon, 19 Jun 2023 09:37:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687160245; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lreZ9Lm5ryIJIXmIZj+hkwVRYSgLSr/i3RZsebQPi6M=; b=bwN1JW9l9O3vBldanXCHfqdK3alvzZeiug2EgYBa3wAfTXlsL1CvcAEdizvw1Wty64fe8Y ba4ImxvtQxLLPYUjZtZNNRBTSxv9XvLc9zlU8Obr4QLoyrRmu45RIo6MU5ls7e7luVvhH9 xjjdjZM8Xvtm9isdUMQ0SIXaUdi5xdU= Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-6-vJ0-JF1IMdCVqo9gRhGd_Q-1; Mon, 19 Jun 2023 03:37:21 -0400 X-MC-Unique: vJ0-JF1IMdCVqo9gRhGd_Q-1 Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-25e8ef41a00so2710463a91.2 for ; Mon, 19 Jun 2023 00:37:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687160240; x=1689752240; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lreZ9Lm5ryIJIXmIZj+hkwVRYSgLSr/i3RZsebQPi6M=; b=Mx/uFNrdFNyLgQUXahQI4mvmCtNJJnhWnaiGpAvPd6CjcO60AeadpHv2agf/8QExUN S5xf3TdUQ7jsv7HMXm23APxH7vtX8OTydkld7cPLO7pzw7bVO1xdfDUzOVZxS3o1Iaqs NgnaW7kI23Oyf7GCpk/431XF7ucjkuFDA298oXqYXiLPNzJhOsOjpW+jsJ5LPCiF5ynO 7eGaNqSxPif7aMCSbe/aPIK+Z1bPNQb29h6lS8/+XBx87DH2qB8Z4iArsJdbTGVQvntA uqwkbUyjhmIZpFjVdGxJavlPhLaaeAwTGWIWTS9NJB2dSdT+b0h62krbL8c1vuTHn3it 6tBg== X-Gm-Message-State: AC+VfDzIHFzsqJ8E8Ui2bokw8KyDAe49cN1nDv7cpZq3mxClGTnWwqy1 9b3k10UPri1QwBtLjfx9BvXB0oJPqCzir4LO1xA9RFRinMs+IG4V2l8kSmOhXcPAEJH8jDKhvNE OHdtK5cOLAOGZNEXyVF3H1GU= X-Received: by 2002:a17:90a:9705:b0:259:82e:c1d1 with SMTP id x5-20020a17090a970500b00259082ec1d1mr9886022pjo.34.1687160240686; Mon, 19 Jun 2023 00:37:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4vQS4iEjEjflCoVIAVm2aiyblPpTVBhudKPkp5ScPgxINMaxD8tKd6ubWSdPqtBZ/J4dCrNf/fIHc4opu/sfE= X-Received: by 2002:a17:90a:9705:b0:259:82e:c1d1 with SMTP id x5-20020a17090a970500b00259082ec1d1mr9886011pjo.34.1687160240460; Mon, 19 Jun 2023 00:37:20 -0700 (PDT) MIME-Version: 1.0 References: <20230615134942.3393383-1-david.marchand@redhat.com> In-Reply-To: From: David Marchand Date: Mon, 19 Jun 2023 09:37:09 +0200 Message-ID: Subject: Re: [PATCH] mbuf: fix doxygen for distributor metadata To: Bruce Richardson Cc: dev@dpdk.org, stable@dpdk.org, Olivier Matz , Dekel Peled , Andrew Rybchenko X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Thu, Jun 15, 2023 at 5:15=E2=80=AFPM Bruce Richardson wrote: > > On Thu, Jun 15, 2023 at 03:49:42PM +0200, David Marchand wrote: > > /**< is for post annotations. > > > > Fixes: 839b20be0e9b ("ethdev: support metadata as flow rule criteria") > > Cc: stable@dpdk.org > > > > Signed-off-by: David Marchand > > --- > > lib/mbuf/rte_mbuf_core.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/lib/mbuf/rte_mbuf_core.h b/lib/mbuf/rte_mbuf_core.h > > index c692c33ec4..2030b3bef9 100644 > > --- a/lib/mbuf/rte_mbuf_core.h > > +++ b/lib/mbuf/rte_mbuf_core.h > > @@ -584,8 +584,8 @@ struct rte_mbuf { > > * @see rte_event_eth_tx_adapter_txq_set(= ) > > */ > > } txadapter; /**< Eventdev ethdev Tx adapter */ > > - /**< User defined tags. See rte_distributor_proce= ss() */ > > uint32_t usr; > > + /**< User defined tags. See rte_distributor_proce= ss() */ > > Yes, this fixes the issue, but... > I dislike having the comment on the line under the item in question. I > think the post-annotation comments should only be used for comments on th= e > same line. If the comment is to be on a different line, I think it should > go on the previous line to the item. I also think this tends to be the > style used throughout DPDK generally. I dislike post annotations (regardless of being on the same line or not) as it is easy to mix the description of fields in a structure. But this file has many other usages of this form and, in doubt, I aligned to them. I can send a followup cleanup if you want, is that ok for you? --=20 David Marchand