From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 55796A0350; Wed, 24 Jun 2020 16:56:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 28E721D9C1; Wed, 24 Jun 2020 16:56:13 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 9C9851D9B0 for ; Wed, 24 Jun 2020 16:56:11 +0200 (CEST) IronPort-SDR: dgzFVEOZYqLZEjkopwX66jySPrUzcGNtdGUDB8+rm1CRc4X/UskpurikI2WOsWjYNt8OnEByIW JwQCYorlxcng== X-IronPort-AV: E=McAfee;i="6000,8403,9662"; a="143577007" X-IronPort-AV: E=Sophos;i="5.75,275,1589266800"; d="scan'208";a="143577007" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2020 07:56:10 -0700 IronPort-SDR: 1da6EFuTrz2d59QI7XxRgRaTSgAkh0NpIH6xj2sSldJhSTXSkVKYmTDkhA5ZeiHhWhn9nWDkwP wYeXFW7K9q5g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,275,1589266800"; d="scan'208";a="319472203" Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by FMSMGA003.fm.intel.com with ESMTP; 24 Jun 2020 07:56:10 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX109.amr.corp.intel.com (10.22.240.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 24 Jun 2020 07:56:10 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 24 Jun 2020 07:56:09 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 24 Jun 2020 07:56:09 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.172) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 24 Jun 2020 07:56:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MuxX3LS5f4tPiI+hA1rPRSs+2rtoD6TcNqoaC7qGwZVz9PjSvU4w+4iBYvIaHkg8A0faK2XRKGEUzZ1HMCvYlWaOYxO5WLp134QXX5mMKwGS9ZcC/jCQZXZCmx2j19HnTKEm+ElX/6svJ8r49G3HOq/1CGC54jGT94aYn8HF6RrksO47ITTUDd2QllXCsUnWPmvw70jXOSdKR1bNEB1NLHAY96h2esTVPztbU8qUaX+BecP/hdS0Qwhvi0Qqjk4O4wR3tLrB4HmJvI+cXAqPP+IlNxW9CNoyBxOdJo+oowTeYOgJO2gYZQ7/NyNSrrPIv40jbimkxkj1llAHUPJXiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Fxz1/YsUyVAnTAlM1pIXioYKCV1lEyBSGl2K6S+E4Ag=; b=Js6r1mMWZOVAlVMGO5+ahchlVZgBpOs7uc2/lNFiUVFLjhEQLSnUCPrpwOEf5mnBEjIM2HzOO8DJ8zgJdIwteXsjSYLNP57Ny9ibsyo5FHa+sLstE2urtdzS+vdeXD7SL0J8Ek2d6lCo9cpylNoPYYhLgSaRHgPDuCPBZr1+BMtUD0vhQ8dqi92/mh7cSKLAOReU+NNXwThTPnE8zTFic/o0jEVL0L++yCbz/2h9+WAaNoPIXlr/LTQUtclPmK0hOwMRRZ3VJvBaqAs9MlfjlIgz176JIpkUAlCoD1cMZkN3ZXzdMGXjBHR7YlWXtSKUDKkiAlFTpLNJu3i9z+BIOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Fxz1/YsUyVAnTAlM1pIXioYKCV1lEyBSGl2K6S+E4Ag=; b=Da6F783jgXGqYzz3x4qaqWUgUmNGwu7FKGGPVLi27OEtRWSON/Uh/B/RFuALVou9jZUqye6cC9UdeoQvwfZ9IW4tAoiJ6q8Pw09KHRHYJkezSLxxksJIl+R+kGyXNExROXE8xw+kQnEcKxU7EfJFZxUI3W/JRuMu3mf0LpuLAcM= Received: from SN6PR11MB2880.namprd11.prod.outlook.com (2603:10b6:805:58::15) by SN6PR11MB3391.namprd11.prod.outlook.com (2603:10b6:805:bc::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.22; Wed, 24 Jun 2020 14:56:07 +0000 Received: from SN6PR11MB2880.namprd11.prod.outlook.com ([fe80::c4ff:6258:78f7:ff90]) by SN6PR11MB2880.namprd11.prod.outlook.com ([fe80::c4ff:6258:78f7:ff90%5]) with mapi id 15.20.3109.026; Wed, 24 Jun 2020 14:56:07 +0000 From: "Trahe, Fiona" To: "Dybkowski, AdamX" , "dev@dpdk.org" , "akhil.goyal@nxp.com" Thread-Topic: [PATCH 2/3] cryptodev: verify session mempool element size Thread-Index: AQHWPZbefiAFhH4/ckCQaj0CViewRqjn8+JQ Date: Wed, 24 Jun 2020 14:56:07 +0000 Message-ID: References: <20200608131503.4003-1-adamx.dybkowski@intel.com> <20200608131503.4003-2-adamx.dybkowski@intel.com> In-Reply-To: <20200608131503.4003-2-adamx.dybkowski@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.151.167] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1aaa9c62-69d6-4c61-129d-08d8184eb99f x-ms-traffictypediagnostic: SN6PR11MB3391: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-forefront-prvs: 0444EB1997 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Op0gjVIdKocGU0YafJBjFCl9VxVh9xVh1lLKeI7GG0ucAs0ohZ6O43zV3fp1lbKtYGz+QcU2B88iEDmJPy0EzfNeoIxlQkboP3BWwMgUrXmyv9tPOPROTA+kBhQGz91iOGjjXBtSwwoE4kjrx9EO3BxT1iBANQL+XK/vKj+CGFGVB9TbhtTuDHykMAW3UVsgX4vrpcMJ1I1LhLxnWvyyPDrn+0RwN2j4XJOy/Ha4D6Z5TzSUT1MRajIWfuu/QcI42Cy1J3hXOY/2DOJSxarzSZQFDk4rGGgM/Uj4b3Y5hEQXCYjyvpmYu4r65WVmSxRafsiFhacsmquhblpW3TobdA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2880.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(366004)(39860400002)(396003)(136003)(346002)(6506007)(33656002)(86362001)(53546011)(55016002)(5660300002)(8936002)(186003)(9686003)(2906002)(71200400001)(4744005)(316002)(110136005)(478600001)(15650500001)(52536014)(66556008)(66446008)(8676002)(7696005)(83380400001)(66946007)(26005)(66476007)(64756008)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: c1ny7aqeS+sRdN681LKpHOIoB7fVEH/bFWptZXwRv9AQYGoe4kgJt9QlMuBKj1L0vHG7Y0JwLHKNNL110KTUY+eLIALxzc/yIVsIcRCRHzjrAzIanFPRuBufJaukKiJhZGgDyvuWcJbqLRxywToAvG0+D9rIeNX8JJ35rldpRLQDJww1UFMXH2gc06TrM3ROMAfSg0PJ+WLHSzeCRoCB5v8sayfTbOX8OciAOoATeNvQ93SFEDSaxmE4+MyvUhcTt2hnMbzDf1ijONEr1WOfU29kQkM5/c8OQlfLj5e+Ih+8y/XQq7vKdn1DJDgdPAMRL/sX84rKDLSCs/nbSZsba7/o+y6vxSeTHW1YMykF/2AxgelgbwqMlqO/7ARVL8DyxLjTc6y9i4i/zZwrtcWRouKryf9Qk18qpW5lGkEKJFQSVpTf8Htac6V5y2h07QnL4IZVGrbwpu5O+hcTyU8VBzzlXTElIB6RwzV4E6xnd1F46zGqfMi80RPnGeR64Hwm Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 1aaa9c62-69d6-4c61-129d-08d8184eb99f X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2020 14:56:07.2071 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: p8VVffZJDAhBqIuetxJnJFCyFL7RucgEC3ZOLBeJuqFI1HdMt2I+od9GtfEKNIb8H9t6ExhUqFW3IEdTYvSLQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3391 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 2/3] cryptodev: verify session mempool element size 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: Dybkowski, AdamX > Sent: Monday, June 8, 2020 2:15 PM > To: dev@dpdk.org; Trahe, Fiona ; akhil.goyal@nxp.c= om > Cc: Dybkowski, AdamX > Subject: [PATCH 2/3] cryptodev: verify session mempool element size >=20 > This patch adds the verification of the element size of the > mempool provided for the session creation. Returns the error > if the element size is too small to hold the session object. >=20 > Signed-off-by: Adam Dybkowski Acked-by: Fiona Trahe