From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 12D3AA00C5 for ; Thu, 21 May 2020 18:31:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5BF4D1D70C; Thu, 21 May 2020 18:31:10 +0200 (CEST) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by dpdk.org (Postfix) with ESMTP id 028971D708 for ; Thu, 21 May 2020 18:31:08 +0200 (CEST) Received: by mail-pj1-f41.google.com with SMTP id cx22so3343498pjb.1 for ; Thu, 21 May 2020 09:31:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=Blk3bNgtVa2cHbI5PbpV6+LH/wJv21KXT8DFSlf8dRc=; b=Ix1JcQtyGRLjdRJBXIU2PBppv6ANBilZb5gKlyP4EhjNFib1Fvxkvhm9gqYQ5etTZi xnFffRbZkRRNKpldFNXZxePYvoVxosClwZFlRY1kvrojRLEoNL7TQ3GqTuJgtnzt1rOz p8nfqbP+AjmphchplIKsFHZgHa4Dm1MZA4koxaslGgt9U6mVpk1AhgSXzd3mQv98D2Dv WRbF8kdfab8tYKDyK0xbjvPaLw3Ij54GkbBR8aN53l5E4YSW+GA7H88yNiw47Yxc9/mH O67/sdNpangtaLr2dXjmNyiSQH/2/g/Fc0jfQDH3nwY7YDHw57lYmDN2dCxrV3H3Cpgd 8Opw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=Blk3bNgtVa2cHbI5PbpV6+LH/wJv21KXT8DFSlf8dRc=; b=NmCWc3vOX93UhfSTjrMRRgHfPbDPHclRb7AFZM0YSaYVk03ll1X98G0unF4Yf1/oWI U2n2tQHpH7Pa1NCI5QYtDyjTBnxisbBRWfBx8XWMu9JEf7st9gnE6/BnRfJ2y3r3KvZI gqkpo+DRDJivEWLiGsPdmV5/dGE78gI/HvlDGNvMmA8FVhG+YB2rKMAQKckO0xHyTrNs l5L58COoVaPSvK6dCpxy5rLkA2N0oepsRPUipbYqXDRh4Ne42wnfZ9uB4U3EWFFvVMRh e0Nf9SBT/UpgHm2DvfNaw4aFB7wb+CqlDBQiK8FBjxE5mul4mPDR7M8Udl5WYzxZ53Eg LFlg== X-Gm-Message-State: AOAM533zS6ZiXpM+3sYseE0ua4QtRMSODfDceOKPyl2L178gEtBQdrhz 3F5vEQbSlp8L0juH6qZ3FDc= X-Google-Smtp-Source: ABdhPJyg16wiYle1CtC3uGziwBaFdPxvtatRgr8ZGjz+6+6l0ZRuDhr3Xlr+3xStNQYOtPv7UWY3iw== X-Received: by 2002:a17:902:c194:: with SMTP id d20mr10879742pld.213.1590078667960; Thu, 21 May 2020 09:31:07 -0700 (PDT) Received: from sea-l-00003662.olympus.f5net.com (c-71-231-121-172.hsd1.wa.comcast.net. [71.231.121.172]) by smtp.gmail.com with ESMTPSA id l4sm4264594pgo.92.2020.05.21.09.31.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2020 09:31:07 -0700 (PDT) From: Vincent Li X-Google-Original-From: Vincent Li Date: Thu, 21 May 2020 09:31:05 -0700 (PDT) X-X-Sender: vli@sea-ml-00029224.olympus.f5net.com To: Pavel Vajarov cc: Vincent Li , dave seddon , Stephen Hemminger , users In-Reply-To: Message-ID: References: <20200506075456.140625fb@hermes.lan> User-Agent: Alpine 2.21 (OSX 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Peformance troubleshouting of TCP/IP stack over DPDK. 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: , Errors-To: users-bounces@dpdk.org Sender: "users" On Thu, 21 May 2020, Pavel Vajarov wrote: > I am curious how you get F-Stack working with KVM VM with SR-IOV. The > author of F-Stack mentioned F-Stack not tested working for KVM VM. I had > an issue report here: https://github.com/F-Stack/f-stack/issues/489 > > > Hi there, > > I asked our admin who setup the KVM for the tests. > He said that this parameter has been given to the QEMU: >  -device vfio-pci,host=af:00.2,id=hostdev0,bus=pci.0,addr=0x9 > > This is how the device configuration looks in the XML: > >       >       >        
>       >       >      
>     > > Here is how the things are seen from the guest machine: > 00:03.0 Ethernet controller: Red Hat, Inc. Virtio network device    <----- This device is used for SSH access to the server > 00:09.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)   <------ This is the 10Gpbs card used for the tests. this seems to be passing the PF to guest, not SR-IOV VF. I am wondering what happens if you use SR-IOV and pass VF to guest, you may run into same issue as I did. > > Network devices using DPDK-compatible driver > ============================================ > 0000:00:09.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' drv=igb_uio unused=i40e > > Network devices using kernel driver > =================================== > 0000:00:03.0 'Virtio network device 1000' if=ens3 drv=virtio-pci unused=igb_uio *Active* > > Hope that helps. > > Regards, > Pavel. > >