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 7DCB9A0096 for ; Wed, 5 Jun 2019 22:02:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 906E41B957; Wed, 5 Jun 2019 22:02:12 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id F1DF81B94B; Wed, 5 Jun 2019 22:02:10 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jun 2019 13:02:10 -0700 X-ExtLoop1: 1 Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by fmsmga008.fm.intel.com with ESMTP; 05 Jun 2019 13:02:09 -0700 Received: from orsmsx163.amr.corp.intel.com (10.22.240.88) by ORSMSX101.amr.corp.intel.com (10.22.225.128) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 5 Jun 2019 13:02:09 -0700 Received: from orsmsx104.amr.corp.intel.com ([169.254.4.200]) by ORSMSX163.amr.corp.intel.com ([169.254.9.150]) with mapi id 14.03.0415.000; Wed, 5 Jun 2019 13:02:09 -0700 From: "Wang, Yipeng1" To: David Marchand , "dev@dpdk.org" , Dharmik Thakkar CC: "thomas@monjalon.net" , "aconole@redhat.com" , "msantana@redhat.com" , "stable@dpdk.org" , "Gobriel, Sameh" , "Richardson, Bruce" , "De Lara Guarch, Pablo" Thread-Topic: [PATCH 04/14] test/hash: fix off-by-one check on core count Thread-Index: AQHVGrQQdGb5F2u3Jk2ncWbwKB+VA6aNa2mw Date: Wed, 5 Jun 2019 20:02:08 +0000 Message-ID: References: <1559638792-8608-1-git-send-email-david.marchand@redhat.com> <1559638792-8608-5-git-send-email-david.marchand@redhat.com> In-Reply-To: <1559638792-8608-5-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTBlMDIxMjgtZjZiYS00YmY0LWIyNDYtMjFjMzUzMGU0NDJhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNXNLeFdoVE1OY3JROGY5YWJiOVk3UWxUY2tJZU50U3pDVHJ2WlBZQmRGUmFVSzBoQ3I2cERIeG54SkluUHNRayJ9 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 04/14] test/hash: fix off-by-one check on core count 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; stable@d= pdk.org; Wang, Yipeng1 >; Gobriel, Sameh ; Richar= dson, Bruce ; De Lara >Guarch, Pablo >Subject: [PATCH 04/14] test/hash: fix off-by-one check on core count > >This subtest wants to start rwc_core_cnt[n] reader threads, while the >master core is waiting for them to report. > [Wang, Yipeng] May add a sentence to make the commit message more explicit: The code does not consider the master core in the core count calculation. This commit fixes this issue. >Fixes: c7eb0972e74b ("test/hash: add lock-free r/w concurrency") >Cc: stable@dpdk.org > >Signed-off-by: David Marchand Acked-by: Yipeng Wang