From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 227CDA00C2;
	Mon, 26 Sep 2022 15:45:46 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 18FE142670;
	Mon, 26 Sep 2022 15:45:46 +0200 (CEST)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com
 [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id 48AFB427EC
 for <dev@dpdk.org>; Mon, 26 Sep 2022 15:45:45 +0200 (CEST)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.nyi.internal (Postfix) with ESMTP id C04735C00DF;
 Mon, 26 Sep 2022 09:45:44 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Mon, 26 Sep 2022 09:45:44 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:cc:content-transfer-encoding:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to; s=fm2; t=1664199944; x=
 1664286344; bh=4zNELyAkXcM3q9lTlr0Q+SNfsj+HdeRLYPeO1aO4kkU=; b=W
 TVn2v21J0Bj6vajslEG5rkPSRrrWi+RwkIilZM9V7DQ0GKR+hs1Xz0uwvrIUAqr8
 0ACpkaDtSSGkQ7tWF03nFbouokaOK1hs/qujnAq7P0753+Oa5nNE7TgKNVhGEWJm
 Orf/vwF9qz8U8XoX6J7RExkVFWIdaluOZmZaoiXkzMqooSnbCjBTNOu6JdEwfgCW
 R05p+xtudDD4Bb8PV4mvkLE0jo0e51wgPS6Od86pMzDy86AuOAcvRkP/3NKcgZHm
 0yXpU1POsTO7cqG2EXvboQYo01KkfiAhKuU+/4oP4FqMIZ+N/pTyzGG+6aDUjGxh
 MOtEJUdfHCoN1CeGd3FaA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:date:date:feedback-id:feedback-id:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1664199944; x=
 1664286344; bh=4zNELyAkXcM3q9lTlr0Q+SNfsj+HdeRLYPeO1aO4kkU=; b=i
 2HLQcQUKzwpZ6yoA3G1tRBJCNKjpO/+ZJYDN0L1E+KD+j8EPrUDL/TUGCiD5U/89
 sysOs2OoBTNlX4mOBuKoaYs2MfujP4E2BiSk1XwHQxowUP+wyYCR81C3awQf55Pr
 h9X9jP52xCS554muT0gmF2qXhubSi36USwrISTxH8l6TwRAxuXNBjZIPxmkq3J7H
 NndLhJi3wbF1PbIajEfi4finS/7BY1xEoWBkgi55v3cEh+nn5qxTN7qrVzoU0GUa
 /ORlUu3iad0vwoMZj2U77FlWYv+lX5r0/Joo3Oz0hR85pjTEs/9EK7Tg45zTspHO
 TvRN4EU6TlySx35NCZxlA==
X-ME-Sender: <xms:CK0xY_dv-Sf3NBzNK2xREwZINPMQ1YFRMEY8j3eEJyd1dZY9uN2opA>
 <xme:CK0xY1OydtGGH8nl4pvgJ4KVhp5FAJ862GN0HMyy6rkyOC2IQhm-QL8DpxTI35YoO
 ldiJapn7Mqi4Zg41Q>
X-ME-Received: <xmr:CK0xY4jXpCn9pTKoYTxEEiva6OriCf1quajRHDlioVeFgMBEuENZdCi9PgFfU932n9yWwtf7RTDLsTJ57zg5Opd5lg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeegvddgieelucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm
 rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc
 ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei
 kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh
 hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:CK0xYw9hF7vmBjrFfoXAVauwD8rS_Zcoj6y5W_pHGvXdXMmWRKKnRg>
 <xmx:CK0xY7uRP2LmPwDGW1gQXb6pl2E8mGNJi43f5C5j08JFWQ_ahx25mg>
 <xmx:CK0xY_GqSfWK-MmSAObDlkDLUYGw1zaKKjHPRcMNHu8PMH2jLy-MKQ>
 <xmx:CK0xY51dEod95AASjD3bo-9-mPtNvhfMGMqTisv8fzoS-47_Ina0_w>
Feedback-ID: i47234305:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon,
 26 Sep 2022 09:45:44 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: "Dumitrescu, Cristian" <cristian.dumitrescu@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [PATCH V3 2/7] table: add entry ID for learner tables
Date: Mon, 26 Sep 2022 15:45:42 +0200
Message-ID: <6353235.K2JlShyGXD@thomas>
In-Reply-To: <CH0PR11MB5724DDECE471816302C0C28EEB529@CH0PR11MB5724.namprd11.prod.outlook.com>
References: <20220826103605.1579589-1-cristian.dumitrescu@intel.com>
 <2597283.Isy0gbHreE@thomas>
 <CH0PR11MB5724DDECE471816302C0C28EEB529@CH0PR11MB5724.namprd11.prod.outlook.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

26/09/2022 11:19, Dumitrescu, Cristian:
> 
> > -----Original Message-----
> > From: Thomas Monjalon <thomas@monjalon.net>
> > Sent: Saturday, September 24, 2022 9:25 AM
> > To: Dumitrescu, Cristian <cristian.dumitrescu@intel.com>
> > Cc: dev@dpdk.org
> > Subject: Re: [PATCH V3 2/7] table: add entry ID for learner tables
> > 
> > 30/08/2022 20:58, Cristian Dumitrescu:
> > > @@ -202,6 +213,7 @@ rte_swx_table_learner_lookup(void *table,
> > >  			     uint8_t **key,
> > >  			     uint64_t *action_id,
> > >  			     uint8_t **action_data,
> > > +			     size_t *entry_id,
> > 
> > size_t is not automatically included (I think since a recent commit),
> > so I have to add this:
> > 
> > --- a/lib/table/rte_swx_table_learner.h
> > +++ b/lib/table/rte_swx_table_learner.h
> > @@ -47,6 +47,7 @@ extern "C" {
> >   */
> > 
> >  #include <stdint.h>
> > +#include <sys/types.h>
> > 
> >  #include <rte_compat.h>
> > 
> > 
> 
> Thanks, Thomas!
> 
> Is there a package that I need to update? I am mostly using gcc 11.2.0.

No update required, that's just required by a recent commit merged after you sent your patches. Business as usual :)