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 BE503A0C4A for ; Wed, 7 Jul 2021 13:23:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B57AA414D8; Wed, 7 Jul 2021 13:23:25 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 4E05A414D3; Wed, 7 Jul 2021 13:23:23 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10037"; a="196563713" X-IronPort-AV: E=Sophos;i="5.83,331,1616482800"; d="scan'208";a="196563713" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2021 04:23:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,331,1616482800"; d="scan'208";a="457451459" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga008.jf.intel.com with ESMTP; 07 Jul 2021 04:23:20 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Wed, 7 Jul 2021 04:23:20 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Wed, 7 Jul 2021 04:23:19 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.2242.10 via Frontend Transport; Wed, 7 Jul 2021 04:23:19 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Wed, 7 Jul 2021 04:23:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I4tcYYiajSXsRi475eVChyIOlHpgZaXHBd5qls7nXYM7KGFahlBPr7NEZ0tmplSlmHw6nHpZTJyVmdTIV7iUj2vuIM+iu2794AFh5O6uUWrhC/ioL/bLk5d7vy/OCefJg9u4Y4Ld8mtyT6MXqxQLBBm9dr56Osxf7EZey2CH44EgOr7Z42kmDi7FYZzk9NbmUrn64yrRKD/bJ7FreHzXngJGf4CDUsfRQCXZYJLNhROoUkC4weczWIv8tG9TOedjK0s6dx5ukXfJiq202XwwJF49QOqJlz9JPvVr+d1Dhhr+GdOD190KYrhbw6SMfq78izSPtLf+JB7j73Z9KcbTNw== 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-SenderADCheck; bh=V3mv2L26tb8mZvmjQPaUYmzins5X00pF7Rldqu4UhSI=; b=X85B24dzpyWucT9v1iXNnysBMfXPjYapky+Ozmscq9/fPNPLZ1C8hWF0yXAeVCtIh9+G+M7MS2lhQvgYvfBLl4MctLQF+MzIdMEFYOBJg4tfbUopP3fNfXkmLcjUPX1Xe4v7/u9s/Flh/Wfv8rcjTeJWczZf076ySD/1KNqWfNy6Ztijb8p8V1+281LHdb2yd/2aIE4WL++INlzMBpYIvHk1IcJUprbnkT1AkCfa1L7BJenjbl//V0ux9lHHlSh4X79OFtfToEXGN2TqydabjHs8covF0AJDnLfqzvVYct2YCgR38qguyaCNKpz73QT8UO9R4AJM9Zivhda5qfk7lQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=V3mv2L26tb8mZvmjQPaUYmzins5X00pF7Rldqu4UhSI=; b=j0yUyPVnVW8d3/JsBGWq1+VVZQAMocpE5i40bk/ZIPUcmyLeNAzr0IPYIZfn+6gECmK4qOqo3+kzqlJVSJxTLGIn3xezoh4fXveOFnDe1HSM2oPVMyh/juc751IUtj9ndXmDMrBg5Zhn/7fUjY+Jye/3NBDMA1925s5+7kQd4Nc= Received: from DM8PR11MB5670.namprd11.prod.outlook.com (2603:10b6:8:37::12) by DM8PR11MB5573.namprd11.prod.outlook.com (2603:10b6:8:3b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.27; Wed, 7 Jul 2021 11:23:12 +0000 Received: from DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::4e4:c86b:b091:bc26]) by DM8PR11MB5670.namprd11.prod.outlook.com ([fe80::4e4:c86b:b091:bc26%3]) with mapi id 15.20.4287.033; Wed, 7 Jul 2021 11:23:12 +0000 From: "Dumitrescu, Cristian" To: Thierry Herbelot , "dev@dpdk.org" CC: Thomas Monjalon , "stable@dpdk.org" Thread-Topic: [PATCH V3] table: fix bucket empty logic Thread-Index: AQHXcyH898gGNXlJSU6IimCdGVdb+6s3XnVg Date: Wed, 7 Jul 2021 11:23:12 +0000 Message-ID: References: <20210524112836.28224-1-thierry.herbelot@6wind.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1f5040e7-d6c2-460c-dd9a-08d941399b92 x-ms-traffictypediagnostic: DM8PR11MB5573: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:541; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: laorxeXYwqMqgcgYJ4E3czRSloUEzAOXC1C7/r/FmDs85mANbyPhLN97PRDp9eckmhlFbMW87v7i9TkSdbuyNVYNOx3bXb1w2CRGcXdOo+VVsZ66KKB9/V0ZzpAQHL23CqBBgChKtqEW/nmJl/gse9dYo6Un05V3C+noWynK7Th2Co4C0iJynLJxAr3AvlasK7V3nZfNGUVEPnntn25sDM6ga5JRkRgKnYWoy8ndcjWxo4aV81A9ug7i82Af8LtnAykRrSL+2gb6AnCvQtMNY+Wj1YqaCXyL7+wqKW1msv3y87lvF2Qj2skRED0yeM5PJH/KO/2HEUbExQkhyH0DqDzioD6Jx+p+pks0Atunah8I9g8qLFN0yROGt4D5W+/+uL3JcS6XHi+E0vgO/9x0xLwnLV1rzUMrkXxIzcV8IJsfDVQBEyeiogj/8yKRLniecZ9hcyvb6LcWv3FC6US+APos0KilkZQX+xrEIjPPOzNccAyS+gO205o0VvywTqx7hxxo31AAAILBFBmkdnRkHuP17q7QuOX/pmqwznSoJlLkM5bvh323Z8Y0cluLFG6CT3DqZFy/8gllLkFC5M2jCHbrqNMBEr9n8+8WM20zI7cE94mwOjIQhZi3h5II9cPpUthilUbBXzXMPf/1aN0ueg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR11MB5670.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(346002)(136003)(396003)(376002)(366004)(4744005)(8936002)(38100700002)(86362001)(122000001)(64756008)(66946007)(6506007)(8676002)(71200400001)(83380400001)(53546011)(55016002)(7696005)(2906002)(5660300002)(9686003)(66446008)(186003)(4326008)(26005)(66556008)(54906003)(110136005)(52536014)(33656002)(316002)(478600001)(66476007)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?JwixbC6L8TnSxmA6EBKqspNyFj+KY+Z4mwm4tvOaclDAVsyon211595D8rzG?= =?us-ascii?Q?WigL2jvNWgknpXm2cEliUOjN2yjWSqJEd6Q/HNRvImll45l48FnaOfYAfAE8?= =?us-ascii?Q?PlL3/It39TZPPQCqUr+mENZ1X8uknDs+WaS/5ebSl1bh0TuqV6MMaMsLprSD?= =?us-ascii?Q?N+SJr2BRmJirxHmww5jUUR32LuY+X6EehDotQYHLokbsI/cvfwFc/ENFXPaB?= =?us-ascii?Q?FtXyac9/WIutT8kZ1HPCSsfVHE4DyMOO4HmiTsV+Asjh9M6lI9Z9OhapY0bi?= =?us-ascii?Q?Up5qoBagp6LiE/DX7tP2w4RTE5ADxCEsea4HkUKLbYax1dNnOveIsM07C+BQ?= =?us-ascii?Q?yx/tU+Yt4DR1cFgm32FRp9NV1AWLw/jvVqWgyP+AssfISmcm/raEfB8MA5Ry?= =?us-ascii?Q?5iOquSylBIwaWMfesnJsLEv7hEhuTN/OAOCCSj1wUkNNHbw8nc2hfvaoJ/sM?= =?us-ascii?Q?TtrHitk+qiLNFI9GbilTsVeYMbQ8tt0xmJx70qw5s/OBiDQFDqz+SnUMKGoF?= =?us-ascii?Q?RBYB+3/1ViAP0WzYKP3uOMPoxxa3+EM/o+mVmZ9jePNr7N3330e4kr+lk7Nm?= =?us-ascii?Q?Gdop5/9GWP6CNyo3LKqAVsX/G0c/B78dhkkW+X20ovxQVwpq14bpZlOz9Myn?= =?us-ascii?Q?weZVTktUZ44wYppGXRLQ6p8aehTnCj3/ilyGoMGJfpwWht8besgiyYUtTGgN?= =?us-ascii?Q?VKhyH+XGO9LqoC5yY32SDMFl/QGnSvMrD/zWSiE1K3sSnornlB0ebzmjzUTr?= =?us-ascii?Q?194WkTZMqhLubko7SrrGi7UfbCLj6/2a9hq8uGnnc8BY9dl9IXNfMBwgp53O?= =?us-ascii?Q?cgHS3hXtAIaHSyp9KXmG0GX/+D9ICvdo861eUMnlwLG/f/WrVWwqsn5u4oYs?= =?us-ascii?Q?fcM/m6HZOzRcaQpg4ceROM+HByIOz0LtHvtWYjWooxV/2nl1IKtF+KdWkEdl?= =?us-ascii?Q?1QKo/6nfcz+1Ob35H6nZA+xyqOGWBSEpCDL9beKbDm3UFlSOSbuUeKhObg2f?= =?us-ascii?Q?AKpN8GFCVagaeoFacfwWoLAgjG95uZ/4HKVTVGL1Q3jjSNZ69riTzo3ft7pO?= =?us-ascii?Q?Rjl1KARMqShydDLCrTOQ5ys9x+HVYbmsUpCC+AKQzumKEwOLzuknW0TROfpw?= =?us-ascii?Q?yFw1rdxJkx78nCJI7DOuPAhRyufUhjTTMkItDl4JHZ/3OQT0f5jzR2xwRPLi?= =?us-ascii?Q?EWh26wP+lwDEuXIgTQ4p0K21Jn3gSbW/JWSHB4iFZqMzz9YgI3Q46oYyYoy/?= =?us-ascii?Q?YduDFmcqFw+UQSLzoRCTkAJl55JA2brr1mmzQBcBPYs/boux4BQ45OJVF0p4?= =?us-ascii?Q?2i4BvV3pTiAa1S5YQZAULV5V?= x-ms-exchange-transport-forked: True 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: DM8PR11MB5670.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f5040e7-d6c2-460c-dd9a-08d941399b92 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2021 11:23:12.7794 (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: ff0S2ZCyJDH2nJ/URSc1eg8JuFmZdCh7OcNnhiUQZQxkIBdZAsaTFk4+LmqDHeZjTyVY6eqYhBIfoHzZjdhv34G4a6GCd7Wru7wgwDMasgw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR11MB5573 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [PATCH V3] table: fix bucket empty logic 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 Sender: "stable" > -----Original Message----- > From: Thierry Herbelot > Sent: Wednesday, July 7, 2021 12:19 PM > To: dev@dpdk.org > Cc: Thierry Herbelot ; Thomas Monjalon > ; stable@dpdk.org; Dumitrescu, Cristian > > Subject: [PATCH V3] table: fix bucket empty logic >=20 > Due to a typo, only 3 out of 4 keys in the bucket of the exact match > table were considered, which can result in valid keys being > incorrectly dropped from the table. >=20 > Fixes: d0a00966618ba ("table: add exact match SWX table") > Cc: stable@dpdk.org > Cc: Cristian Dumitrescu >=20 > Signed-off-by: Thierry Herbelot > -- > V3: reword commit log > V2: reword patch title > --- > lib/table/rte_swx_table_em.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 Acked-by: Cristian Dumitrescu