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 CF280A0547; Mon, 24 May 2021 13:31:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A43744111E; Mon, 24 May 2021 13:31:31 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id CD0B34003C; Mon, 24 May 2021 13:31:28 +0200 (CEST) IronPort-SDR: x/O+2LkfUiKTYyybTOlLMLOW7F8+RsPBRY32sj30iAHCfdAHZUlxeGGgDu/R9Sx3FR30pnL7f8 bl1KLAvJOqpg== X-IronPort-AV: E=McAfee;i="6200,9189,9993"; a="223066317" X-IronPort-AV: E=Sophos;i="5.82,319,1613462400"; d="scan'208";a="223066317" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2021 04:31:27 -0700 IronPort-SDR: ZCzTaI2dQQ7M4wlvSVKGrQOUQR0yyomtNZbsXgIjQFDhzBiAsltJYTiNhp//R6jogo1s6kM1f4 qEX3DQx7moJg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,319,1613462400"; d="scan'208";a="546310593" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga004.jf.intel.com with ESMTP; 24 May 2021 04:31:27 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Mon, 24 May 2021 04:31:26 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Mon, 24 May 2021 04:31:26 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Mon, 24 May 2021 04:30:47 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FnZlGYWxsvC4TMXpGy5II+mddD3a2TsDTZo6cJqXRVFYPnAPKTwvsmqdSZfeIEE+PjTPaMao1JkHJ4qUyiin5BcHwdg3bE+Wckmp4LlnXMu61+rvygHEwhX7r1tbBS61NX5PNUUFkqVtkFEvPVLDAN2wijM/fiKho7PvQYCfZRVj9dPuxp8P/gLRzPqjOIWdXZLMgFrgeblNGydrLHw4XaahBH4Ymw9nmoxt2u2LXKkYvY9hRkv4DXI4DLcViRahFri0/+IHaziTzlHblpB+H1oDlZcC0g83YE9yEaCRDxjxjGonHOBfQJp6k1nRNDv2dW2tXY3msQ4ou/qx04nGzA== 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=Yaw2Xny3wsyo/hFUE5rHNpNHkjgpyxzxP351GNmgF0c=; b=ZKq8V0anM2bPy1rG1pGWXDmtWeLzeyKKWTvztGqv4wCmwZyKvbGP333JcuizuurTUNM0vebwLOPAdHsYOOXMDIpvBNG5v1IvpSC0yjy7CDCIteVb4M0FjYWEJefJfqV4S8+7YlSfleIamNQ/KSOUIdZRgkm0L+0PSXxAsZGHyNpRzjK1B/zeX3KpF/fr3c1Nf3KF5nfHuPgpwnen4JT7zGDtGCidx4A7P2wf2L9ItMlko7wq2129ctf3GGzhpBpkT/vCDADRtsOR1lXzQor0T7yFe59/esVkvgTRkTtWf5TIqgWkqSa1rIJ4d8h6CsFFEVaPlikSCl5bhO5epxVyCw== 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=Yaw2Xny3wsyo/hFUE5rHNpNHkjgpyxzxP351GNmgF0c=; b=K4hEXlnSGQ+rPoPOri50TocaOqyQCQzr71GOzMnbhJFb2Zl41XVnsyXzb+D+V6sZl0tAeM5C8l7KAaHkJrkcOrfMLsVpTb2Y1YU+3t0tIw0Isom3H1DnZmPog8zh/spghS+RWOSeUDY/+aTZ23bvk+5WGSYhhiMAwDHDj/d1Yfk= Received: from DM6PR11MB2796.namprd11.prod.outlook.com (2603:10b6:5:c8::23) by DM5PR11MB1562.namprd11.prod.outlook.com (2603:10b6:4:6::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.23; Mon, 24 May 2021 11:30:46 +0000 Received: from DM6PR11MB2796.namprd11.prod.outlook.com ([fe80::d099:834d:f5ad:39c9]) by DM6PR11MB2796.namprd11.prod.outlook.com ([fe80::d099:834d:f5ad:39c9%3]) with mapi id 15.20.4150.027; Mon, 24 May 2021 11:30:46 +0000 From: "Dumitrescu, Cristian" To: Thierry Herbelot , "dev@dpdk.org" CC: Thomas Monjalon , "stable@dpdk.org" Thread-Topic: [PATCH v2] table: fix typo Thread-Index: AQHXUI/9ZE9ZEBe9tkWB87H3KQvEVaryfwcg Date: Mon, 24 May 2021 11:30:46 +0000 Message-ID: References: <20210524085341.15184-1-thierry.herbelot@6wind.com> <20210524112836.28224-1-thierry.herbelot@6wind.com> In-Reply-To: <20210524112836.28224-1-thierry.herbelot@6wind.com> 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-originating-ip: [64.43.28.196] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 05c959c4-beb0-4f10-6a72-08d91ea75f97 x-ms-traffictypediagnostic: DM5PR11MB1562: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1360; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 99Xb56SACBrWA3cLyG1R+hrFqCU/SgmivRZQmdSGm2L1VKq7LuhTTjdSp+KrhL6uE4xQzAEfD+6PekBlDZ6LjFEZbzGlRHSPXN+xDOmzR7H6Kb/gPm58zRy3mGpnCR83/rIUCCQIPQXu7+GBy4jxuKUl64dM6tJDZ09OkKgV4otD6FI7HVshumpl104bTANVQfFVkRf+WhtEI2PyJ3cOjVxm0XOnOn+YWdgDt6tOyocYCsyjltj7Ihy0pTz4mUqnhz72AxEl/aR1DKSeB69jL5kYZ9aWblkxzGHL9h70EgIzLBURgy/1Y1885hjvOj1HLj6k9nc93K0x/vzPyHBtCN3u6OV5e/3iTHO+rX65SYAf2rfS4/YcTWfgHQTXWTm3f4l60ln9t2JByDg4JVDAAua09KPc0K6NfEGIbpGSHCehjIdma0dmLnKGW9ryc+J4tXjwwrfTpvFDBY3ifFndbbH7mUIsjR6gL9Ru9Gsu6b0PytsYNfMkW0vH98cMJmRuMDvrJAinblTIvwf10hUXJaMIukmPvQeTyacWDiXH4e3/da5E+uaISAYP1ggCoiCqrjrMbX/Y18ojguVNWQZNp+grRYSgy1aAFiSa7hT+mXs= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2796.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(346002)(396003)(136003)(366004)(39860400002)(66946007)(316002)(66556008)(64756008)(66446008)(54906003)(5660300002)(478600001)(2906002)(66476007)(52536014)(4326008)(110136005)(186003)(33656002)(83380400001)(55016002)(26005)(76116006)(8676002)(7696005)(6506007)(86362001)(38100700002)(9686003)(53546011)(122000001)(71200400001)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?Ngca2DhpmJkXT1SGmg5OZdGeJ5syxCkBalEeWwYo6AzeTosWJXYiTtXPXyqk?= =?us-ascii?Q?azZWw6woBN+j2Ztt6QF32XfcZXy8z6cbxDdNreoWqLSxmA7pUn4pV+uccdC5?= =?us-ascii?Q?t8tHIeZLXhVb4YQ7axMbKbEiYiWwm1OZddpKWfdD8xAFLGNgI83hXilQgMyc?= =?us-ascii?Q?HnuL17uxR2pfLHIwECdoRKIUTfWqygoWFmmCjfgD+CScgMQaq2ALucN3MYpR?= =?us-ascii?Q?YpqoIIelWr2EF1iyp+pYHGt3zaHpLSR4al1ewLWDkr17aMX8EljPHQDZfYHE?= =?us-ascii?Q?1DkUQZQAj8yYnuSHZC/R134s0CEgWann/QZT43kReeFLQLHoTTRP/dmrvRsn?= =?us-ascii?Q?Ng5SJQNO8TpX2L8XJKszzM/BdgoHL+kTauE4xsCZN8UEC27BO1qhNwZXmgyX?= =?us-ascii?Q?+1xL8LDcTR0W5xVsfevJzSrDKRmOiOLJCiqqzHJjcUNHn/R3WZDOGuaTOyNZ?= =?us-ascii?Q?Kob93D+im0d2t3QW5PYj5yz4jn+0BQAFWRa4q/biw1sy8PVcg2lTWGXCDp0Q?= =?us-ascii?Q?PfNWmaTHsmo9TpGj/Ei8DdtFPbiWDa7N4G7lQ89e2NBYnlJE5+gUVAfZzYgq?= =?us-ascii?Q?RQwttY5BPpbHbfPuDPzIcXc0mKn8oakWs5SccZHIg5JOd+9ikCUdwnw7phn/?= =?us-ascii?Q?DRhCThtbDYgvNc8GJAfCiP26PmhnPjkF9DBlmUSb23C61yRwgwp8zozSqxeQ?= =?us-ascii?Q?z0pg9FrK55Y5lUQZK65eVmghw0lH5pP76ZJn/xhlPU0wbFQA0nZAby7Cfqql?= =?us-ascii?Q?/zg9FJ2mSTZjlUQINre87+4ChILNAchaJQPNRmf3jr1joFf2iNIYBh1u4Ljz?= =?us-ascii?Q?AGApVkEZWt/kzEJFEwBX1B4ufaUaxIOIH8e6lSH3BtTPIQ67/LxsnIRCBUyK?= =?us-ascii?Q?TKpHeZs19h4N+171QsbxE26hm5cykpBaiRJNI3qspZ9aj4ZQE+RJVlvB1YsD?= =?us-ascii?Q?40nQN8PBZwW1ziE3IlpgNb6e+STIb5pCYHBIgKrDTCys00SYIC2/2QmhcTlW?= =?us-ascii?Q?/zNKR43tiDF0yibCAsy8cLZHFPZP5iSjgnPkrW1DpKwWQoTaGBPN5c54WXcZ?= =?us-ascii?Q?w60YeFvAVagMC+azOEFbe/6S5o/yuonH5npKBMcqKbx5bqt5zx7PF/VHwEWc?= =?us-ascii?Q?ewEIcFV+ewfWgXVuWAm70BHL+9KHcCiBmD7JNrGsukBRAHiMbdqOa5cfMMml?= =?us-ascii?Q?9f3xfvgcOoa/9fBT29WMPxvfbbfRiHKT4Fiqy0WlR2LF3QxBPwVT3hwHWtW5?= =?us-ascii?Q?Ed+bsE6WJEsNdaY8llfJycD2XiTT2QY45Pl7cVxQ59dNsMUEkQVfOtayxbN9?= =?us-ascii?Q?zQc=3D?= 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: DM6PR11MB2796.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 05c959c4-beb0-4f10-6a72-08d91ea75f97 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2021 11:30:46.1316 (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: xedIokJ5gxMv/6UBIoBI8FvwWRtfj2IFbt0XfAPTLdsPqMR7Jcvx5YNhIjn8/J/jl1VLv2wuGsSzUlajX9XwrrNQKLZQuDGN2wcuDOZMYK8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1562 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] table: fix typo 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 Sender: "dev" > -----Original Message----- > From: Thierry Herbelot > Sent: Monday, May 24, 2021 12:29 PM > To: dev@dpdk.org > Cc: Thierry Herbelot ; Thomas Monjalon > ; stable@dpdk.org; Dumitrescu, Cristian > > Subject: [PATCH v2] table: fix typo >=20 > Check Bucket key for all possible indices. >=20 > Fixes: d0a00966618ba ("table: add exact match SWX table") > Cc: stable@dpdk.org > Cc: Cristian Dumitrescu >=20 > Signed-off-by: Thierry Herbelot > -- > V2: reword patch title > --- > lib/table/rte_swx_table_em.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/lib/table/rte_swx_table_em.c b/lib/table/rte_swx_table_em.c > index 788e25f6b912..03b28c4c9da0 100644 > --- a/lib/table/rte_swx_table_em.c > +++ b/lib/table/rte_swx_table_em.c > @@ -280,7 +280,7 @@ table_key_data(struct table *t, uint32_t key_id) > static inline int > bkt_is_empty(struct bucket_extension *bkt) > { > - return (!bkt->sig[0] && !bkt->sig[1] && !bkt->sig[2] && !bkt->sig[2]) > ? > + return (!bkt->sig[0] && !bkt->sig[1] && !bkt->sig[2] && !bkt->sig[3]) > ? > 1 : 0; > } >=20 > -- > 2.29.2 Acked-by: Cristian Dumitrescu Thierry, thanks again, you could have actually added my ack from V1 :)