From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 360C62C8 for ; Thu, 6 Jul 2017 10:43:20 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jul 2017 01:43:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,316,1496127600"; d="scan'208";a="1191247852" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by fmsmga002.fm.intel.com with ESMTP; 06 Jul 2017 01:43:19 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.133]) by irsmsx105.ger.corp.intel.com ([169.254.7.168]) with mapi id 14.03.0319.002; Thu, 6 Jul 2017 09:43:18 +0100 From: "De Lara Guarch, Pablo" To: "Zhang, Roy Fan" , "dev@dpdk.org" Thread-Topic: [PATCH] crypto/scheduler: remove session backup and recover Thread-Index: AQHS1b6HPWjws/NU2U23iVXzc4PFSKJGu8Gw Date: Thu, 6 Jul 2017 08:43:18 +0000 Message-ID: References: <20170526012443.13001-1-roy.fan.zhang@intel.com> In-Reply-To: <20170526012443.13001-1-roy.fan.zhang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] crypto/scheduler: remove session backup and recover 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: Thu, 06 Jul 2017 08:43:21 -0000 > -----Original Message----- > From: Zhang, Roy Fan > Sent: Friday, May 26, 2017 2:25 AM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo > Subject: [PATCH] crypto/scheduler: remove session backup and recover >=20 > This patch removes the unnecssary session backup and recover steps in the > round-robin and fail-over modes of cryptodev scheduler PMD. Originally, > the scheduler blindly enqueues to the slaves regardless of their availabl= e > queue rooms, and recovers the sessions once failed. This patch predicts t= he > number of crypto ops the slave can be enqueued by checking its inflight o= ps > and thus removed the session backup and recovery steps. >=20 > Signed-off-by: Fan Zhang > --- > drivers/crypto/scheduler/scheduler_failover.c | 33 +++++++++----------= ----- > - > drivers/crypto/scheduler/scheduler_roundrobin.c | 33 ++++++++++---------= - > ----- > 2 files changed, 25 insertions(+), 41 deletions(-) Hi Fan, Thanks for the patch. I did not apply this patch so far because there was s= ome work ongoing about the crypto sessions. Since this work is going to be integrate= d for RC1, this patch is not needed anymore. Thanks, Pablo