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 88F07A04AC; Tue, 1 Sep 2020 04:54:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 807A91C0DC; Tue, 1 Sep 2020 04:54:03 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id EBDA01C0D0 for ; Tue, 1 Sep 2020 04:54:01 +0200 (CEST) IronPort-SDR: MGZgqKEus1gELqCy3m732nuC2CimMFrWcQIvahLuTDr3VEt1slA6WXV92vw/OWcrdAZxGmr+6/ f0rkLHHuf5Og== X-IronPort-AV: E=McAfee;i="6000,8403,9730"; a="157097128" X-IronPort-AV: E=Sophos;i="5.76,377,1592895600"; d="scan'208";a="157097128" 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:54:01 -0700 IronPort-SDR: JmzeiIIBZKlSnQas8b4HJTbGQe9IaD7i4Y6BMNg7gXjp9qDyumwpxLIDdFp+qggiTcDCJtBn4m 5jsK7xxlJI6w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,377,1592895600"; d="scan'208";a="333562674" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga002.fm.intel.com with ESMTP; 31 Aug 2020 19:54:00 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Tue, 1 Sep 2020 10:55:17 +0800 Message-Id: <20200901025517.9501-6-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 5/5] test_plans/ptype_mapping_test_plan:add print info to testpmd 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/ptype_mapping_test_plan.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test_plans/ptype_mapping_test_plan.rst b/test_plans/ptype_mapping_test_plan.rst index 04ea481..d157b67 100644 --- a/test_plans/ptype_mapping_test_plan.rst +++ b/test_plans/ptype_mapping_test_plan.rst @@ -55,6 +55,10 @@ user applications. Prerequisites ============= +Add print info to testpmd for case:: + + sed -i -e '/printf(\" - VLAN tci=0x%x\", mb->vlan_tci);/a\\\\t\\tprintf(\" - pktype: 0x%x\", mb->packet_type);' app/test-pmd/util.c + Start testpmd, enable rxonly and verbose mode:: ./testpmd -c f -n 4 -- -i --port-topology=chained -- 2.17.1