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 64CF0A04AC; Tue, 1 Sep 2020 04:54:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 582BD1C0D8; Tue, 1 Sep 2020 04:54:01 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B82111C0D0 for ; Tue, 1 Sep 2020 04:53:59 +0200 (CEST) IronPort-SDR: ItzEkDhps7DpszEQCo70QutHlQp2lSZ5NYDc3WNals1/3p94xEjLY8WSdlt2YCHkXdSgl3Aq89 xlXC+A2pF6yg== X-IronPort-AV: E=McAfee;i="6000,8403,9730"; a="157097126" X-IronPort-AV: E=Sophos;i="5.76,377,1592895600"; d="scan'208";a="157097126" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2020 19:53:59 -0700 IronPort-SDR: 2lPWJ4B1umRVS8H6rNsmrX+eJK2X6BDviNeYHDsU/VoxTEa587OCF6UuoiVYqniGxk+7UPcNOG ++utju0jmb+g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,377,1592895600"; d="scan'208";a="333562658" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga002.fm.intel.com with ESMTP; 31 Aug 2020 19:53:58 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Tue, 1 Sep 2020 10:55:16 +0800 Message-Id: <20200901025517.9501-5-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200901025517.9501-1-weix.xie@intel.com> References: <20200901025517.9501-1-weix.xie@intel.com> Subject: [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" Signed-off-by: Xie wei --- test_plans/inline_ipsec_test_plan.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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=%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 ============================= Create inline ipsec configuration file like below:: -- 2.17.1