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 E2A37A0542; Sat, 24 Sep 2022 10:25:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9D352400D5; Sat, 24 Sep 2022 10:25:13 +0200 (CEST) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id 6D349400D4 for ; Sat, 24 Sep 2022 10:25:11 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 3226232004E7; Sat, 24 Sep 2022 04:25:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 24 Sep 2022 04:25:08 -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=1664007907; x= 1664094307; bh=e8JYCnnbLLwusw21CSnRWXDgelUkT+XgRA8D3BTQzv0=; b=u HJvI8UuiO4dfecsY2Hi7XCf8BH817UmhZplYvrvVZOFL6n2fPj5AE7hE58ORj3eV D6Y4bU8Y7FcLc1FQcG7piRjwzmwMDDjvULQUqJ3dXyZDPYk8EroHVAgJrCn4C2Ee pKqkx3tDogPenPPpZVXWjDyLtrMSC32CIOtMMZ5TS/KS6XATvVelGAI89kgsHnMG t9LkjYKibA5bcOcUuvVS/btdbKV5YjIHnaPpBXtM44tePInc8qdUyBGSQu0ZBj+6 YLMoZtNRrhxkDRZ74vfTr/vdWG95l+WxSOkk4RFA5EW1qr1yUFtXCpcWAXlxBVc2 s85tRPHf4TjFxX824IFgA== 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=1664007907; x= 1664094307; bh=e8JYCnnbLLwusw21CSnRWXDgelUkT+XgRA8D3BTQzv0=; b=z cupHyZbK6/xORCzvPJ/so7eiA3fI6Z3JUVYOxSmPdff9coa3ur7IfoRoeh1mWa4D havaXxB+Mi0Vqnkk1n4B48fHaI88yJM5K85d1snTj3bE4pNo3fZWIkZnKvRnUvWC PZF2r0TLsUcSCeOeRpS4Xm+QSxdw6iu2VRkqYI5mhyRN6sh7bhs9eLFLFdkvtKQr Es/6lsJ+af0eEaBRqeA8Hc7ZR5HHwQDno9LnA+Xo89s4NjXB4+LB2UCX9kCxR+Qz mRJuiGQJr2m57cogdAk0lfz1rR5TGPeI6Y+8RQm+gkvb9BrpT/PXcWjbrPY5hcv6 +eWnFIFEQ85FysyrQYPHQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefkedgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 24 Sep 2022 04:25:07 -0400 (EDT) From: Thomas Monjalon To: Cristian Dumitrescu Cc: dev@dpdk.org Subject: Re: [PATCH V3 2/7] table: add entry ID for learner tables Date: Sat, 24 Sep 2022 10:25:05 +0200 Message-ID: <2597283.Isy0gbHreE@thomas> In-Reply-To: <20220830185811.1843109-3-cristian.dumitrescu@intel.com> References: <20220826103605.1579589-1-cristian.dumitrescu@intel.com> <20220830185811.1843109-1-cristian.dumitrescu@intel.com> <20220830185811.1843109-3-cristian.dumitrescu@intel.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 +#include #include