From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 623BCA0547; Fri, 12 Mar 2021 15:32:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 104CE16088A; Fri, 12 Mar 2021 15:32:49 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id C839E406FF for ; Fri, 12 Mar 2021 15:32:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615559567; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bOeQk4umE89PrPb2WAEPTERWiCOccUAkBFOwJwC4Jak=; b=OgEc3nxJA/i7tMQFMrTGOqrwyFdInMD6EgbeSjEbhxoYim7lyH+iDB6NckvERSM/qYTNNJ 8p4WI9enIUyLgH7pzODS1VKDXAhd4JqsdaQse39cV0G/FSSiTs/5y5awZqRrqCDvmXMO7d TN/SHzeabBF2FN6OevmbpgdNBiGFO8s= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-483-SYv6GS0IPHKOjp4BDx7N5g-1; Fri, 12 Mar 2021 09:32:45 -0500 X-MC-Unique: SYv6GS0IPHKOjp4BDx7N5g-1 Received: by mail-vk1-f197.google.com with SMTP id c69so7291629vke.14 for ; Fri, 12 Mar 2021 06:32:45 -0800 (PST) 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=bOeQk4umE89PrPb2WAEPTERWiCOccUAkBFOwJwC4Jak=; b=cYlnKYnXoPNxn+1+MrUjFUhuf9Xn8n71dPAXNx3wQa/a06421+YeInXYOj6NrlD24p pzXxrtGfOQo5oM8er/5H9W/I8tNNMx1izNKruxc2TzvcbPagdx6Y4TpTG87XZV/dB8yV 8n+ZyL9PrYeG6/asDiC+U2MQEn9HOoE+TgOhSIlpRDKoUP8Lzwh3TCdQWFFsBnPy30Lx mCsOUXnP5innVqjAsahoBFH9YhgWgBKmDiQfyGx+3Q8Vzgmhh2H580CW2KoQFox0Qf3H cl1WTbH9wSb7fJg8mnw8Rclo6U6S7gwKjVzzsP5ifOQas8pUFI4wN6JQf3uyOIisludQ /mtg== X-Gm-Message-State: AOAM530HETIHiyRi/j3slUny1PTOlVt4mb8PPSU1QzoxUH0vIP00Uolc 6UpcyQjOKNeXqF1dS4CQL+17FHKd/LrAxYbLlubzWtr+NwdHSCp9Z8NHY0eFJDepFWGe3hWEb1p yfc1FbabcDMPmjmT+LFQ= X-Received: by 2002:a9f:3628:: with SMTP id r37mr8438351uad.126.1615559564778; Fri, 12 Mar 2021 06:32:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzAaQbjkAJv18ipv/cToji2Uq8FrQCNoSyfX13ifAk6WLNPl2XrWIVhewMikZHkG8m/d0iSef7+c47tl0qyBPA= X-Received: by 2002:a9f:3628:: with SMTP id r37mr8438326uad.126.1615559564601; Fri, 12 Mar 2021 06:32:44 -0800 (PST) MIME-Version: 1.0 References: <1614797225-114594-1-git-send-email-huawei.xhw@alibaba-inc.com> <1615397790-16169-1-git-send-email-huawei.xhw@alibaba-inc.com> In-Reply-To: From: David Marchand Date: Fri, 12 Mar 2021 15:32:33 +0100 Message-ID: To: "Wang, Yinan" Cc: =?UTF-8?B?6LCi5Y2O5LyfKOatpOaXtuatpOWIu++8iQ==?= , "maxime.coquelin@redhat.com" , "Yigit, Ferruh" , "dev@dpdk.org" , "Burakov, Anatoly" , "xuemingl@nvidia.com" , "grive@u256.net" Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v11 0/2] support both PIO and MMIO BAR for legacy virito device X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hello, On Thu, Mar 11, 2021 at 12:55 PM Wang, Yinan wrote: > > Tested-by: Wang, Yinan > > Tested PVP case with virtio PMD assumes legacy device, VM with below kernel LTS versions, all pass except vfio-pci test blocked with kernel v4.4. > 5.10.0-051000-generic virtio-pmd test with vfio-pci/ igb_uio/uio_pci_generic all pass > 5.4.0-050400-generic virtio-pmd test with vfio-pci/ igb_uio/uio_pci_generic all pass > 4.19.179-0419179-generic virtio-pmd test with vfio-pci/ igb_uio/uio_pci_generic all pass > 4.9.260-0409260-generic virtio-pmd test with vfio-pci/ igb_uio/uio_pci_generic all pass > 4.4.260-0404260-generic virtio-pmd test with igb_uio/uio_pci_generic can pass ; vfio-pci blocked as fail to bind vfio-pci to virtio-pmd > > Error info: > root@vmubuntu2004:~/dpdk/usertools# ./dpdk-devbind.py -b vfio-pci 00:04.0 > lspci: Unable to load libkmod resources: error -12 > > root@vmubuntu2004:~/dpdk/usertools# dmesg > [ 161.553493] VFIO - User Level meta-driver version: 0.3 > [ 179.430529] vfio-pci: probe of 0000:00:04.0 failed with error -22 The vanilla stable 4.4 kernel does not support "No-IOMMU mode" for vfio. ae5515d66362 - Revert: "vfio: Include No-IOMMU mode" (5 years ago) So this behavior is expected if you were testing with no iommu in your virtual machine. Thanks for the tests! -- David Marchand