From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9620F423B1; Thu, 12 Jan 2023 07:05:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74EBD40A7D; Thu, 12 Jan 2023 07:05:15 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 8DDCE400EF for ; Thu, 12 Jan 2023 07:05:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673503514; x=1705039514; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=erZJ8KyBp+3G8DIIoko89C+IWk6R+SEKsfn7v8rN5bM=; b=bn5z47yu+LdI3s9NV+O8EdVtYiN6QmerhkjoIaFnzzf0FsvFPH8s/4Mu KZ6DqLWEh/2tErFsiTgLAUuWnvAgoKMv5lzj683+w92G6WUehRhFiG7yl 8WNX+0DJzK+3nLVLMLvnpPX1SEaXsyJ/XGV017q3QZto3BDhPjzIaA9tU tyUtxHCFAwK5hE+qwd7RUqpDT0a+SvErM6viUHk7yiLxEAss7DhMijTjo ACel1eTsJk3GoeU0hXMPaFQDPmhCrjheYjD62Lj63Q5E5Ag+DpW+W9In4 Ypkq+Xyh0b717AepupQm4ZRTzpiOt4YxF0zMS0xp6Tl4+gcwKiahzQi4T A==; X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="409861183" X-IronPort-AV: E=Sophos;i="5.96,319,1665471600"; d="scan'208";a="409861183" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2023 22:05:13 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10586"; a="986406978" X-IronPort-AV: E=Sophos;i="5.96,319,1665471600"; d="scan'208";a="986406978" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2023 22:05:12 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1] tests/perf_test_base: add '--parse-ptype' parameter when test l3fwd with EM mode Date: Thu, 12 Jan 2023 13:55:52 +0800 Message-Id: <20230112055552.1312174-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 When test l3fwd with EM mode, need add with `--parse-ptype` in start dpdk-l3fwd command line or start dpdk-l3fwd will failed. Signed-off-by: Wei Ling --- tests/perf_test_base.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/perf_test_base.py b/tests/perf_test_base.py index 62d416cf..5c87163f 100644 --- a/tests/perf_test_base.py +++ b/tests/perf_test_base.py @@ -823,7 +823,11 @@ class PerfTestBase(object): command_line += " --rx-queue-size {rxtx} --tx-queue-size {rxtx}".format( rxtx=self.__rxtx_queue_size ) - if self.nic in suppored_nics or self.__mode is SUITE_TYPE.VF: + if ( + self.nic in suppored_nics + or self.__mode is SUITE_TYPE.VF + or mode == MATCH_MODE.EM + ): command_line += " --parse-ptype" if mode == MATCH_MODE.EM: # use exact mode -- 2.25.1