summaryrefslogtreecommitdiff
path: root/conf/scene
diff options
context:
space:
mode:
authorMarvin Liu <yong.liu@intel.com>2015-07-16 21:54:45 +0800
committerMarvin Liu <yong.liu@intel.com>2015-07-17 10:49:37 +0800
commitc6b0ce444074ad56c99c2526bf7dd709c4f2ef3d (patch)
tree25a19815b2206c465aa01cf65076a70ff1402bc1 /conf/scene
parentb6e3fc5ca562c086c3674071602b690191f8176a (diff)
Add dpdk host virtualization scenario configuration file
This configuration file defined one scenario that two host PF devices drived by dpdk and 2 generated VF devices pass-throughed in VM. Host dpdk application is testpmd and allocate first four cores for it. Signed-off-by: Marvin Liu <yong.liu@intel.com>
Diffstat (limited to 'conf/scene')
-rw-r--r--conf/scene/dpdk_vf_passthrough.cfg32
1 files changed, 32 insertions, 0 deletions
diff --git a/conf/scene/dpdk_vf_passthrough.cfg b/conf/scene/dpdk_vf_passthrough.cfg
new file mode 100644
index 0000000..2f3c008
--- /dev/null
+++ b/conf/scene/dpdk_vf_passthrough.cfg
@@ -0,0 +1,32 @@
+# vm configuration for host dpdk and vf passthrough cases
+# host application is testpmd and allocated lcore 0-3 for it
+# default target will be x86_64-native-linuxapp-gcc
+# 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=cfg;
+ tester=tester;
+ type=kvm;
+host =
+ dpdk=testpmd,cores=0 1 2 3,target=x86_64-native-linuxapp-gcc;
+[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=1,driver=igb_uio;
+ pf_idx=1,vf_num=1,driver=igb_uio;
+device =
+ vf_idx=0,pf_dev=0,guestpci=auto;
+ vf_idx=0,pf_dev=1,guestpci=auto;
+vnc =
+ displayNum=1;