From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 8A0DC2B88; Wed, 22 Feb 2017 09:41:10 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP; 22 Feb 2017 00:41:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,193,1484035200"; d="scan'208";a="936751710" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by orsmga003.jf.intel.com with ESMTP; 22 Feb 2017 00:41:08 -0800 Date: Wed, 22 Feb 2017 16:43:23 +0800 From: Yuanhan Liu To: Priyanka Cc: "users@dpdk.org" , "dev@dpdk.org" , "mitaliyada@cse.iitb.ac.in" Message-ID: <20170222084323.GP18844@yliu-dev.sh.intel.com> References: <58AAC534.7000004@cse.iitb.ac.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58AAC534.7000004@cse.iitb.ac.in> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-users] [dpdk-dev] seg fault in InterVM communication using virtio X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 08:41:11 -0000 On Mon, Feb 20, 2017 at 04:00:12PM +0530, Priyanka wrote: > Hi All, > > We have 2 VM running on qemu-kvm hypervisor. We have provided vNIC to the > VMs using macvtap device and virtio as the device model in bridge mode. We > are running DPDK applications (udp client and server) on the VMs. We observe > that the inter-VM communication is not happening using drivers i.e igb_uio > and uio_pci_generic. We were able to communicate between the VMs properly > using SRIOV. But we were not getting performance as expected so we switched > to virtio. But using virtio the DPDK communication hangs after sending 128 > packets. We also observe a seg fault in the dmesg of the VM. > > Please provide us some guideline to do the inter-VM communication using > virtio. Are we correct if we are using rte_eth_tx/rx_burst to send and > receive packets from the vNIC. Would you provide more info, say how do you start the vm, and how do you run the dpdk apps? Providing all the commands that could reproduce your issue will be better. --yliu