From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 1752E1C6D7; Mon, 14 May 2018 12:03:09 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 May 2018 03:03:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,399,1520924400"; d="scan'208";a="54113592" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by fmsmga004.fm.intel.com with ESMTP; 14 May 2018 03:03:08 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.249]) by irsmsx105.ger.corp.intel.com ([169.254.7.214]) with mapi id 14.03.0319.002; Mon, 14 May 2018 11:01:14 +0100 From: "Zhang, Roy Fan" To: "Rybalchenko, Kirill" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH] crypto/scheduler: fix multicore rings re-use Thread-Index: AQHT61AzZ3HBNtDxXkOoLX+PgCbL+6Qu/igg Date: Mon, 14 May 2018 10:01:14 +0000 Message-ID: <9F7182E3F746AB4EA17801C148F3C6043322FDC5@IRSMSX102.ger.corp.intel.com> References: <1526280767-669-1-git-send-email-kirill.rybalchenko@intel.com> In-Reply-To: <1526280767-669-1-git-send-email-kirill.rybalchenko@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWUyOWRjNDItZGY0Mi00ZjQ4LTk3ZTMtZGQ5YTUyNDZhZjQ0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJNdSszazNtWlc5SFQ5OURYNjU3WldRbzhPVGRSbWdIM3lhd2laT0N0M0dKZjhQTWpOMjBDNnRhcnJDQWVrQXlTIn0= dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] crypto/scheduler: fix multicore rings re-use 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: , X-List-Received-Date: Mon, 14 May 2018 10:03:10 -0000 Thanks a lot! > -----Original Message----- > From: Rybalchenko, Kirill > Sent: Monday, May 14, 2018 7:53 AM > To: dev@dpdk.org > Cc: stable@dpdk.org; Rybalchenko, Kirill ; > Zhang, Roy Fan > Subject: [PATCH] crypto/scheduler: fix multicore rings re-use >=20 > When scheduler mode changed from multicore to roundrobin and back to > multicore, scheduler tries to create memory rings with the same name and > fails. The fix allows to lookup and re-use previously allocated memory ri= ngs. >=20 > Fixes: 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode") >=20 > Signed-off-by: Kirill Rybalchenko >=20 Acked-by: Fan Zhang