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 A0340A328D for ; Tue, 22 Oct 2019 07:13:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 100954C8E; Tue, 22 Oct 2019 07:13:23 +0200 (CEST) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-eopbgr760074.outbound.protection.outlook.com [40.107.76.74]) by dpdk.org (Postfix) with ESMTP id 5D8E3493D; Tue, 22 Oct 2019 07:13:20 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IAm6DxiIwbQbPvHCY4/Fsnl1fZUk1M+1xWmMm0b5V9tRXc0el+p47wifuq9km2Tqnm5wP4zs3PTWhD0DdA2U6JfOPy4LWL3TLC57izPoW68WYg6P5+W2cfm6+bvBHOd9xApItQHc8oVq4Ql5b6eKQMGu0c8yx7B9Jw/xOcnW9pxF5o0YzX5THXyxfRXxfovm0KbZL+RMfqh88iYuirCB8ooLSWIv1ADzZfbTdMTFDeH7WrHwb23jR4HqD3AUtXluzAFdnWtsTzDlnEhDTEXqOS/H6YwGnVsCUUqzyxL0TM2gc6lv4YoCtnmT5pAgjJjyNcq//+nWztpF+eNuDF8PJw== 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=orbiJwLJSNj3zb8jiEfUrEFqoJePj/dE0Kl/h4CRyGQ=; b=D/o8JdTACUHVKNfHr/c7vAYv3V7p3JR1s5XAwXlAXojoH7EJ4lq/MvC2D9rAOgtOT+lrWaNqTrCEOFGY5pAP7/10922qS6eZzYw9RFoOB327l4kTCx9QhSqmbq8GtIoQ2RCbAeTTtG8skejlp6ldAv6+eYImljYm8y1ktiLybD735KfRQzvLv5mm9/VGUINXAJI1+dM4LxM+Qk++1+gR6dqWN84oBx4EQzVBZKdladMAxTcWNC76OSDsUBVnvNnAWTHEy+niVAaxX8LD5gaSQUKFYW1bM6MlAu843maGHASXgdtVO7igE2QIIcDXx/Alfdpt/6fn/G6FWZScvRmkZg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=orbiJwLJSNj3zb8jiEfUrEFqoJePj/dE0Kl/h4CRyGQ=; b=FWmCAZ+3TeT9lfpuuPu4HTCuAEq3u1W+657qF3p/3FMByagKgNU1byZMG67s++MCJY+KSCyhk9XKV9q8ql7mEE8oKAd4ZWlnypx9Zl9vm7laNi9b8kOE2HOdMGhbSfVmfJCzprgXqZFWxpjssI2+YuYUXsJhm24tnh7kYGA0bTs= Received: from CY4PR1201MB2471.namprd12.prod.outlook.com (10.172.116.10) by CY4PR1201MB0247.namprd12.prod.outlook.com (10.172.77.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2367.24; Tue, 22 Oct 2019 05:13:17 +0000 Received: from CY4PR1201MB2471.namprd12.prod.outlook.com ([fe80::1d96:48a6:87c3:6c93]) by CY4PR1201MB2471.namprd12.prod.outlook.com ([fe80::1d96:48a6:87c3:6c93%10]) with mapi id 15.20.2367.022; Tue, 22 Oct 2019 05:13:17 +0000 From: "Somalapuram, Amaranath" To: Jerin Jacob CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v1 5/6] crypto/ccp: enable IOMMU for CCP Thread-Index: AQHVgyaEMCRCl+DPT0uqf+n/eMGaw6dbW2wAgAAAt+CAABeUgIAKs+AA Date: Tue, 22 Oct 2019 05:13:17 +0000 Message-ID: References: <20191015070214.93403-1-asomalap@amd.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Amaranath.Somalapuram@amd.com; x-originating-ip: [165.204.157.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 49367e94-a48a-4bca-b127-08d756ae8c82 x-ms-traffictypediagnostic: CY4PR1201MB0247: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 01986AE76B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(136003)(39860400002)(366004)(396003)(13464003)(199004)(189003)(2906002)(74316002)(7696005)(7736002)(102836004)(86362001)(6506007)(305945005)(66946007)(66476007)(6436002)(11346002)(76116006)(9686003)(229853002)(53546011)(71190400001)(25786009)(54906003)(76176011)(66446008)(64756008)(6916009)(3846002)(6116002)(55016002)(1411001)(14454004)(66556008)(99286004)(316002)(256004)(26005)(6246003)(71200400001)(5660300002)(66066001)(33656002)(186003)(4326008)(52536014)(8676002)(81166006)(81156014)(8936002)(446003)(478600001)(486006)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1201MB0247; H:CY4PR1201MB2471.namprd12.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 0Pr5HTououE2kd3fsCEjCDtAZD0aWpfWVIS+Q8d3KRTqslPVIiw3oPRSx1TvhpC0ddlMfMUSf5UXoLrAttzFWkUFTXCy2YlD5FO313GSFWb8TzYBDexbZA+5O+3bn3cBDRs940iM51ez/Hfly84GlSdZOE+orwWPOVS9HYfNLwN97isV4zqSNx590pCM5Ohd3nUjQTPqH1Zc4ZVAmy4yxh253D0JaIHi32ehY0DUDbrmKrolB9ncwiPdJlo9m2NeY2V5AvZdkC4q+7zEu8ZqW9tP4SVXz7GNkiOMFJEG4X9emPEjmwOaa+prybLxc24qxcOEka7q8iJV4FcJeinrUF1b1LrwDY5oGyWSIJLX6wSV8Feg4Z3Y9Hhy7nubPSH1SqFiJD1NwkYSB478hRnQVQAdAeBStui/a3qKV0ZmjIsnP/bLU9nHwWoEfHyyP38f x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 49367e94-a48a-4bca-b127-08d756ae8c82 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2019 05:13:17.5449 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: WALoczIO7DYkazMrPV9xb1Ykyu5l1K9Fi2/l5E5JRglvEhQe05oEJuEZwMOwV2nso7aY0TgRnBrhWgWgpJJcQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1201MB0247 Subject: Re: [dpdk-dev] [PATCH v1 5/6] crypto/ccp: enable IOMMU for CCP 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" SGkgSmVyaW4sDQpJIHdpbGwgY2hlY2sgaG93IHRvIGltcHJvdmUgdGhpcy4gV2lsbCByZXN1Ym1p dCB0aGlzIHBhdGNoIHdpdGggeW91ciBzdWdnZXN0ZWQgY2hhbmdlcy4NCg0KUmVnYXJkcywNClMu QW1hcm5hdGgNCg0KLS0tLS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