From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 2DA861E34 for ; Tue, 22 May 2018 13:07:56 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 May 2018 04:07:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,430,1520924400"; d="scan'208";a="201433585" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by orsmga004.jf.intel.com with ESMTP; 22 May 2018 04:07:53 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.150]) by IRSMSX154.ger.corp.intel.com ([169.254.12.181]) with mapi id 14.03.0319.002; Tue, 22 May 2018 12:07:52 +0100 From: "De Lara Guarch, Pablo" To: "Trahe, Fiona" , "dev@dpdk.org" CC: "Shally.Verma@cavium.com" , "ahmed.mansour@nxp.com" , "ashish.gupta@caviumnetworks.com" Thread-Topic: [PATCH] lib/compress: clarify when it's ok to clear private_xform data Thread-Index: AQHT8bhadkS0udDCyU6C5zPxCXCU+6Q7lsCA Date: Tue, 22 May 2018 11:07:51 +0000 Message-ID: References: <1526985210-13587-1-git-send-email-fiona.trahe@intel.com> In-Reply-To: <1526985210-13587-1-git-send-email-fiona.trahe@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2FkMGZkNTUtZDZlOC00NmJhLTg2ZTUtMTE5YjY4Nzk2ZjJkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibWNkYmZLM0ozUHVTYWtkSVNSQUx3VXJkUkR2K1wvaHB1VXhoV1pXTnpGeVZcL1BqXC8wZVRZKzVON0lpRnArcU1DdiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] lib/compress: clarify when it's ok to clear private_xform data 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: Tue, 22 May 2018 11:07:56 -0000 > -----Original Message----- > From: Trahe, Fiona > Sent: Tuesday, May 22, 2018 11:34 AM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo ; Trahe, Fiona > ; Shally.Verma@cavium.com; > ahmed.mansour@nxp.com; ashish.gupta@caviumnetworks.com > Subject: [PATCH] lib/compress: clarify when it's ok to clear private_xfor= m data >=20 > As the private_xform data can be shared by many operations and across > queue_pairs, it would be performance impacting for PMDs to track inflight= s > associated with one. It makes more sense to push the responsibility to th= e > application to keep track of its usage and only delete the private_xform = when > there are no more ops using it. >=20 > Signed-off-by: Fiona Trahe Acked-by: Pablo de Lara