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 A986FA3160 for ; Sat, 12 Oct 2019 07:42:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6DE161EB42; Sat, 12 Oct 2019 07:42:53 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 7453A1EB3C for ; Sat, 12 Oct 2019 07:42:50 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2019 22:42:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,286,1566889200"; d="scan'208";a="394656943" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 11 Oct 2019 22:42:49 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 11 Oct 2019 22:42:48 -0700 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 11 Oct 2019 22:42:48 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.96]) by SHSMSX153.ccr.corp.intel.com ([10.239.6.53]) with mapi id 14.03.0439.000; Sat, 12 Oct 2019 13:42:46 +0800 From: "Tu, Lijuan" To: "Yao, BingX Y" , "dts@dpdk.org" CC: "Yao, BingX Y" Thread-Topic: [dts] [PATCH V1 1/3] add fips environment variable Thread-Index: AQHVfZjx1kMakSkovkK2JamovKxjIKdWhHww Date: Sat, 12 Oct 2019 05:42:46 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB3EA91@SHSMSX101.ccr.corp.intel.com> References: <1570512569-17999-1-git-send-email-bingx.y.yao@intel.com> In-Reply-To: <1570512569-17999-1-git-send-email-bingx.y.yao@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTkwMzExMzYtYTE5Mi00ZTZiLWJhM2QtYWVjOWJkNDYyNDdhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiU2hFZEpWU0YzK3ErT3VwTndrUTRHaDVGQTlSSmhvRnZwQ2FoXC9Oell5OHowQ0Nid0pLOVNOeWVKNWozbENoa3oifQ== x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1 1/3] add fips environment variable X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Applied the series, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yaobing > Sent: Tuesday, October 8, 2019 1:29 PM > To: dts@dpdk.org > Cc: Yao, BingX Y > Subject: [dts] [PATCH V1 1/3] add fips environment variable >=20 > add fips_cryptodev environment variable >=20 > Signed-off-by: yaobing > --- > tests/cryptodev_common.py | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) >=20 > diff --git a/tests/cryptodev_common.py b/tests/cryptodev_common.py index > 2e86bca..f521fbe 100644 > --- a/tests/cryptodev_common.py > +++ b/tests/cryptodev_common.py > @@ -44,12 +44,30 @@ def build_dpdk_with_cryptodev(test_case): > if "kasumi_lib_path" in test_case.get_suite_cfg(): > kasumi_lib_path =3D test_case.get_suite_cfg()["kasumi_lib_path"] >=20 > + fip_cflags_path =3D "'-I/opt/openssl-fips-2.0.16/include/'" > + if "fip_cflags_path" in test_case.get_suite_cfg(): > + fip_cflags_path =3D test_case.get_suite_cfg()["fip_cflags_path"] > + > + fip_ldflags_path =3D "'-L/opt/openssl-fips-2.0.16/'" > + if "fip_ldflags_path" in test_case.get_suite_cfg(): > + fip_cflags_path =3D test_case.get_suite_cfg()["fip_ldflags_path"= ] > + > + fip_library_path =3D "/opt/openssl-fips-2.0.16/" > + if "fip_library_path" in test_case.get_suite_cfg(): > + fip_cflags_path =3D test_case.get_suite_cfg()["fip_library_path"= ] > + > test_case.dut.send_expect( > "export LIBSSO_SNOW3G_PATH=3D{}".format(snow3g_lib_path), "#") > test_case.dut.send_expect( > "export LIBSSO_ZUC_PATH=3D{}".format(zuc_lib_path), "#") > test_case.dut.send_expect( > "export LIBSSO_KASUMI_PATH=3D{}".format(kasumi_lib_path), "#") > + test_case.dut.send_expect( > + "export EXTRA_CFLAGS=3D{}".format(fip_cflags_path), "#") > + test_case.dut.send_expect( > + "export EXTRA_LDFLAGS=3D{}".format(fip_ldflags_path), "#") > + test_case.dut.send_expect( > + "export LD_LIBRARY_PATH=3D{}".format(fip_library_path), "#") >=20 > test_case.dut.send_expect( > "sed -i > 's/CONFIG_RTE_LIBRTE_PMD_AESNI_MB=3Dn$/CONFIG_RTE_LIBRTE_PMD_AES > NI_MB=3Dy/' config/common_base", "# ") > -- > 2.17.2