From patchwork Wed Dec 16 14:38:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 85221 X-Patchwork-Delegate: lijuan.tu@intel.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC826A09EF; Wed, 16 Dec 2020 07:43:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 837E82B83; Wed, 16 Dec 2020 07:43:14 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 654CA2142 for ; Wed, 16 Dec 2020 07:43:13 +0100 (CET) IronPort-SDR: 87Sut0IBVqZHBgTk++/iNvbt3VSnP8mwa5pyqDSNwyoivFlsx+ndwEvpYTPG4uZLLpg3pk/Y7J f4fweRQPoDbw== X-IronPort-AV: E=McAfee;i="6000,8403,9836"; a="162067356" X-IronPort-AV: E=Sophos;i="5.78,423,1599548400"; d="scan'208";a="162067356" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2020 22:43:11 -0800 IronPort-SDR: ycmaRKzeqZHBHEY6MKfVXl57wE7TZxRkS6wMxJNwm6RKRBC2FEfKUEOvu0OggHEi9Zki8hLl02 /3vUE2z0qNog== X-IronPort-AV: E=Sophos;i="5.78,423,1599548400"; d="scan'208";a="559627125" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2020 22:43:09 -0800 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 16 Dec 2020 22:38:41 +0800 Message-Id: <20201216143841.76017-1-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/l3fwd_base:vf test suite add --parse-ptype param when start l3fwd 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" vf test suite add --parse-ptype param when start l3fwd Signed-off-by: lingwei Tested-by: Wei Ling Acked-by: Haiyang Zhao --- tests/l3fwd_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py index 235ee278..9cbf0bc1 100644 --- a/tests/l3fwd_base.py +++ b/tests/l3fwd_base.py @@ -671,7 +671,7 @@ class L3fwdBase(object): 'whitelist': self.__l3fwd_white_list if self.__l3fwd_white_list else '', 'port_mask': utils.create_mask(self.__valports), 'config': config, }) - if self.nic in ["niantic", "columbiaville_100g", "columbiaville_25g", "columbiaville_25gx2"]: + if self.__mode is SUITE_TYPE.VF: command_line += " --parse-ptype" if frame_size > 1518: command_line += " --enable-jumbo --max-pkt-len %d" % frame_size