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 3EF37A04B6; Thu, 17 Sep 2020 08:53:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 771081D549; Thu, 17 Sep 2020 08:53:36 +0200 (CEST) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) by dpdk.org (Postfix) with ESMTP id AE4B51D547 for ; Thu, 17 Sep 2020 08:53:35 +0200 (CEST) Received: by mail-ot1-f49.google.com with SMTP id h17so965415otr.1 for ; Wed, 16 Sep 2020 23:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emumba-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=axlXb7VjG+RTTiyG1YIRO2kBvZyYpKBLBLUrOhuw9tY=; b=Sg1+OAa6RREP7kup61QTJgWTGFyAOW34elScrj8qFDMSQfiNNxN16Kl1C0lKexm5+y QAlFkJosUbiB5twAERMooydB5MBC1+zb1kxxNjAKObZ/jt40JXxW7+mK9isiXHOLGGQt inwIF2YbUejk3opqPSjsbF+xldQ3tJK+K+q5UTktClN8WAcKq0rmfkwvLZbID+LUWncu QiuDFjBSNIuQ0bAoF9Jv20TZUlUPVvURW6UY6nTmkaJDtfonLjYq6UDx29HtC6T9hMU9 JlCx/JqBlsr7CFHfXGYYm0IFvhlW1zi47Z+1C/hqYBQh7SSkvlQHnm6uymVWZ0OCzhK6 AzTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=axlXb7VjG+RTTiyG1YIRO2kBvZyYpKBLBLUrOhuw9tY=; b=VFvR/a23KmhS6V9zeqnPsl1f0Ka1ATpyQQ9EA4bg2haACkuDg3T+BS3GShY5HcO5pT FTWihFEltgODtC/eKqWydNmMxgT23UzXKXMc/Anhau2X6s0koUtyNQNcX999iTdNX30q 4oLK37nJ9Ym6v4ZaGqtNJT9GHBlwEdRq8/iGGEVGKWnqxBO0DSDxJlW4uVKavj8qk6aa q+Ll5v6JgOPd8IGnH5zMjfIIBjfPx+jgiLpH3DFsB1S//8I4buG3MDj/lpv4JM1sKd0B 6IBazDx9uwfK3MFBJ9jeN5yDyJSK5Dl1I2bmDg4iZ4PEWYPrSgeAZPebBkF+CAeA2rv8 uGhw== X-Gm-Message-State: AOAM53203lp7v0GT+GHZCFR6kypK2xU/KvWAlRkYn2SKscCYrdp3rpV9 2VeIVozva+jSnv49YR1WGG6vTGL0o8AAzlXgwtMTYUNiP/GCsilC X-Google-Smtp-Source: ABdhPJyGAbO7gzQHwc3RrkhAUZrorx6Rp187EOiMXpSXgMKoKd8UdqJSzrm5ZL15DUotrBQy2zad8KohsizdCrRBQYY= X-Received: by 2002:a05:6830:20d3:: with SMTP id z19mr18005848otq.210.1600325614662; Wed, 16 Sep 2020 23:53:34 -0700 (PDT) MIME-Version: 1.0 From: Sarosh Arif Date: Thu, 17 Sep 2020 11:52:58 +0500 Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: [dpdk-dev] unable to bind to vfio-pci X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" I have been trying to bind to vfio-pci using usertools/dpdk-devbind.py but am unable to do so. The reason behind this is that I am unable to write in /sys/bus/pci/drivers/vfio-pci/bind. Upon searching solutions I tried a couple of things such as setting iommu=pt and intel_iommu=on and ensured vt-d is enabled. Along with this I have made sure that the vfio-pci module is correctly loaded. I have also tried chmod 666 /sys/bus/pci/drivers/vfio-pci/bind So that I have permissions to write in this file. The error I get when I use usertools/dpdk-devbind.py to bind is this: Error: bind failed for 0000:b7:00.1 - Cannot bind to driver vfio-pci The details of 0000:b7:00.1 are as follows: Ethernet Connection X722 for 10GBASE-T 37d2' if=eno6 drv=i40e I have also unbinded The pci bridge to which 0000:b7:00.1 was connected. What more can be done to resolve this? Regards, Sarosh Arif