From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by dpdk.org (Postfix) with ESMTP id 56AF2594B for ; Sun, 27 Sep 2015 09:05:13 +0200 (CEST) Received: by wicfx3 with SMTP id fx3so66852944wic.1 for ; Sun, 27 Sep 2015 00:05:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=pEWWrM3atNM0m1PT+eKLUsYTXYMMvJRqwSMZazE819k=; b=HkT6N1YYEbfTRz/pDhGK/Hilq7a96GBOyjwN4lqUMPIyPa0xU6MivngCOpNsvn9XVn B5WLpEXFX0NR9K05GyEJfM5zJaFMGmKwzrXbvSUA3VVuH36ilFuy+xKwPDUm44rmVah+ HAF56U10WJD6E3oSA4EWtP9ogFaPDPQYL7D8OnqQ5LKWCS81LfZOFWoHfpru218rdiYY +MJ4qDzs/fSXgJ+6Y6VZajgxXm0R3rS+styjFdknAoJkH9BlsovwmSnrGxvuKbSJB/Wo Mfe4z/YQ/GBHgFCA5+5EVC9C8KJvZj8bfi3w85JsQTPFTPOtGnGRsaNdw3CFnU0lBA0s GVeQ== X-Gm-Message-State: ALoCoQlE/ph7dnUCC4rKlv3ihi3LQ+DlTPUvFWX7TV1fV3vPlqbZVfEFgZbPxARtiT4XcBNC15ef X-Received: by 10.180.39.242 with SMTP id s18mr11330157wik.79.1443337513072; Sun, 27 Sep 2015 00:05:13 -0700 (PDT) Received: from [10.0.0.5] (bzq-109-65-137-47.red.bezeqint.net. [109.65.137.47]) by smtp.googlemail.com with ESMTPSA id s9sm11740003wjy.16.2015.09.27.00.05.12 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 27 Sep 2015 00:05:12 -0700 (PDT) To: "dev@dpdk.org" From: Vlad Zolotarov Message-ID: <56079527.3000802@cloudius-systems.com> Date: Sun, 27 Sep 2015 10:05:11 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "Michael S. Tsirkin" Subject: [dpdk-dev] Having troubles binding an SR-IOV VF to uio_pci_generic on Amazon instance X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 07:05:13 -0000 Hi, I was trying to use uio_pci_generic with Intel's 10G SR-IOV devices on Amazon EC2 instances with Enhanced Networking enabled. The idea is to create a DPDK environment that doesn't require compiling kernel modules (igb_uio). However I was surprised to discover that uio_pci_generic refuses to work with EN device on AWS: $ lspci 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02) 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] 00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01) 00:02.0 VGA compatible controller: Cirrus Logic GD 5446 00:03.0 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01) 00:04.0 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01) 00:1f.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01) $ sudo ./dpdk/tools/dpdk_nic_bind.py -b uio_pci_generic 00:04.0 Error: bind failed for 0000:00:04.0 - Cannot bind to driver uio_pci_generic $dmesg --> snip <--- [ 816.655575] uio_pci_generic 0000:00:04.0: No IRQ assigned to device: no support for interrupts? $ sudo lspci -s 00:04.0 -vvv 00:04.0 Ethernet controller: Intel Corporation 82599 Ethernet Controller Virtual Function (rev 01) Physical Slot: 4 Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- irq) { dev_warn(&pdev->dev, "No IRQ assigned to device: " "no support for interrupts?\n"); pci_disable_device(pdev); return -ENODEV; } Is it a known limitation? Michael, could u, pls., comment on this? thanks, vlad