From patchwork Wed Jul 5 10:53:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Huang, ZhiminX" X-Patchwork-Id: 129269 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 DAC6142DCC; Wed, 5 Jul 2023 04:39:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D64C242BFE; Wed, 5 Jul 2023 04:39:07 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 3828340A8B for ; Wed, 5 Jul 2023 04:39:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688524746; x=1720060746; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=XbY+FihGrRkNj5vx+mDN4VvqjVtxK0BGfJM/LukLNuo=; b=YFV5UoDIsbngkTbWJj8SV2tsIoy/Sb4jacuq8LbNTsgUexs0uFxnjN+N z596y68Im1QjyF8sL3EBEzgRvwl2b7wFzBu5DBI8ArCI4IapTesjh5YCK ZfNIA91Rf+xlcGIybbef+Zt6xQd4A8IwZ63XWUl6EQ6RXJ/qqEmtZKhJQ 0wWmzzpfe3bhokqE01+xlqsrbTsfchp/G9DKu4+AoIdQL9FtvrT+qz21p /3AjynkSMq/TBuQYvhB+B0PhXUpebrKQSdktBVw6acjLy9ko8jF9m9F5j Ld1WxpYC5ZHZvXo1hHxRsEqNuWGqsxBIZYeqXpoyw1YSF4OxsTR+KapNt A==; X-IronPort-AV: E=McAfee;i="6600,9927,10761"; a="342821752" X-IronPort-AV: E=Sophos;i="6.01,181,1684825200"; d="scan'208";a="342821752" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2023 19:38:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10761"; a="784364086" X-IronPort-AV: E=Sophos;i="6.01,181,1684825200"; d="scan'208";a="784364086" Received: from unknown (HELO localhost.localdomain) ([10.239.252.96]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2023 19:38:42 -0700 From: Zhimin Huang To: dts@dpdk.org Cc: Zhimin Huang Subject: [dts][PATCH V2 6/6] conf/*:add config file for new suites Date: Wed, 5 Jul 2023 10:53:44 +0000 Message-Id: <20230705105344.1031168-7-zhiminx.huang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230705105344.1031168-1-zhiminx.huang@intel.com> References: <20230705105344.1031168-1-zhiminx.huang@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 add config file for new test suites Signed-off-by: Zhimin Huang --- conf/ice_kernelpf_dcf.cfg | 106 ++++++++++++++++++++++++++++++++++++++ conf/kernelpf_vf.cfg | 106 ++++++++++++++++++++++++++++++++++++++ test_plans/index.rst | 2 + 3 files changed, 214 insertions(+) create mode 100644 conf/ice_kernelpf_dcf.cfg create mode 100644 conf/kernelpf_vf.cfg diff --git a/conf/ice_kernelpf_dcf.cfg b/conf/ice_kernelpf_dcf.cfg new file mode 100644 index 00000000..9254d676 --- /dev/null +++ b/conf/ice_kernelpf_dcf.cfg @@ -0,0 +1,106 @@ +# QEMU options +# name +# name: vm0 +# +# enable_kvm +# enable: [yes | no] +# +# cpu +# model: [host | core2duo | ...] +# usage: +# choose model value from the command +# qemu-system-x86_64 -cpu help +# number: '4' #number of vcpus +# cpupin: '3 4 5 6' # host cpu list +# +# mem +# size: 1024 +# +# disk +# file: /path/to/image/test.img +# +# net +# type: [nic | user | tap | bridge | ...] +# nic +# opt_vlan: 0 +# note: Default is 0. +# opt_macaddr: 00:00:00:00:01:01 +# note: if creating a nic, it`s better to specify a MAC, +# else it will get a random number. +# opt_model:["e1000" | "virtio" | "i82551" | ...] +# note: Default is e1000. +# opt_name: 'nic1' +# opt_addr: '' +# note: PCI cards only. +# opt_vectors: +# note: This option currently only affects virtio cards. +# user +# opt_vlan: 0 +# note: default is 0. +# opt_hostfwd: [tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport +# note: If not specified, it will be setted automatically. +# tap +# opt_vlan: 0 +# note: default is 0. +# opt_br: br0 +# note: if choosing tap, need to specify bridge name, +# else it will be br0. +# opt_script: QEMU_IFUP_PATH +# note: if not specified, default is self.QEMU_IFUP_PATH. +# opt_downscript: QEMU_IFDOWN_PATH +# note: if not specified, default is self.QEMU_IFDOWN_PATH. +# +# device +# driver: [pci-assign | virtio-net-pci | ...] +# pci-assign +# prop_host: 08:00.0 +# prop_addr: 00:00:00:00:01:02 +# virtio-net-pci +# prop_netdev: mynet1 +# prop_id: net1 +# prop_mac: 00:00:00:00:01:03 +# prop_bus: pci.0 +# prop_addr: 0x3 +# +# monitor +# port: 6061 +# note: if adding monitor to vm, need to specicy +# this port, else it will get a free port +# on the host machine. +# +# qga +# enable: [yes | no] +# +# serial_port +# enable: [yes | no] +# +# vnc +# displayNum: 1 +# note: you can choose a number not used on the host. +# +# daemon +# enable: 'yes' +# note: +# By default VM will start with the daemonize status. +# Not support starting it on the stdin now. + + +# vm configuration for pmd sriov case +[vm0] +cpu = + model=host,number=4,cpupin=5 6 7 8; +disk = + file=/home/image/ubuntu2204-0.img,opt_format=qcow2,opt_if=virtio,opt_index=0,opt_media=disk; +mem = + size=10240; +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; diff --git a/conf/kernelpf_vf.cfg b/conf/kernelpf_vf.cfg new file mode 100644 index 00000000..9254d676 --- /dev/null +++ b/conf/kernelpf_vf.cfg @@ -0,0 +1,106 @@ +# QEMU options +# name +# name: vm0 +# +# enable_kvm +# enable: [yes | no] +# +# cpu +# model: [host | core2duo | ...] +# usage: +# choose model value from the command +# qemu-system-x86_64 -cpu help +# number: '4' #number of vcpus +# cpupin: '3 4 5 6' # host cpu list +# +# mem +# size: 1024 +# +# disk +# file: /path/to/image/test.img +# +# net +# type: [nic | user | tap | bridge | ...] +# nic +# opt_vlan: 0 +# note: Default is 0. +# opt_macaddr: 00:00:00:00:01:01 +# note: if creating a nic, it`s better to specify a MAC, +# else it will get a random number. +# opt_model:["e1000" | "virtio" | "i82551" | ...] +# note: Default is e1000. +# opt_name: 'nic1' +# opt_addr: '' +# note: PCI cards only. +# opt_vectors: +# note: This option currently only affects virtio cards. +# user +# opt_vlan: 0 +# note: default is 0. +# opt_hostfwd: [tcp|udp]:[hostaddr]:hostport-[guestaddr]:guestport +# note: If not specified, it will be setted automatically. +# tap +# opt_vlan: 0 +# note: default is 0. +# opt_br: br0 +# note: if choosing tap, need to specify bridge name, +# else it will be br0. +# opt_script: QEMU_IFUP_PATH +# note: if not specified, default is self.QEMU_IFUP_PATH. +# opt_downscript: QEMU_IFDOWN_PATH +# note: if not specified, default is self.QEMU_IFDOWN_PATH. +# +# device +# driver: [pci-assign | virtio-net-pci | ...] +# pci-assign +# prop_host: 08:00.0 +# prop_addr: 00:00:00:00:01:02 +# virtio-net-pci +# prop_netdev: mynet1 +# prop_id: net1 +# prop_mac: 00:00:00:00:01:03 +# prop_bus: pci.0 +# prop_addr: 0x3 +# +# monitor +# port: 6061 +# note: if adding monitor to vm, need to specicy +# this port, else it will get a free port +# on the host machine. +# +# qga +# enable: [yes | no] +# +# serial_port +# enable: [yes | no] +# +# vnc +# displayNum: 1 +# note: you can choose a number not used on the host. +# +# daemon +# enable: 'yes' +# note: +# By default VM will start with the daemonize status. +# Not support starting it on the stdin now. + + +# vm configuration for pmd sriov case +[vm0] +cpu = + model=host,number=4,cpupin=5 6 7 8; +disk = + file=/home/image/ubuntu2204-0.img,opt_format=qcow2,opt_if=virtio,opt_index=0,opt_media=disk; +mem = + size=10240; +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; diff --git a/test_plans/index.rst b/test_plans/index.rst index 2ac4850d..e6646bb5 100644 --- a/test_plans/index.rst +++ b/test_plans/index.rst @@ -205,6 +205,8 @@ The following are the test plans for the DPDK DTS automated test system. vf_l3fwd_lpm_ipv4_rfc2544_kernelpf_test_plan vf_l3fwd_lpm_ipv6_kernelpf_test_plan kernelpf_iavf_test_plan + kernelpf_vf_test_plan + ice_kernelpf_dcf_test_plan vhost_multi_queue_qemu_test_plan vhost_qemu_mtu_test_plan vhost_user_live_migration_test_plan