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 8A645A04AC; Tue, 1 Sep 2020 08:18:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 59559137D; Tue, 1 Sep 2020 08:18:43 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id D8592E07 for ; Tue, 1 Sep 2020 08:18:41 +0200 (CEST) IronPort-SDR: 8Uj0Mh/s0cwV+Whx2jNUaFJmnr2+KS5sJWyOQfA9TNL/4EAXHSnFyBYIaBmzbAbOrAIsXCiyg+ a3cBgfKOxK0Q== X-IronPort-AV: E=McAfee;i="6000,8403,9730"; a="221341510" X-IronPort-AV: E=Sophos;i="5.76,378,1592895600"; d="scan'208";a="221341510" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2020 23:18:39 -0700 IronPort-SDR: ASrTxSmhhRoznglVOdit6xQTj6dX1e4qppQCjL69V8Sn20D3i5HaJ0jo7fH1iLtgAL1quneVqp FApE8qZpZytQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,378,1592895600"; d="scan'208";a="281874622" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga007.fm.intel.com with ESMTP; 31 Aug 2020 23:18:39 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 31 Aug 2020 23:18:05 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 31 Aug 2020 23:18:05 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 31 Aug 2020 23:18:05 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.172) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Mon, 31 Aug 2020 23:18:03 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VNT2CodXsJn33m+oGEPAmTo+cEVxSeekV10VL1RibmchTQC7Dgo0adfy+wGsK9MFLxYAicppfXUViAqyL0bSuxu1fkzfWLFy6LiDE1zhuhn38YIfuWeKqfgDKIgem/ZCdSiyo0L98FCpxOgaC76qCYzXZmkwd+2/EY+4mnAxR8VygOaPIc1ze5G80craOqkekHCbvGkpFiS9Xil/O1R6y5IO9ne44hK1exbnYj/LAFLWtwDNG6ZtBrXN1XVy39CzKCDjwCMTSjex4iOW9hk2a+sXw0Rub+1K2RS2IZx/dXb5GQWCm5/Rcx3tDAh5MvKzI2nUED+OZk7+/5ZSK/L/PQ== 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=7DtzSLMySizS9mT9k8K/yecTv1ZiP9sy3gcALsTfzTg=; b=E0J/zpr97wonmEzAk80LJavo2+c0fdzkoVpd4IDVRQ7B2jW/H+olx/yllbbFazcdIZrmpGeWOmCZMtOucfvLVRwJtctoYX0NpGhEJxh96hr4ynaOFJA1dTgB/l6v1AOvkys3okb0oSQSWSTwbWz8ZevS93E1NLFM00f8TQLBxd0J0AZMCv0pvOrZSAu7y9Pg0rhCqD6B8eKLjA9NkPUvtkWz79A8CZfxmceHEHfajI9avHlUqmmjDkeduDLA+0v7QuqryDp1tpsMYT5ZxMiCIm6YdsoY1mJe3Vwg+NMHtURBwehwdO/NwoTs5ecqLbWb60bDJspAklNRQ/nN0JRvxw== 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=7DtzSLMySizS9mT9k8K/yecTv1ZiP9sy3gcALsTfzTg=; b=BI2WvoEnP4uqQ0QPyiHgH3ROWdAMHdC1woAom9O6c26ng3BBYDYWulopCccp39earkwAIllJQTkJbJI/BW+45dyRjFenrrPhP5NacdtL7YrNeOK26JnInyH5Tm6AqBiaACpc5u2odSQVAxsy6EgbhhCoESv0CRVSwMgMK/esegQ= Received: from BL0PR11MB3364.namprd11.prod.outlook.com (2603:10b6:208:69::21) by MN2PR11MB4597.namprd11.prod.outlook.com (2603:10b6:208:268::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.23; Tue, 1 Sep 2020 06:18:01 +0000 Received: from BL0PR11MB3364.namprd11.prod.outlook.com ([fe80::34a2:b1af:211:5a26]) by BL0PR11MB3364.namprd11.prod.outlook.com ([fe80::34a2:b1af:211:5a26%7]) with mapi id 15.20.3326.025; Tue, 1 Sep 2020 06:18:01 +0000 From: "Lin, Xueqin" To: "Xie, WeiX" , "dts@dpdk.org" CC: "Xie, WeiX" Thread-Topic: [dts] [dts 4/5] test_plans/inline_ipsec_test_plan:add print info for ipsec app Thread-Index: AQHWgAs0oQub6RP6hUafwDVIgU6q6alTTwJw Date: Tue, 1 Sep 2020 06:18:01 +0000 Message-ID: References: <20200901025517.9501-1-weix.xie@intel.com> <20200901025517.9501-5-weix.xie@intel.com> In-Reply-To: <20200901025517.9501-5-weix.xie@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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.55.46.46] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: aa01ff61-4f9f-42c9-b2c3-08d84e3ec7a0 x-ms-traffictypediagnostic: MN2PR11MB4597: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:651; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hR64jaDNEiepGgkKJOHr5tJhoPuyMAIG8N0gigM2N5xB5K+fIC94EVVWhMwvo1c53oT4gYKc+DDbh7crj/Z5T89yK8/tkYM1+cPkBc4peycnkINZXNPqD8pBrd0aOWx4oYukxFDRPz4CMO7j6ervA/TXvKusEdwNkT2hLTaxfdAIDaSys9MhTqnpst1UEl4zKiCXi+Mesatp/2J77RyQ+QJRTKIobUqJFCMUfww+v1K+uiQoiinoj7FqbPXGuJwdUEQZz+xQ8xTdLM60qKTYpi8X0tKe84eQ6NKSY6JO3cDnUaGm+T219MqFwK9xpfUKvZTKFPo7GhCMMcdrHq2kpQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR11MB3364.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(396003)(136003)(346002)(366004)(26005)(9686003)(52536014)(33656002)(53546011)(4326008)(6506007)(8936002)(5660300002)(76116006)(64756008)(478600001)(66446008)(66556008)(66946007)(66476007)(55016002)(186003)(71200400001)(86362001)(107886003)(7696005)(316002)(2906002)(83380400001)(110136005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: VRosHHyBhUVoR/9joRup0InKEeTT8cGLo4wQRlTOJB4iaGZDfM4jf57GCBAmnhJBrAfeex6Ks2LhHPjteWleLbs2iGK9bLecfyDNiTo8jO11xibSX3xIVbhCpexbFUS6c8wCqi98r1wZQxzZAvQ0kXehPh/808jlmcsAwq+8e8F+9xU4wXgZ10HFvO1EKKOKblh2n5Zezsxy7zDmcXHIt5tEhL+JbgAyRy7LeHsD8tp3l0rUXItWWImJ+pv34QKSlRrq42kJTojM9po7GbRAV/QenWwqtEmYk6eazVWZXIGDEtPRNEfgfN+Lw0pWgaaKvb5YqsNvY/itjE6gIE8mmHW8DAALq/UmzB65nMshWNmpkmbS62DMcUrhhBtT86fP5oupa+DMRznloGMeVFIG304YP810RWwoIjmXvplmjKgh/upiOAmuMCwNDG8IRmh3Y15dbjMy+ONwhxPxDsrsmKASifcX821+U75VIkOdLjxv1nwdBuaH3IpTrqS4UzqST1mmEzA4P8EJD/bEWV96ubRFGJ0sPgreM2ZmQehnY/52LqRlJcW9ev/jIkTvcSQpvZQFL21GIFIn92SYG72CkkFTXF6yr5agMLH7ByngmJu/EzRk/baDeT+TOHhUHSLVoL3dm9IE3VC8hKHlIsfKWQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL0PR11MB3364.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa01ff61-4f9f-42c9-b2c3-08d84e3ec7a0 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Sep 2020 06:18:01.5082 (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: lH5WF3S4A1qfKq23Reka6JhdaxegXVdUFlCEK5hCn2qMdvfNpy1GGRN3QsUaZfX9tqtxaWhPn2M0+NUtmxovtg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4597 X-OriginatorOrg: intel.com Subject: Re: [dts] [dts 4/5] test_plans/inline_ipsec_test_plan:add print info for ipsec app 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" Acked-by: Lin Xueqin > -----Original Message----- > From: dts On Behalf Of Xie wei > Sent: Tuesday, September 1, 2020 10:55 AM > To: dts@dpdk.org > Cc: Xie, WeiX > Subject: [dts] [dts 4/5] test_plans/inline_ipsec_test_plan:add print info= for > ipsec app >=20 > Signed-off-by: Xie wei > --- > test_plans/inline_ipsec_test_plan.rst | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) >=20 > diff --git a/test_plans/inline_ipsec_test_plan.rst > b/test_plans/inline_ipsec_test_plan.rst > index c37b229..3a26e18 100644 > --- a/test_plans/inline_ipsec_test_plan.rst > +++ b/test_plans/inline_ipsec_test_plan.rst > @@ -100,7 +100,15 @@ modprobe vfio-pci > This suite depend PyCryptodome,it provide authenticated encryption > modes(GCM) module dependences:cryptography (1.7.2), pycryptodome (3.4.7)= , > pycryptodomex (3.4.7), pycryptopp (0.6.0), scapy (2.3.3 or later) > - > + > +Add print code in IPSEC app:: > + > + sed -i -e 's/if (nb_rx > 0)/if (nb_rx > 0) {/g' -e '/\/\* dequeue > + and process completed crypto-ops \*\//i\\t\t\t}' -e > + '/process_pkts(qconf, pkts, nb_rx, > + portid);/i\\t\t\t\tprintf("[debug]receive %llu packet in > + rxqueueid=3D%llu\\n",(unsigned long long)nb_rx, (unsigned long > + long)queueid);' examples/ipsec-secgw/ipsec-secgw.c > + > +Re-compile examples/ipsec-secgw:: > + > + make -C examples/ipsec-secgw > + > Test Case: Inline cfg parsing > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > Create inline ipsec configuration file like below:: > -- > 2.17.1