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 50D62A00C2; Mon, 26 Sep 2022 11:19:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4533040DF7; Mon, 26 Sep 2022 11:19:58 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 72500400D7 for ; Mon, 26 Sep 2022 11:19:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664183997; x=1695719997; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=B6mKi9i+C43UQdZTAhn2QibtY2xq0M/N+KMjGUzqQDc=; b=RD32oX5wKToIXlSqOOO1t2pf0Y0b/d6ZhzJP9dpvWwch4ZGudnvY1hQd /I7Q2ygIpw4V/6+IDB1S9pHCr6Zjr/BpADubvFmry9SyfGxNNn8x303TX 3CA6eNCv6mambaNBlnz5LpgyDoE4GGHAvlBH3WY8sVBKckYr2SmiZ2v5/ gLLGG/510Sxq/MBLAhrEDGbAhspFkCPp5iXBagKXdyVMthqREHFXqsgBZ cq84CcP4hpy+xq0gYqiaVnNyeU8O7QIedOn4QUCyczWDoEC9WW9YCgRyL PHdvSPcUF9HjAX+oJUWPpwVxiyPkvuR9q6iyaDsEwLJ9KfAdrHCA7rV1s g==; X-IronPort-AV: E=McAfee;i="6500,9779,10481"; a="301881833" X-IronPort-AV: E=Sophos;i="5.93,345,1654585200"; d="scan'208";a="301881833" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2022 02:19:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10481"; a="724974760" X-IronPort-AV: E=Sophos;i="5.93,345,1654585200"; d="scan'208";a="724974760" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga002.fm.intel.com with ESMTP; 26 Sep 2022 02:19:56 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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.2375.31; Mon, 26 Sep 2022 02:19:56 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Mon, 26 Sep 2022 02:19:55 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.108) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Mon, 26 Sep 2022 02:19:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zlua6+QK27kod8MdPA3pLvUAZ+Ryko8rTMXRMVs1x5uFel4iYXbvRuY6YnGcVfm7cvj+7Elj7Itg776IAnpmrx39w3ILDQJZAOJTxb2oBIiDB/7T0YNwbPplwYDSB0XLUtijzRp2ha01o3rQezW8T1EcynLM0Lt4JSct+UPCzaiWTCdveQ3THqH2Ad9ffLeEAP9Nm0QVOIbVN/JKGm7QyKeFPZpTOuHzq114aWmXdrS2xmIsQHY/ygHTa+VQ1ZjusQI8ddBLTgh+hYPOOwl+46QUwJubcm3o+9tXEx/FVCXn666JJ9jLMpODxXiJyoj/xl9OXkYAKe4M8ubxBAL58g== 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=ja38T8z7eVmXddZbHXz+kyZyuvvXugacikgBB5Q0emA=; b=CHrHSPRhsunrq71HXA4kfawj9fZEW6kYbxNJr4ckJPZXc6EszAKiA1l2O60yjdPYj2zyhwzKExGxnIY/TGCpSoI+RoiR3iqWInTP082xGd9LwnklvpXEVefb3F0atViRyY7h5rX6NxYDEqnPdXvSWQyTv9MnyjfJHiKR9qYQjm16moK03VZPszhiCS3+XEIOyrpy2k4eJ6bxraIOBIwqYEh77cPlPPF6Gxpt/YiNkJs0zW6uHcIRdNUROiA1A34lVySktVisA5asR4tG9R/viknYu5He6Jl1V0DZbwwL83iCR8JMbBAP9QL+INQ3uzrPjkv4asmEUuIbEbQ4vrIOnw== 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 CH0PR11MB5724.namprd11.prod.outlook.com (2603:10b6:610:101::22) by MW4PR11MB5934.namprd11.prod.outlook.com (2603:10b6:303:189::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.22; Mon, 26 Sep 2022 09:19:53 +0000 Received: from CH0PR11MB5724.namprd11.prod.outlook.com ([fe80::e9b2:d565:bd40:1152]) by CH0PR11MB5724.namprd11.prod.outlook.com ([fe80::e9b2:d565:bd40:1152%6]) with mapi id 15.20.5654.025; Mon, 26 Sep 2022 09:19:53 +0000 From: "Dumitrescu, Cristian" To: Thomas Monjalon CC: "dev@dpdk.org" Subject: RE: [PATCH V3 2/7] table: add entry ID for learner tables Thread-Topic: [PATCH V3 2/7] table: add entry ID for learner tables Thread-Index: AQHYvKKQJnJBFKcRhEKQOInGZcok863uZQaAgAMzXtA= Date: Mon, 26 Sep 2022 09:19:53 +0000 Message-ID: References: <20220826103605.1579589-1-cristian.dumitrescu@intel.com> <20220830185811.1843109-1-cristian.dumitrescu@intel.com> <20220830185811.1843109-3-cristian.dumitrescu@intel.com> <2597283.Isy0gbHreE@thomas> In-Reply-To: <2597283.Isy0gbHreE@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH0PR11MB5724:EE_|MW4PR11MB5934:EE_ x-ms-office365-filtering-correlation-id: e3dab4bb-8a35-4dfc-105c-08da9fa04592 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: x1Lr+wmh+GQ5DBXU5ivM+I1t5V/zUke9BJm9ObGDrvn/o9Vdw4b7JLXXgzfSj9QtKQn4eYmGCsOdffNr8TlMwkrXyscuzB+1s0ribJ6+xPPcL12S4gQ8YL7t9oSHJ06yipSb4sHj0nCJLACnwsl64yBkkDZcXUwnHGVRsYY9hFO/J5JySUBXOOXmTwsIFC8XUOACrumvgYRh0kKcObUHvACcXzvzgQO3T1qKQHMvw3jgOJRD7JvtVqh6oCa+iUyfEJz9rFlxwkh5mEsbrg4sWkvN74xSyzwzDSZgtvAK4aKD5NmySvar+wyFqwdQBIzAlTfCvsCOcZ61CYOLehYby7Co4CL/MaT2mdQKZ6N9BW7LVNJd+g+s/R0zI+EWNnf/QiGm9QrVCKGYBAJ9i28bB/pkoU/da+XRSJ0PPiqvAvw7SNwdt2S3+26AJeiI13c0ANUEUeDdSrjubRCZZ2MeGrln++q6NlJPp3epHV8pX0Z5/mKSPB1NmDkfkMIyeppnpG+c0NsMD4BoeBLz9OH2nEBhYRQlfYakWn/fsRxYGA59MWXSx1CU1dNdv8OV8zg7bAO3IFrB4GVgMey/O+zLLAbbtYu0nt0+eaTqr8bbXoGUStGlCrHfx8JPB9Mo0gz6iTi7eWj6061xutYfmAj8k9DSyB74/YnXA2f97KzSXYki2w4qTg/N4fq3WBzt1nUCOfabbWqnF7LxBUoUd20fD+XX4pWSVZYJTF7G+f1eyEiyUVmVOq4HJFdLtxC2kssqLHkPVVOlIAWMcGSrMARPag== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH0PR11MB5724.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(376002)(136003)(346002)(366004)(396003)(39860400002)(451199015)(6916009)(86362001)(316002)(9686003)(8936002)(26005)(5660300002)(186003)(2906002)(66946007)(66556008)(33656002)(4326008)(41300700001)(64756008)(66476007)(8676002)(66446008)(76116006)(7696005)(6506007)(83380400001)(53546011)(4744005)(71200400001)(52536014)(38070700005)(55016003)(122000001)(478600001)(38100700002)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?yvm7BhGtd9iKJG0Nv7x4UTvs5xApjYf2VUWitdPz71U3bPRxk7jB1lT0+lyn?= =?us-ascii?Q?qdEsTD2o9mYyWEZVUImay8ePlVH2TI9iBlbSLjxBe5Trx1k9N6fX/+d2fcih?= =?us-ascii?Q?71e1kJtU0GJnJ05/e0PwPBjYQL+Xy651EepszdldFzaz8x/Dbuiye1F9xrWZ?= =?us-ascii?Q?qi8o4Ux2m9aSJWoxyPstLfw0Dl4KL8hXqTEPOV3repE/kTaG2Gk3+JNCGHnO?= =?us-ascii?Q?Ovb63FIe3zqKi3B8Io+s1HJRjCM2WzbvQFVd2/++apBFQBC4zXfuxeEG+2G8?= =?us-ascii?Q?oC+pLNlhYM/4Lwk6zesz0T/Pt6E0B0pUr2aNWMrWwDXv4Yy4Kt07dbsKOQUf?= =?us-ascii?Q?2HfmomXILrRHTU+Mizz3mlN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=?us-ascii?Q?3mHBmxJAYLgkYyz7aqn60mjCG5WaHQ14B95YzBvCqQ4qGmEMcDFd4dsCoKwZ?= =?us-ascii?Q?j5+2sCpMLnPIYvprzXfCSpfeR/rHS59Unq6wlOu61Z/cQG+RwOxRxoESfKl+?= =?us-ascii?Q?wbv9SSl9/0Zy6t8yswE1XlTzII6i6Sxq4tHKnxf5uLf3RdWxY0deEJq95bNv?= =?us-ascii?Q?0+Dh9n1f0ICPmQMwpx5J0c1tD2RfIRjmcM6qn/LudD4dnhC55kEYrJ/yNq89?= =?us-ascii?Q?Ab2l+QeNTklAY5z9rw9OjI7cxtPjBdca9nvY5yot3k2IeeV4BAscHqe6zkpv?= =?us-ascii?Q?lnWVtOLxCW4FwuN5PBsyvT7wEfa/o3BVE/CSzzVP9vQdpNzRKAmJHUP85Quw?= =?us-ascii?Q?Bg=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH0PR11MB5724.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e3dab4bb-8a35-4dfc-105c-08da9fa04592 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Sep 2022 09:19:53.6818 (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: SifaZuMwEmej1P/j0N5mnEXwMqOxXk5IpFnKhu1A/gYDzPFtbJrDMz357tiWXRFVYIXv5ZEvkR8P2wBAcf1MoVc4g6fJFmbSa1E4TfGYydE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB5934 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Thomas Monjalon > Sent: Saturday, September 24, 2022 9:25 AM > To: Dumitrescu, Cristian > Cc: dev@dpdk.org > Subject: Re: [PATCH V3 2/7] table: add entry ID for learner tables >=20 > 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, >=20 > size_t is not automatically included (I think since a recent commit), > so I have to add this: >=20 > --- a/lib/table/rte_swx_table_learner.h > +++ b/lib/table/rte_swx_table_learner.h > @@ -47,6 +47,7 @@ extern "C" { > */ >=20 > #include > +#include >=20 > #include >=20 >=20 Thanks, Thomas! Is there a package that I need to update? I am mostly using gcc 11.2.0. Regards, Cristian