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 A4800A3201 for ; Mon, 21 Oct 2019 07:38:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 17E2C29C6; Mon, 21 Oct 2019 07:38:26 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id DBCE729AC for ; Mon, 21 Oct 2019 07:38:23 +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 orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Oct 2019 22:38:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,322,1566889200"; d="scan'208";a="348642393" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga004.jf.intel.com with ESMTP; 20 Oct 2019 22:38:22 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 20 Oct 2019 22:38:21 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 20 Oct 2019 22:38:21 -0700 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.96]) by SHSMSX152.ccr.corp.intel.com ([10.239.6.52]) with mapi id 14.03.0439.000; Mon, 21 Oct 2019 13:38:19 +0800 From: "Pei, Andy" To: "Ye, Xiaolong" CC: "dev@dpdk.org" , "Xu, Rosen" , "Zhang, Tianfei" , "Zhang, Qi Z" Thread-Topic: [PATCH v9 13/18] raw/ifpga/base: add secure support Thread-Index: AQHVhhiE9NeYvZRKFkuFVgcgPS5Wbadkly1A Date: Mon, 21 Oct 2019 05:38:19 +0000 Message-ID: <5941F446C088714A85408FA3132CFCBB0108BBA5@SHSMSX105.ccr.corp.intel.com> References: <1570782089-182978-2-git-send-email-andy.pei@intel.com> <1571037064-382519-1-git-send-email-andy.pei@intel.com> <1571037064-382519-14-git-send-email-andy.pei@intel.com> <20191019005657.GD44515@intel.com> In-Reply-To: <20191019005657.GD44515@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v9 13/18] raw/ifpga/base: add secure support 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" SGksIFhpYW9sb25nDQoNClRoYW5rcy4NClRoaXMgd2lsbCBiZSBmaXhlZCBpbiB2MTAuDQoNCi0t LS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBZZSwgWGlhb2xvbmcgDQpTZW50OiBTYXR1 cmRheSwgT2N0b2JlciAxOSwgMjAxOSA4OjU3IEFNDQpUbzogUGVpLCBBbmR5IDxhbmR5LnBlaUBp bnRlbC5jb20+DQpDYzogZGV2QGRwZGsub3JnOyBYdSwgUm9zZW4gPHJvc2VuLnh1QGludGVsLmNv bT47IFpoYW5nLCBUaWFuZmVpIDx0aWFuZmVpLnpoYW5nQGludGVsLmNvbT47IFpoYW5nLCBRaSBa IDxxaS56LnpoYW5nQGludGVsLmNvbT4NClN1YmplY3Q6IFJlOiBbUEFUQ0ggdjkgMTMvMThdIHJh dy9pZnBnYS9iYXNlOiBhZGQgc2VjdXJlIHN1cHBvcnQNCg0KT24gMTAvMTQsIEFuZHkgUGVpIHdy b3RlOg0KPkZyb206IFRpYW5mZW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