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 0E5F8A034C for ; Thu, 28 Jul 2022 23:15:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B3C2E40151; Thu, 28 Jul 2022 23:15:18 +0200 (CEST) Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) by mails.dpdk.org (Postfix) with ESMTP id 363A94014F for ; Thu, 28 Jul 2022 23:15:18 +0200 (CEST) Received: by mail-ed1-f43.google.com with SMTP id o13so3731650edc.0 for ; Thu, 28 Jul 2022 14:15:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+9+A8r1Z1RfOog7pMl0v4IuLZTVzZ1T1ozFdvjsWA48=; b=h3xIgKNk91YxiBCoHa19wC0TeevNJhSBb4ZgOacADIsiUpwvH4SHQgDyp98KnQ0r57 2SI/s8ZUj7zogdzkl5NRybYVS/iK6HG3XKezt17O74DGN68qJkgCRzvo4YCnBUESfW3K PpdiKS99sps2r/MlIiIWij6PsfaRFdPRnaMLa0/KnjVdhz8dljX0r+hArWKbfNJkG/Ut PJXWtsI5CkY34yIgP9uK9iFbFy7r8DZEbtSPGNWj7m8LdMu9BVsO5bbi0Fb72fFYdV9b M27LrPzV+cVZFHZGtzs3UP/JTJ1Uh2t0l+/zq2W8ehimzHnI6ISKHi3QrIQ9pXhuOd+h FVlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+9+A8r1Z1RfOog7pMl0v4IuLZTVzZ1T1ozFdvjsWA48=; b=JmEctDsCzKxN2O2LJsNL9x9nfbR/pBo/H0IVsS4PUlNkP3uqxmPrDwVCcU7/Lvs3Hb TNK5Z+F6o58CqeCL9jAY9rx9vSZkIVRN/NK8anpalfDH1NlE2CO8Ly85JcZSabsQNWLZ ICT48QzgF19rbmvGtu4MjRNq1wmKbspL0UcGS/4yzPYzoK1PuQzqY4DinW+exlmL08/S SF7CabGhzT1K2GWbByVrTHTkN9QUpBPekgRj0vfswIJPv0T1f+de+9mavio/rOL5YVAy OWN7WJ3qZdDMIsYwz+fMrgeCddWziusOISfQ9K8Af94Wk55JTG6LfGZiaxtgoYZGjLI0 T7aQ== X-Gm-Message-State: AJIora8Pr++/Tb5JeuuiX/7jcaLaPZJKnSYdz6qXIyX3zipAqluw5Tk/ EuC9I6wHEL+JylA3IMeTG9sO8+SJJ1aaUw== X-Google-Smtp-Source: AGRyM1ud90Unvslz4ftzA3IlFB4cEwAAd1tY9AhsvkzUq0dGSZb3Mr9NChYrXVPGi+48zqvrbzwzRw== X-Received: by 2002:a05:6402:240a:b0:437:d2b6:3dde with SMTP id t10-20020a056402240a00b00437d2b63ddemr809935eda.62.1659042917653; Thu, 28 Jul 2022 14:15:17 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id l10-20020a1709060cca00b0072fd1e3d2basm808490ejh.201.2022.07.28.14.15.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 14:15:16 -0700 (PDT) Date: Thu, 28 Jul 2022 14:15:11 -0700 From: Stephen Hemminger To: IraM Cc: Thomas Monjalon , users@dpdk.org, John McNamara Subject: Re: OpenWRT Related Question Message-ID: <20220728141511.5f41e616@hermes.local> In-Reply-To: References: <2285895.BjyWNHgNrj@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Thu, 28 Jul 2022 17:06:18 -0400 IraM wrote: > Best I can tell is l2fwd is looking for vfio drivers, where only uio drivers are loaded. > > I tried binding VFIO drivers using > dpdk-devbind.py --bind=vfio-pci 0000:03:00.0 > > But it fails as follows: > Vfio-pci: probe of 0000:0b:00.0 failed with error -22 > Vfio-pci: probe of 0000:0b:00.0 failed with error -22 > Lspci: unable to load libkmod resources: error -12 > Error: bind failed for 0000:0b:00.0 - Cannot bind to driver vfio-pci: [Errno 19] No such device > Error: unbind failed for 0000:0b:00.0 - Cannot open /sysy/bus/pci/drivers//unbind: [Errno 13] Permission denied: '/sys/bus/pci/drivers//unbind' You need to run as root. Does VMWare have virtual IOMMU?