From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id DB4B6A0096 for ; Wed, 5 Jun 2019 22:02:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ADEC61B997; Wed, 5 Jun 2019 22:02:48 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 9E1941B995; Wed, 5 Jun 2019 22:02:46 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jun 2019 13:02:45 -0700 X-ExtLoop1: 1 Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by orsmga007.jf.intel.com with ESMTP; 05 Jun 2019 13:02:45 -0700 Received: from orsmsx116.amr.corp.intel.com (10.22.240.14) by ORSMSX108.amr.corp.intel.com (10.22.240.6) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 5 Jun 2019 13:02:45 -0700 Received: from orsmsx104.amr.corp.intel.com ([169.254.4.200]) by ORSMSX116.amr.corp.intel.com ([169.254.7.165]) with mapi id 14.03.0415.000; Wed, 5 Jun 2019 13:02:44 -0700 From: "Wang, Yipeng1" To: David Marchand , "dev@dpdk.org" CC: "thomas@monjalon.net" , "aconole@redhat.com" , "msantana@redhat.com" , "Dharmik Thakkar" , "stable@dpdk.org" , "Gobriel, Sameh" , "Richardson, Bruce" , "De Lara Guarch, Pablo" Thread-Topic: [PATCH 05/14] test/hash: rectify slaveid to point to valid cores Thread-Index: AQHVGrQQ3Z0GxjUwDEWCpINHrsm79KaNfbjQ Date: Wed, 5 Jun 2019 20:02:44 +0000 Message-ID: References: <1559638792-8608-1-git-send-email-david.marchand@redhat.com> <1559638792-8608-6-git-send-email-david.marchand@redhat.com> In-Reply-To: <1559638792-8608-6-git-send-email-david.marchand@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWJiZjg1MmUtOTkyZC00ZWZlLWIxYmYtYjVlMDkzNjFiYTVlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiN1wvb2ZJRUE4ZEVVa2MzTlZDaTZ5ZW1QN2tBQzA3TlhiU3NjeGo0U3hRVStIUmpuVElCZno5WFgrWVwvdzlkNmVFIn0= x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 05/14] test/hash: rectify slaveid to point to valid cores X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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: David Marchand [mailto:david.marchand@redhat.com] >Sent: Tuesday, June 4, 2019 2:00 AM >To: dev@dpdk.org >Cc: thomas@monjalon.net; aconole@redhat.com; msantana@redhat.com; Dharmik = Thakkar ; >stable@dpdk.org; Wang, Yipeng1 ; Gobriel, Sameh ; Richardson, Bruce >; De Lara Guarch, Pablo >Subject: [PATCH 05/14] test/hash: rectify slaveid to point to valid cores > >From: Dharmik Thakkar > >This patch rectifies slave_id to point to valid core indexes rather than >core ranks in read-write lock-free concurrency test. > >It also replaces a 'for' loop with RTE_LCORE_FOREACH API. > >Fixes: c7eb0972e74b ("test/hash: add lock-free r/w concurrency") >Cc: stable@dpdk.org > >Signed-off-by: Dharmik Thakkar >Reviewed-by: Ruifeng Wang >Signed-off-by: David Marchand =20 Acked-by: Yipeng Wang