From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 6C954C49E for ; Thu, 18 Jun 2015 05:07:13 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 17 Jun 2015 20:07:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,636,1427785200"; d="scan'208";a="729661380" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga001.fm.intel.com with ESMTP; 17 Jun 2015 20:07:11 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t5I378Dv009086; Thu, 18 Jun 2015 11:07:08 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t5I376lm016945; Thu, 18 Jun 2015 11:07:08 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t5I376WB016941; Thu, 18 Jun 2015 11:07:06 +0800 From: Yong Liu To: dts@dpdk.org Date: Thu, 18 Jun 2015 11:06:44 +0800 Message-Id: <1434596804-16846-10-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1434596804-16846-1-git-send-email-yong.liu@intel.com> References: <1434596804-16846-1-git-send-email-yong.liu@intel.com> Subject: [dts] [dts 9/9] Add three typical virtual scenario configuration files 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: , X-List-Received-Date: Thu, 18 Jun 2015 03:07:14 -0000 From: Marvin Liu pf_passthrough.cfg for two pf devices pass-through into vm scene. vf_passthrough for vf devices pass-through into vm. This two vfs created on two pfs. vf_passthrough_1 for vf devices pass-through into vm. This two vfs created on same pf devices. Signed-off-by: Marvin Liu diff --git a/conf/scene/pf_passthrough.cfg b/conf/scene/pf_passthrough.cfg new file mode 100644 index 0000000..91b5eaf --- /dev/null +++ b/conf/scene/pf_passthrough.cfg @@ -0,0 +1,25 @@ +# vm configuration for pf passthrough cases +# numa 0,1,yes yes mean cpu numa match the first port +# skipcores list mean those core will not used by vm +# dut=vm_dut; mean vm_dut act as dut +# dut=dut; mean host dut act as dut +# portmap=cfg; mean vm_dut port map will be load from cfg +# portmap=auto; mean vm_dut will create portmap automatically +# devices = dev_gen/host/dev_gen+host not useful now +[scene] +suite = + dut=vm_dut,portmap=auto; + tester=tester; + type=kvm; +[vm] +cpu = + model=host,number=4,numa_aware=yes; +mem = + size=2048,hugepage=no; +disk = + file=/storage/vm-image/vm0.img; +device = + pf_idx=0,guestpci=auto; + pf_idx=1,guestpci=auto; +vnc = + displayNum=1; diff --git a/conf/scene/vf_passthrough.cfg b/conf/scene/vf_passthrough.cfg new file mode 100644 index 0000000..aa5493d --- /dev/null +++ b/conf/scene/vf_passthrough.cfg @@ -0,0 +1,28 @@ +# vm configuration for vf passthrough cases +# numa 0,1,yes yes mean cpu numa match the first port +# skipcores list mean those core will not used by vm +# dut=vm_dut; mean vm_dut act as dut +# dut=dut; mean host dut act as dut +# portmap=cfg; mean vm_dut port map will be load from cfg +# portmap=auto; mean vm_dut will create portmap automatically +# devices = dev_gen/host/dev_gen+host not useful now +[scene] +suite = + dut=vm_dut,portmap=auto; + tester=tester; + type=kvm; +[vm0] +cpu = + model=host,number=4,numa=auto,skipcores=0 1 2 3; +mem = + size=2048,hugepage=no; +disk = + file=/storage/vm-image/vm0.img; +dev_gen = + pf_idx=0,vf_num=2,driver=default; + pf_idx=1,vf_num=2,driver=default; +device = + vf_idx=0,pf_dev=0,guestpci=auto; + vf_idx=0,pf_dev=1,guestpci=auto; +vnc = + displayNum=1; diff --git a/conf/scene/vf_passthrough_1.cfg b/conf/scene/vf_passthrough_1.cfg new file mode 100644 index 0000000..afd760a --- /dev/null +++ b/conf/scene/vf_passthrough_1.cfg @@ -0,0 +1,27 @@ +# vm configuration for vf passthrough cases +# numa 0,1,yes yes mean cpu numa match the first port +# skipcores list mean those core will not used by vm +# dut=vm_dut; mean vm_dut act as dut +# dut=dut; mean host dut act as dut +# portmap=cfg; mean vm_dut port map will be load from cfg +# portmap=auto; mean vm_dut will create portmap automatically +# devices = dev_gen/host/dev_gen+host not useful now +[scene] +suite = + dut=vm_dut,portmap=auto; + tester=tester; + type=kvm; +[vm0] +cpu = + model=host,number=4,numa=auto,skipcores=0 1 2 3; +mem = + size=2048,hugepage=no; +disk = + file=/storage/vm-image/vm0.img; +dev_gen = + pf_idx=0,vf_num=2,driver=default; +device = + vf_idx=0,pf_dev=0,guestpci=auto; + vf_idx=1,pf_dev=0,guestpci=auto; +vnc = + displayNum=1; -- 1.9.3