From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 7DC47A00E6 for ; Tue, 14 May 2019 20:25:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 25D0F569B; Tue, 14 May 2019 20:25:46 +0200 (CEST) Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by dpdk.org (Postfix) with ESMTP id 29B98559A for ; Tue, 14 May 2019 20:25:44 +0200 (CEST) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4EIDux3156696 for ; Tue, 14 May 2019 14:25:43 -0400 Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.150]) by mx0b-001b2d01.pphosted.com with ESMTP id 2sfyqwgr4w-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 14 May 2019 14:25:42 -0400 Received: from localhost by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 14 May 2019 19:25:42 +0100 Received: from b03cxnp08028.gho.boulder.ibm.com (9.17.130.20) by e32.co.us.ibm.com (192.168.1.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 14 May 2019 19:25:40 +0100 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x4EIPdSr19661070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 May 2019 18:25:39 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F3F4DBE058; Tue, 14 May 2019 18:25:38 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C52F4BE053; Tue, 14 May 2019 18:25:38 +0000 (GMT) Received: from davids-mbp.usor.ibm.com (unknown [9.70.85.69]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Tue, 14 May 2019 18:25:38 +0000 (GMT) To: Yinan , dts@dpdk.org References: <20190514010907.44845-1-yinan.wang@intel.com> From: David Christensen Date: Tue, 14 May 2019 11:25:38 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190514010907.44845-1-yinan.wang@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19051418-0004-0000-0000-0000150E6CD5 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00011098; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000285; SDB=6.01203303; UDB=6.00631604; IPR=6.00984225; MB=3.00026887; MTD=3.00000008; XFM=3.00000015; UTC=2019-05-14 18:25:41 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19051418-0005-0000-0000-00008BA899D0 Message-Id: <0510ebbe-d9f8-a41b-5928-dce2a0910d8f@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-14_10:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905140124 Subject: Re: [dts] [PATCH v1] test_plans/pvp_qemu_multi_paths_port_restart:add test plan for pvp qemu multi-paths and port restart test 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" > +Test flow > +========= > + > +TG --> NIC --> Vhost --> Virtio--> Vhost --> NIC --> TG > + > +Test Case 1: pvp test with virtio 0.95 mergeable path > +===================================================== > + > +1. Bind one port to igb_uio, then launch testpmd by below command:: > + > + rm -rf vhost-net* > + ./testpmd -c 0xe -n 4 --socket-mem 1024,1024 \ > + --vdev 'eth_vhost0,iface=vhost-net,queues=1' -- \ > + -i --nb-cores=1 --txd=1024 --rxd=1024 > + testpmd>set fwd mac > + testpmd>start > + > +2. Launch VM with mrg_rxbuf feature on:: > + > + qemu-system-x86_64 -name vm2 -enable-kvm -cpu host -smp 2 -m 4096 \ > + -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \ > + -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu16.img \ > + -chardev socket,path=/tmp/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \ > + -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \ > + -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,vlan=2,macaddr=00:00:00:08:e8:aa,addr=1f \ > + -net user,vlan=2,hostfwd=tcp:127.0.0.1:6002-:22 \ > + -chardev socket,id=char0,path=./vhost-net \ > + -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \ > + -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,mrg_rxbuf=on,rx_queue_size=1024,tx_queue_size=1024 \ > + -vnc :10 > + > +3. On VM, bind virtio net to igb_uio and run testpmd:: > + > + ./testpmd -c 0x3 -n 3 -- -i \ > + --nb-cores=1 --txd=1024 --rxd=1024 > + testpmd>set fwd mac > + testpmd>start I'm a little confused about your test descriptions in the PVP cases. You seem to document the "Vhost --> Virtio--> Vhost" part of the flow only, I don't see how traffic enters of leaves the system without the physical NICs. Could you add some more context on the whole system setup? Dave