From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from delivery.mailspamprotection.com (delivery.mailspamprotection.com [184.154.136.86]) by dpdk.org (Postfix) with ESMTP id D01651DBBC for ; Wed, 13 Jun 2018 21:14:28 +0200 (CEST) Received: from ns1.es18.siteground.eu ([37.60.250.193] helo=es18.siteground.eu) by se13.mailspamprotection.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1fTBDt-0002uK-87; Wed, 13 Jun 2018 14:14:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=filipjaniszewski.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=VvtTnn8QuziKk8m70/dQie3w9/DWGOMsxoVEjpOD0B4=; b=PSqBd8bxJ6g+Y3gSq76VWKJwQG N5dkBb96PVUeS2ge7PbIhGrqiLGbqYJxmhGET+eEqTmGCIo2NDWKdX09b98MW5WkI6nHYUDWemCVn phme2sOzf7vcXmx7QRWw0Lh9h3cX6hjOFqcJ994fmARIJc448mrRdFYpWrSGwYuMUdVfERjWdOK1C 2Ju1LrPhICsE4dQhuZO1KiBT1nxqxrKJmUAXiObc+KPPqQHUGLtX7JpytwTWMvllGSTwoaeWnYMIA TFwhW0wRdKyL6KfClyRZcMtnv1oGVWgvriVCRN65l8SxkZhOpc67t7GhOLXCumwI69Kg36+olMz2Q x6vMG5Lg==; Received: from [89.71.152.167] (port=39044 helo=localhost.localdomain) by es18.siteground.eu with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_34-9f6032f-XX) (envelope-from ) id 1fTBDr-0001bD-Do; Wed, 13 Jun 2018 21:14:23 +0200 To: Andrew Rybchenko , users@dpdk.org References: <8e8c477b-066f-f909-d678-6623464b51c0@filipjaniszewski.com> From: Filip Janiszewski Message-ID: Date: Wed, 13 Jun 2018 21:14:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=iso-8859-15 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: 37.60.250.193 X-SpamExperts-Domain: es18.siteground.eu X-SpamExperts-Username: 37.60.250.193 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=37.60.250.193@es18.siteground.eu X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.26) X-Recommended-Action: accept X-Filter-ID: EX5BVjFpneJeBchSMxfU5vNFX6UB6VEIUP41APE8ilZ602E9L7XzfQH6nu9C/Fh9KJzpNe6xgvOx q3u0UDjvO/HgfYHNbHMZNn8uVEcaq0gtOGveBDI86zo0ATJ2+LThwfAR21JxfhchZrH/xMjWfViF cK1u+w55fE9LDpWtvrggnmwGa+Kfnc+jVSxZgaOawfZZz/Frp6JYdlAVQ+5ma5n92PIKbcX5TpH6 UY9FcPmSbn0QXv376AeUG7xbSOmQYcbrYhTvIoK83lhdizE+x8Wty4HeSIXN6ZxwlaZBk2hHfyM3 0MC6yRJ1K3cT80cRYWXWdb3WrCI8GvHWJWw+gNNj2gH36xYASQ8MSpHHs0ThVqvgDnCZYPJFUbWN 2gaOUUN3qXnVtSFPlG7mqYXs/MCozJiPhkKcmPm/MRoYCz2FaqgcGzZnX+CJEzOKknaQz78Xrhgj TUn5sMQIm1FXCn2M56NQTHXUYMGv32pVQuy7ZiWqfsWHHYN6w2KmJ3YqZ66lhh3M+bth9ENpQs5T aW4pV/hLCLtIwPJ9XBizpkcefJXHc74ik7YBZhdPEu8BxTT4PI1vyiozin+Q9Z44jwEiRQv+PVjj wa+Z5RFCOMQ/LHHHTjZHWRlgy3rbU5DuqiGHTm16tI6mhvLo0sMzPKSvgyX9Z/acUiiOurqemc6y fXr4N/yTziizpvz0ReYubyZo9T9+osXr7c8mfhOUs7mXWSoGu7b2QuKHhM6Ao9n76lrauuQC+i1J EwUYTHqC/KisXy3mzcJy0aWTpFFLNYQgx8u+5r395zVEsy+Qn83Su4V0uFdos+XyMRrtb4AG4UTP E53LxTUdJs2On+rfxREVniihuDwEGDcmr6e3OPS6L1j4CwanOkRZ5vnO402UepXbhQACNRKbQ9Pk t9to/+5nZ+QAn/2QCa2TPjy28Ea2c/ZNLTVu7u5wuhL1YwrKIbtf63VNbf0lrvssY+k7AHVCCahK W18R6X0lQaGNeiBNgBypUDelHl9Kw081BeR1xmKTjw26T0wzhlsANDalvRqql+cEqsRXbgxpHH5L 3W3euJxtWAXoj5UW0Wnu0GwV9yu3PsN6rObOy/Hw4kluyF8oFBY1EcmN4tECRpwSq1msEzqBHmHt ykVeidtfDUrRWhQUKneJ4jw72gUgeUJstFXpnROqvk2nOTXXEsdFzqk= X-Report-Abuse-To: spam@quarantine1.mailspamprotection.com Subject: Re: [dpdk-users] Correct setup of sfc 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: , X-List-Received-Date: Wed, 13 Jun 2018 19:14:29 -0000 Hi Andrew, > PCI devices of Solarflare NIC should be bound to vfio, uio-pci-generic or > igb_uio (part of DPDK) module. In the case of Solarflare NICs, Linux > driver is > not required and not used in DPDK. > > So, you should load one of above modules (depending on your server > IOMMU configuration), push already created interfaces down and rebind > Solarflare PCI functions to the driver, something like: > > modprobe vfio-pci > ip link set enp101s0f0 down > ip link set enp101s0f1 down > dpdk-devbind.py --bind=vfio-pci 0000:65:00.0 0000:65:00.1 > > The above assumes that dpdk-devbind.py script is in PATH. > And start DPDK as you do before. > For some reason vfio-pci is refusing to bind the device: . root usertools : ./dpdk-devbind.py --bind=vfio_pci 0000:65:00.0 0000:65:00.1 Error: bind failed for 0000:65:00.0 - Cannot open /sys/bus/pci/drivers/vfio_pci/bind Error: bind failed for 0000:65:00.1 - Cannot open /sys/bus/pci/drivers/vfio_pci/bind . also: . root usertools : echo 0000:65:00.0 > /sys/bus/pci/drivers/vfio-pci/bind bash: echo: write error: No such device . In the kernel command line I've included 'iommu=pt intel_iommu=on', but still not working. Well I guess this is not a DPDK issue anymore. Thanks! > Regards, > Andrew. -- BR, Filip +48 666 369 823