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 B8CD6A0547; Mon, 24 May 2021 13:25:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 503AF4003E; Mon, 24 May 2021 13:25:55 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 392D74003C; Mon, 24 May 2021 13:25:53 +0200 (CEST) IronPort-SDR: CO6Qbzsjgtut/TvPseljlGSspYoToHsOY0s5upeGoDiKy/5lkssWzgMnA3ydic1fOKW07Xh4eR rUn7+ThyEKnw== X-IronPort-AV: E=McAfee;i="6200,9189,9993"; a="201655982" X-IronPort-AV: E=Sophos;i="5.82,319,1613462400"; d="scan'208";a="201655982" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2021 04:25:52 -0700 IronPort-SDR: 4xllpL/dbJ3J/wHncn4PbY0rzNbAfC6/LCXktFXjAKQmAaEyMj7mOQeWROvoDhiAc0WZ67KNdI lYZhc8ceoy4w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,319,1613462400"; d="scan'208";a="442784928" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by fmsmga008.fm.intel.com with ESMTP; 24 May 2021 04:25:49 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx606.amr.corp.intel.com (10.18.126.86) 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:25:49 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx606.amr.corp.intel.com (10.18.126.86) 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:25:48 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.45) 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; Mon, 24 May 2021 04:25:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IrfDJyx4iGLvIOjYKbtOiNGJinklUblUZsdJh8FmbQDCQtpL2j7hLLKo84k5rGKtj4vDdRYvWyzosuyxnUuBDkxXftcVZhphufISZ/9bGT1SKwsChpX0+5qR8/qw4XVGhp4i8sULs+iDkOcoklUj/mOirrZQWMBkiRzTT48XCvUptR6PBpSvX7PjBangPsJQlEWA8Scmp/KkqTq6b09aN0+Gj1/9hGQQt1dsOq1XRK6jHtkYtbKGnwazoMZHs1Hp6+NyF9OZUuS4a/KwKDo0pXExiGflTeIyL6Wo4ANxcv/WaZgYujQlfLWEdVrSJ8BuxIHdYPRU3lHp5vHDND3M6w== 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=PfCCLbcNc5qdOgfv+J9k25VhFsfKeVWM0MFPdpelOJg=; b=B2azcbbn9lX7DuGAF2wO/CAF56yCySZhAqji1k/9e8ng5dF0qAspZZbGLRz3dICazgouGARj1BVekz7j361u2V/D7x6ZxDIr10Tq7FdgUltlaJLBpi6YqDpkarzJMmx5jgA9ZAUWQeNDGarf55Zz58o/D7f7JdIigGsOjNmKoo5mWKTYYzxxpgBlrdiY6QTKr4R0wfPo2y9xvaZKJviE6TnnuxaOeQZLjehBneiRUhlU0duXuhp6XcAxnGFoW9ge1z0Rw4we5yPEfuh44IxELaWoPac02Ln8dvzQIXIXhwLS9NkMx2MnYzCXBOMrxPvtKxr1AFEaSc5QOcPkkv8hHg== 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=PfCCLbcNc5qdOgfv+J9k25VhFsfKeVWM0MFPdpelOJg=; b=Q6Vf2wctaQTGt97qb5B+QuLOh66HZyekl1pxqvSv1zb8uXuz3N9Vdf3AWqsCPTuUkqkLRg1iuo3c+AkEyrcYExcirh8AbEjTq7NsAOPnwb6w8KhBb0TKGNRlEjQPYPOvmI2Qj9E6qG7FWa/ZIQzpx5nzqEbPs+EvhjIjFoDy8Nw= Received: from DM6PR11MB2796.namprd11.prod.outlook.com (2603:10b6:5:c8::23) by DM6PR11MB2553.namprd11.prod.outlook.com (2603:10b6:5:bf::32) 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:25:42 +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:25:41 +0000 From: "Dumitrescu, Cristian" To: Thierry Herbelot , "dev@dpdk.org" CC: Thomas Monjalon , "stable@dpdk.org" Thread-Topic: [PATCH] rte_swx: fix typo Thread-Index: AQHXUHpytmft9klxck2vAmQMZWNtrqryfVqQ Date: Mon, 24 May 2021 11:25:41 +0000 Message-ID: References: <20210524085341.15184-1-thierry.herbelot@6wind.com> In-Reply-To: <20210524085341.15184-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: 7877bdee-b608-40aa-cf21-08d91ea6aa35 x-ms-traffictypediagnostic: DM6PR11MB2553: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3968; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6T2eXxUjDn0yHOFKbYVcLQi86gkCHzsGI4IW00gd5ZVSDhq/OyfpvhJEa7Aw+MQBZnWQxXk+uLyvK2SWSpWFYnnkm6EofF+RpSL1dmVrsDUY/41mU1rxLrhevQI9X/FNJY2lm1rvFP8LHNMxyfXjjCdS9fj9YzYZuuvFy6yzwOMbKQOPKo/ucQrbv6TWCki69ZP+sKtLRwBkFu5KeNFVuAF+P9PTbBBzVHVPLAvEB7qNEXiJtPVGGzFkHOw2sMVLqx1OZxrL3Z0kA84x6rEIWr98sw0s1kj7F5BcW6IkdFkdZ36K2bber4rI/Meq2e+4Z3QR8g94mfUklECRr/0VUt4vmnW/s2y/mgouie+sdMWNPEgwSKWjhuZQ+dxTplW4y+bQI5jpnoS1jSCFgnn9DSRT789vkP3L1fYzZuSwWWkf/5RzpRx/Y+BmpG0gJjVa9Cw2y8YOI0Dsuc7/NM7vW+gtxSmnsOkQhW6pifcXprtMPAmS9wEWIcVRA3sqxZRzYC2gNrGeIPC6f2vFdtRkIDXTO8ZFcm/ZYJ90+NOU8secqhw7keoWyxO/aBl3OlfiHMcUBvHwuWFgczilBXbpYJoQWWFfyf/c2pAxZ/bgK2g= 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:(39860400002)(396003)(376002)(366004)(346002)(136003)(8676002)(76116006)(55016002)(52536014)(5660300002)(316002)(66476007)(9686003)(66556008)(8936002)(86362001)(66446008)(64756008)(110136005)(71200400001)(54906003)(2906002)(66946007)(53546011)(4326008)(6506007)(186003)(478600001)(26005)(83380400001)(33656002)(122000001)(7696005)(38100700002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?AKlNa8EWzq8ajbryar4NNnZVdasyDI0a7AM2V5pUnaxuumSQKSIVjN+anG2A?= =?us-ascii?Q?2+3NBfs83zAODdeAWs68YPXuoO1HYYok+VTZ2vuUXVcSpg3eACgvFtWdONcv?= =?us-ascii?Q?v9JkyTCPGrlh3lilcQgo6dVxVrrJIp6RZcomppaujcITQYmAwlNzQZx23VNA?= =?us-ascii?Q?Ay0uDApToM9kSbs3f6PJcReJkB4DfVFyS/HD6NKvkUkULgAZaPVPpPP0oMC1?= =?us-ascii?Q?xVhffasuBTcxXYKfhZ9g06ivWtlZv7WqQZtdVWVheCikpTcPMckVJ/sNp8Mr?= =?us-ascii?Q?Erke07h3TIt4uXkZLEkBkrQvUq0h/+UuBxeWOoUwDFQkmzZRXA3FVu/vPRy/?= =?us-ascii?Q?EZSy4v8GJ6jaaFeFSpDFgUcLTl/HaLZcL1/6j3DWlRwq9LHvHyVfWG9B+tmE?= =?us-ascii?Q?9nPlgOMogz6sqFEXD2nByEuw0dAszC9tO6XSWMBgv8z/A3YkqIuABrg4nYDU?= =?us-ascii?Q?6T+pgKS8TWHqbdOpQeTjLKupS5BVnR7bKong6RrLyAEpdXjIpyRr7GTfBFa8?= =?us-ascii?Q?dQewLcP6qAnRQ9oeRM9urRmOefxFpFgTK5juvQ+v4yrW1/NL0QnpZm7fqIuH?= =?us-ascii?Q?1rkisAKjE+i1WMshl+qUwyhwt5ymLK0uZJJQ0CKjizWi4yrBtE/2O8hNFltk?= =?us-ascii?Q?rzNlGPspF0/xBLtgEX4NFV0q61bQTqqESKPEIwLOhNH0OmuEYfrSMUMfvRDD?= =?us-ascii?Q?dFE73kr9o1pdA1Q3H8u54Q6YHy4qQxR4yVP9HgdEg4KOYvV/jLVrpxB46czs?= =?us-ascii?Q?KlbuFuSp/VPxrJQKtvx3kyLfyg57H/7PYH2xMFL7FX+AugAFTmo0KKvOqGmc?= =?us-ascii?Q?s7Hw5SMCg9ltd2fsL150NCfh5L6IqVaO8qTh22pH7BIZ3WWwPiPf8QcguryX?= =?us-ascii?Q?yr1QdJyAXqz1FUGIuHHJrB4074NpWnm++DDXO/WPW3HbL1BCAnGIneriCo7M?= =?us-ascii?Q?Uhwdw07/5W8d609i6vm200spa7umiOyzNdQ7y5JxCP1RT7358W+e8Q60Npjt?= =?us-ascii?Q?pKq7CP5dBBKNOA+ln5ZzHZJ78RvGhWTxZ+Fqu0cdjTqAv1slPKDyhGtsmemP?= =?us-ascii?Q?7tCfdhW0c+SRn+I/LKqjMSOz0pcK1lRRre5RlHSpyHDohZm2spZTmFAAU0Dd?= =?us-ascii?Q?kYCYgxTiBhwXD9cHuwMwazgU3CgC64HUNnOAfbyOHQ8EX0XwpW+P2SMk4+i1?= =?us-ascii?Q?KS43Adb6ixsdIoxgYeS8LqlhzFWBd1tIysV8NbpvG8HD2i2qscShu+r3usvR?= =?us-ascii?Q?1rX5TPwgUWbi5IzgzZsIPVuWmzX0GouqgkQ2REnGtkwmN517e+Xob/7UmLsf?= =?us-ascii?Q?GpM=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: 7877bdee-b608-40aa-cf21-08d91ea6aa35 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2021 11:25:41.7783 (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: 7/2OHy803gOJ5i8co+E3QSZ7KXGI7O1Yy8hnqx1Fj61p2y1k8cyLxFxb30BJSOzSFvSP9Djdhd1xKE2xFvs+iSbS3N56FhSdC76vHISrigI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2553 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] rte_swx: 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 9:54 AM > To: dev@dpdk.org > Cc: Thierry Herbelot ; Thomas Monjalon > ; stable@dpdk.org; Dumitrescu, Cristian > > Subject: [PATCH] rte_swx: 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 > --- > 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 Thanks very much, Thierry! It would be great though if we could send a V2 with "table" instead of "rte= _swx" in the title: [PATCH] table: fix typo