[dpdk-users] [dpdk-user]How to connect network after I bind my NIC driver to igb_uio

hongzhen_luo at sina.com hongzhen_luo at sina.com
Thu Sep 8 07:46:20 CEST 2016


 Dear, everyone
               i am trying to run dpdk-app l2fwd , my test environment : 4core and my network status  as below informations

               Network devices using DPDK-compatible driver
               ============================================
               0000:02:05.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=
               0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=

               Network devices using kernel driver
               ===================================
               0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eno16777736 drv=e1000 unused=igb_uio *Active*

 The test result was :

              Port statistics ====================================
              Statistics for port 0 ------------------------------
              Packets sent:                        0
              Packets received:                    0
              Packets dropped:                     0
              Statistics for port 1 ------------------------------
              Packets sent:                        0
              Packets received:                    0
             Packets dropped:                     0
              Aggregate statistics ===============================
             Total packets sent:                  0
             Total packets received:              0
             Total packets dropped:               0
              ====================================================
 I can connect the network ,but there's nothing data was forwarded such as from eth 0 to eth 1 , then i tried to change the nic 0000:02:01.0 to "igb_uio"

 e.g.
Network devices using DPDK-compatible driver
============================================
0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=
0000:02:05.0 '82545EM Gigabit Ethernet Controller (Copper)' drv=igb_uio unused=

Network devices using kernel driver
===================================
0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper)' if=eno50332208 drv=e1000 unused=igb_uio *Active*

In this situation,Data was  forwarded ,but  i cannot connect Network.So it's not my expected
I want to my NIC(e.g.eth0) can be received data from network ,then forward to another NIC(e,g.eth1)
Please tell me what should i do ,if you know that ...
Expect you reply
Best Regards .




More information about the users mailing list