From patchwork Tue Jun 21 05:58:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyuan Li X-Patchwork-Id: 113129 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C1878A0550; Tue, 21 Jun 2022 07:58:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BAD4041132; Tue, 21 Jun 2022 07:58:36 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id E3BA14069C for ; Tue, 21 Jun 2022 07:58:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655791114; x=1687327114; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lyzDjVmgJcoCoKLTyklE0tyIEE5kPgKD7zbbDT3ozBc=; b=hy8ieHFnjPaUTElT3p1jVQkFdCIS233lqLUJ/9H0WMilIEz9XHvuEbhI s4qI5mFBe9TpGtVogZcYAScKXVPm0MIeKGX7WsZz2i+sGd+3gpRwf50lq qmhPva7mg7GqACQH9sT8P1n08MU1dr9BT60iSzOrvq0LkVMsekYQVzerZ DTVmoEhLpcQsfEuXR8AIE2+E2xfrsZDf8lN0xmIP5HHT4oMd24UHahU3e rbnZHoUOr5muOquvOLD0kKqwog6PGV0sPQQbFmlnqTvtREig//DltwlYG 8nHcO2fUm8fr5hSdbKdlxmqu6ZFuy9Jz9ErUQWM/sQBNS6UKjvC+DA4ge A==; X-IronPort-AV: E=McAfee;i="6400,9594,10384"; a="341719386" X-IronPort-AV: E=Sophos;i="5.92,209,1650956400"; d="scan'208";a="341719386" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2022 22:58:32 -0700 X-IronPort-AV: E=Sophos;i="5.92,209,1650956400"; d="scan'208";a="591498997" Received: from shwdenpg560.ccr.corp.intel.com ([10.239.251.200]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2022 22:58:31 -0700 From: "Li, WeiyuanX" To: dts@dpdk.org, yuan.peng@intel.com Cc: Weiyuan li Subject: [dts][PATCH V4 2/3] conf/vf_pf_reset: add vf_pf_reset testsuite Date: Tue, 21 Jun 2022 13:58:11 +0800 Message-Id: <20220621055812.1315-2-weiyuanx.li@intel.com> X-Mailer: git-send-email 2.34.1.windows.1 In-Reply-To: <20220621055812.1315-1-weiyuanx.li@intel.com> References: <20220621055812.1315-1-weiyuanx.li@intel.com> MIME-Version: 1.0 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 From: Weiyuan li 1. Add new testsuite tests/TestSuite_vf_pf_reset.py. 2. Add vm configuration file for vf_pf_reset. Signed-off-by: Weiyuan li --- v2: -Modify license format. -Remove time.sleep. v3: -Add vf_pf_reset.cfg file. v4: -Add VLAN_tx_Restore to checklist does not support case for ice driver. -Add ice enable vf-vlan-pruning flag. conf/vf_pf_reset.cfg | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 conf/vf_pf_reset.cfg diff --git a/conf/vf_pf_reset.cfg b/conf/vf_pf_reset.cfg new file mode 100644 index 00000000..b47bac95 --- /dev/null +++ b/conf/vf_pf_reset.cfg @@ -0,0 +1,39 @@ +[vm0] +cpu = + model=host,number=4,cpupin=17 18 19 20 21 22 23; +mem = + #size=4096; + size=8192; +disk = + file=/home/image/ubuntu2004-5.img; +login = + user=root,password=tester; +net = + type=nic,opt_vlan=0; + type=user,opt_vlan=0; +qga = + enable=yes; +vnc = + displayNum=1; +daemon = + enable=yes; + +[vm1] +cpu = + model=host,number=4,cpupin=8 9 10 11 12 13 14 15; +mem = + #size=4096; + size=8192; +disk = + file=/home/image/ubuntu2004-6.img; +login = + user=root,password=tester; +net = + type=nic,opt_vlan=1; + type=user,opt_vlan=1; +qga = + enable=yes; +vnc = + displayNum=2; +daemon = + enable=yes;