DPDK usage discussions
 help / color / mirror / Atom feed
From: Nilanjana Basu <nilanjanabasu87@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Interface disappears after binding with DPDK igb_uio
Date: Mon, 14 Sep 2020 20:32:50 -0500	[thread overview]
Message-ID: <CALv4WycO2x21oWrOSO92EZhCKsmMqq4dD1L-Yjpb7+=G89=ntA@mail.gmail.com> (raw)

Hello,

I am trying to use DPDK on a IXGBE port, but whenever I bind the igb_uio
driver to this interface, the interface disappears from the system. DPDK
however shows the interface as attached. I also have the KNI module present
added to the system, as there are some previous threads that suggested that
the interface does not show up because igb_uio driver does not generate
netdev devices.

Following is the log of the operations:

1. `ifconfig` before binding:
enp3s0f0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether a0:36:9f:2d:d9:90  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 142934  bytes 63512875 (63.5 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 142934  bytes 63512875 (63.5 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

2. ./dpdk-devbind.py --status-dev net
Network devices using kernel driver
===================================
0000:02:00.0 '82576 Gigabit Network Connection 10c9' if=enp2s0f0 drv=igb
unused=igb_uio
0000:02:00.1 '82576 Gigabit Network Connection 10c9' if=enp2s0f1 drv=igb
unused=igb_uio
0000:03:00.0 'Ethernet Controller 10-Gigabit X540-AT2 1528' if=enp3s0f0
drv=ixgbe unused=igb_uio

3. ./dpdk-devbind.py -b igb_uio 0000:03:00.0

4. ./dpdk-devbind.py --status-dev net
Network devices using DPDK-compatible driver
============================================
0000:03:00.0 'Ethernet Controller 10-Gigabit X540-AT2 1528' drv=igb_uio
unused=ixgbe

Network devices using kernel driver
===================================
0000:02:00.0 '82576 Gigabit Network Connection 10c9' if=enp2s0f0 drv=igb
unused=igb_uio
0000:02:00.1 '82576 Gigabit Network Connection 10c9' if=enp2s0f1 drv=igb
unused=igb_uio

5. `ifconfig` after binding:
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 142934  bytes 63512875 (63.5 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 142934  bytes 63512875 (63.5 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Any help will be greatly appreciated.

                 reply	other threads:[~2020-10-02  7:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALv4WycO2x21oWrOSO92EZhCKsmMqq4dD1L-Yjpb7+=G89=ntA@mail.gmail.com' \
    --to=nilanjanabasu87@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).