From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omr2.cc.vt.edu (outbound.smtp.vt.edu [198.82.183.121]) by dpdk.org (Postfix) with ESMTP id E6BD7C372 for ; Fri, 20 May 2016 23:57:10 +0200 (CEST) Received: from mr6.cc.vt.edu (mr6.cc.ipv6.vt.edu [IPv6:2001:468:c80:2105:0:250:3bcb:5b17]) by omr2.cc.vt.edu (8.14.4/8.14.4) with ESMTP id u4KLvAg5020360 for ; Fri, 20 May 2016 17:57:10 -0400 Received: from mail-yw0-f199.google.com (mail-yw0-f199.google.com [209.85.161.199]) by mr6.cc.vt.edu (8.14.4/8.14.4) with ESMTP id u4KLv4D0028278 for ; Fri, 20 May 2016 17:57:10 -0400 Received: by mail-yw0-f199.google.com with SMTP id r185so271119587ywf.3 for ; Fri, 20 May 2016 14:57:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=JNfDpMFLhctQ4sjFnQoStCF6u8p05QiQcwmglJaRkvg=; b=FJwtIrouR39GqP+PqDZPH/SB6x59QuwDsh8/q8cjLVd0RWnSLiyn5MOBnid/ctB8Xh 50eYOTOTD6wRFMqV7aPDnX+9+6/MgB+zFsmr3HOSAAe3d8BI1H4gJF6uX24hDsrRWcK2 ueeoM+UmIhL9dlfzNhKGAXo6kbBsRtlCblvjbwvNDg3WDGKQXN8oRK05nOLo4sAZaXBw YFxFM/3O6tdU0hCWpvLkr798pslL7pACthNwK5uJhr/JU/S9blvZ9Ww51eVVNlbr/NBi koO0LM0c9250cUVo99iEG6C65nQ1sKi8/iwa4dwnUxVuqOv0VpkknBuh8fYJiyJyy2wD 7b3A== X-Gm-Message-State: AOPr4FVSiu8ufH5oH5dUmDlY6WTylP8WMimwf2v5RLQVR/CLO+v6K52MgcFqosTmvprWRTU36fIQBG2cM1ekYUMCTXJ16IEAfeZE0sQtKjbiVOyTgIhqgr3+1K9BscUky97uTmBwTg/UYcnpj8tfXUhOnek= X-Received: by 10.31.49.78 with SMTP id x75mr3028373vkx.158.1463781424697; Fri, 20 May 2016 14:57:04 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.31.49.78 with SMTP id x75mr3028367vkx.158.1463781424448; Fri, 20 May 2016 14:57:04 -0700 (PDT) Received: by 10.31.191.82 with HTTP; Fri, 20 May 2016 14:57:04 -0700 (PDT) Date: Fri, 20 May 2016 17:57:04 -0400 Message-ID: From: Thomas Lazor To: users@dpdk.org X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mr6.cc.vt.edu Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] DPDK Problem Binding to Network Port X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 21:57:11 -0000 Hi, I am running into a problem when I bind the igb_uio driver to the network card. I am using dpdk 16.04 and my kernel version is 3.2.14. Using the setup script, I compiled the target library, inserted the igb_uio module, set up hugepages, and bound the igb_uio driver. $ ./tools/dpdk_nic_bind.py --status Network devices using DPDK-compatible driver ============================================ 0000:01:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' drv=igb_uio unused=uio_pci_generic Network devices using kernel driver =================================== 0000:01:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection' if=eth4 drv=ixgbe unused=igb_uio,uio_pci_generic 0000:06:00.0 'I350 Gigabit Network Connection' if=eth0 drv=igb unused=igb_uio,uio_pci_generic *Active* 0000:06:00.1 'I350 Gigabit Network Connection' if=eth1 drv=igb unused=igb_uio,uio_pci_generic Other network devices ===================== However, when I run ifconfig -a, I can no longer see the network card: $ ifconfig -a eth0 Link encap:Ethernet HWaddr 00:25:90:E1:83:24 inet addr:10.1.1.42 Bcast:10.1.1.255 Mask:255.255.255.0 inet6 addr: fe80::225:90ff:fee1:8324/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:7634 errors:0 dropped:72 overruns:0 frame:0 TX packets:4978 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1051991 (1.0 MiB) TX bytes:732247 (715.0 KiB) Memory:dfd20000-dfd40000 eth1 Link encap:Ethernet HWaddr 00:25:90:E1:83:25 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Memory:dfd00000-dfd20000 eth4 Link encap:Ethernet HWaddr 00:1B:21:A6:15:A1 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:54 errors:0 dropped:0 overruns:0 frame:0 TX packets:54 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3552 (3.4 KiB) TX bytes:3552 (3.4 KiB) mic0 Link encap:Ethernet HWaddr 4C:79:BA:30:01:59 inet addr:172.31.1.254 Bcast:172.31.1.255 Mask:255.255.255.0 inet6 addr: fe80::4e79:baff:fe30:159/64 Scope:Link UP BROADCAST RUNNING MTU:64512 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Why is this? I believe I should see a dpdk0 card when it is bound. When I unbind the card, it does show up if I run ifconfig. Many thanks, Thomas