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 1664DA0350; Wed, 24 Jun 2020 17:08:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 64F611D9D4; Wed, 24 Jun 2020 17:08:50 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 2E53E1D9D2 for ; Wed, 24 Jun 2020 17:08:48 +0200 (CEST) IronPort-SDR: QZbRT97+pn4qESed5u9+mBGPOyt9lmbXfXxH6c3Trkj5Ht0e1yWvd65G2LqvnsmhEEsvK/Gjds aBE5L69WzEmA== X-IronPort-AV: E=McAfee;i="6000,8403,9662"; a="124148581" X-IronPort-AV: E=Sophos;i="5.75,275,1589266800"; d="scan'208";a="124148581" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2020 08:08:48 -0700 IronPort-SDR: pur6zJ+gjGcfuHma5QmgUD6QpJnV0yXIcjT253IDLdgB64EYA5EGuMzQdlO+ANEEcWTdBlbX4K mkxq/K5yC9Rw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,275,1589266800"; d="scan'208";a="319475909" Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by FMSMGA003.fm.intel.com with ESMTP; 24 Jun 2020 08:08:48 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX109.amr.corp.intel.com (10.22.240.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 24 Jun 2020 08:08:47 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX603.amr.corp.intel.com (10.22.229.16) 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 08:08:47 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by orsmsx608.amr.corp.intel.com (10.22.229.21) 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 08:08:47 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.107) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 24 Jun 2020 08:08:47 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GMVCcPVWC3/xgVpwYU7zvTyYRu4G/qQ4H8LfkuQuHgVa0wEbOCelr4MbNymdmqVcCUUp4bscj0r3kmHYxpzLMtGERMAFTgiGC9AdLauJraewhfDO7ukfm+lBQVobvWm14RS21JNC1NwHOImNVN0TB5e9TROYG7DXMZ4AfTOIib+5Nxv6OiIjU9UN6FdG7PGecoRUT8059bYS9MSTvmFlNDQDaogRCw7dLzGWgpKPscaKbifemAbrzobbrtxlnmf4Y88fDYAnG/ft7Z/8p7phjVRCc2tgK9YktfpQXVqZ7M7BJTN1DTiAEbye9vkIYVJwsJYlWD+Q6HFasYbETX6DAQ== 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=wkQLNhEoPcGAVRktq747oTNEaSPpPIsv930RXfmaCfk=; b=Qe5vWZHAyY0/07YZ+DoImxHZcc5786R8FvJ/G2S+qUs2rKNQ47KbMiBcRgBnDKvZ9P+kLnDqK/UQfyjfaBxw1gYEkKM8Y9KkIeOD3uQbr0xkuynMiRRTYaVjr3lfatbqL/y0cEt/EH+vlefJqayRD/xrV2+sVMN7sSm0kwBzsvYDDK8bua0wA1ZoN4XEoIXDwSmSsiK4eincwlVjwRQuUqCD3H1kZ/2z6lDVptWqxnTpLYc+erhoaGwaJpRNWWvAgndrGcu7+XOMetWv3NZdHvo4OOInkDw7Hxt53z3pVb5D9aOD0jGnL5CrTFXTsco35vVNGUPgCGZF+S89b/DyNw== 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=wkQLNhEoPcGAVRktq747oTNEaSPpPIsv930RXfmaCfk=; b=mVguIIPm61mbA1TCcHE1KItP1O5HTGGJ0zWu+LoeKZ1EjnkfvePKYINK05LEM+Iea9QzLIHxs3CRg8qot1a0NTcqstHF5xpt0yZQVyEPUAQYdm1vcJLY4K/P95lx16uuJeE9mqyjRHlTs5AMOuPADi2/GU9jY1XNAXA/zi4ZIQI= Received: from SN6PR11MB2880.namprd11.prod.outlook.com (2603:10b6:805:58::15) by SA0PR11MB4687.namprd11.prod.outlook.com (2603:10b6:806:96::16) 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 15:08:46 +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 15:08:46 +0000 From: "Trahe, Fiona" To: "Dybkowski, AdamX" , "dev@dpdk.org" , "akhil.goyal@nxp.com" Thread-Topic: [PATCH 3/3] crypto/qat: verify session IOVA Thread-Index: AQHWPZbjspxZJxOdtE+5z+ZSYXnHw6jn93Zw Date: Wed, 24 Jun 2020 15:08:46 +0000 Message-ID: References: <20200608131503.4003-1-adamx.dybkowski@intel.com> <20200608131503.4003-3-adamx.dybkowski@intel.com> In-Reply-To: <20200608131503.4003-3-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: c1f71ddc-bfa8-48be-ed6e-08d818507e3a x-ms-traffictypediagnostic: SA0PR11MB4687: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2512; x-forefront-prvs: 0444EB1997 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hcU3d1Kw8BCgPtROWbT+kSg+BXKv+sWEUvUfnRBk6pVCQroSZa5YJGDK13kVSvprBSNfGQ7C/sVdvmEL7s/MgKtlMSw8zyn5MtHSgGjukjCVLjmM54Rvu8k/YPB9+caOZ+TvS36gKgS+Dz6X/yaKkL/bGUvCw2mW+xMXHnhg6xzrR+GqvwlIw0TpLhtFWNSVSAVnOleP7QgtHMR0dopBo35UVe+sQmdE/uWKjGkFFvnrjmd5szclh7Nq4XhnwPLFPywcvGkDmdBKzGEwdf7hPgW/unDhxmiP+x3LQ6zupFjEd5ZFfCUVgXGzW6PXdKYh 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)(366004)(136003)(396003)(376002)(346002)(39860400002)(55016002)(5660300002)(478600001)(4744005)(8936002)(9686003)(8676002)(2906002)(83380400001)(71200400001)(186003)(33656002)(6506007)(26005)(15650500001)(53546011)(52536014)(7696005)(66946007)(316002)(66556008)(86362001)(110136005)(76116006)(64756008)(66446008)(66476007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: mv5zkzR3I0I6D9/yfbkZv7atPWgKkBRoHhour3cN0XKyIyvyBaCeU1egUsapf0ng4JYb5lMJfA3HkUcwIMTkHTifoCLq2A3ZZv6hoFxYnqb+WIEvAg5hgh9y+jnsJbHuMs22GbADV5UzoSayaMgqQe+n8rYED1g/BIYgwCwSzLpPGWTh8fkfHv6lfViAHQNBwKExmvCsa9UJBnZ6SGMrnkCbwAqIRubesuIjAKJZIKbHGV+l9qx+6sKLEqDaSS/hz/8tA4mfnHrjFGuovFpE72+MfFiRN7eSMROd6eDkEuErTN4+5u/xefP1bxezl2TVEG8F++gTS6wN/F9HYkbAHU0elPvVM1rcDCs+0VWdzAwYGnqSqjqYAmmBasRLmrr78p9VIek1bsdDLs6Py2X5f0vt/NPPiMc+NpyoQqG40n8v8UtWYiWLUR7fmRF/AUWvcndwuhpt2dVYyf7Bpv8KlsBqeOKYHWLlnFbZ+XpqSldGnm3UAoV/0P2rwiywaT4l Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: c1f71ddc-bfa8-48be-ed6e-08d818507e3a X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2020 15:08:46.5687 (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: oLiTkQoGMYQDTChArCUhRDAjYmM9Y7Ztm/10waHbdqSC+7aovhaw5iFv5WSVbmnKa/twA76+KpPYlSMOKZpnjA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR11MB4687 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 3/3] crypto/qat: verify session IOVA 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 3/3] crypto/qat: verify session IOVA >=20 > This patch adds the verification of the crypto session IOVA > that should be known (not zero) to proceed with the > session initialisation. In case of unknown IOVA > the error code -EINVAL is returned. >=20 > Signed-off-by: Adam Dybkowski Acked-by: Fiona Trahe