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 EF8D1A0093 for ; Thu, 21 May 2020 10:09:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A6C161D650; Thu, 21 May 2020 10:09:57 +0200 (CEST) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by dpdk.org (Postfix) with ESMTP id 5DFAF1D642 for ; Thu, 21 May 2020 10:09:56 +0200 (CEST) Received: by mail-wr1-f46.google.com with SMTP id e1so5754701wrt.5 for ; Thu, 21 May 2020 01:09:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3dAhIkf8Q9A9wHLEvNyBT+aw4uGkur4PnGRBy3M1BtQ=; b=FOklPFsW8swGqsqEDLpG12+60UmAa1kiaQgS9a5ESM7bOc1wZlXwjJc6n6vqEnkSg7 kr+noPPgDHU1auFhjZemS+dQPb29hghfVRi4bwF+UUoQ3DtebzMlkL1sPNLhLHitc11w lq4C5++Mjpwhk672wt506JMWBVYIuMnKmOc/LrJzhXM8vEZFy0KXEIc1rmWkyLpiOLod Yvugo0ZTmyIGm0ts9L35R7hhwsmP62D2WehKRg0vg2fN4g38cT0fHRDxWV2ZLGKKtwlz 5iShGveeT+RmbMfeSt//a8rCDIF0nSQuf9xT5hGRot/bu85a1GpMl6VvN870o91IJSNE 4mNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3dAhIkf8Q9A9wHLEvNyBT+aw4uGkur4PnGRBy3M1BtQ=; b=cbYSjJkot9L0r/u3GZlE3weIa53OQfhow+Z+Tw5kmPEZMee3a011epjyUPzfEUG6rX BNBLbLNF7SUh09PR4/70EdBLjTwnKAQ7c3ftEt7f5p2mLcdiCMVkyqsdpc8TxAw/U94L b58AESgDX/Vihm0lhEfCre2uwe1E6fcDLAcMeXOS0KHH3slryTCG8IkDSmg9laf/2zKN VtngcAmHMCeclVyQoAbyXNWZb8IYo1s7Gdo9Xf7/cp7waLoD/nIwiEpJC+RKRJZ2c2Jq 0cdGAIOK6WFc5G8DKCOiTyGK7P5VHV8QANWsHdPY6QlKUphPzg/BdSAJdzg9HVDKnTKg o7+A== X-Gm-Message-State: AOAM530Kc1Y4hxHdUMggZZMPOoQPYep5fptmaqYB1izxPods25fc0ngb zOTJRtnJ+lO77K0T7VICMuJqk8SXgSw41BRr4E4= X-Google-Smtp-Source: ABdhPJySnCHat+gbzxdFEOdbWSDH77A/bw3sgEs6nez9uX17i7aG/1I6MJPZ7wM2PWKdQ7FL6N/8XIrrSwCQfcYzL6U= X-Received: by 2002:adf:fdc1:: with SMTP id i1mr4163348wrs.0.1590048595920; Thu, 21 May 2020 01:09:55 -0700 (PDT) MIME-Version: 1.0 References: <20200506075456.140625fb@hermes.lan> In-Reply-To: From: Pavel Vajarov Date: Thu, 21 May 2020 11:09:42 +0300 Message-ID: To: Vincent Li Cc: dave seddon , Stephen Hemminger , users Content-Type: text/plain; charset="UTF-8" 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" > > 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. 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.