From: <hongzhen_luo@sina.com>
To: "users" <users@dpdk.org>
Subject: [dpdk-users] [dpdk-user]How to connect network after I bind my NIC driver to igb_uio
Date: Thu, 08 Sep 2016 13:46:20 +0800 [thread overview]
Message-ID: <20160908054620.E66054C00D8@webmail.sinamail.sina.com.cn> (raw)
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 .
reply other threads:[~2016-09-08 5:46 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=20160908054620.E66054C00D8@webmail.sinamail.sina.com.cn \
--to=hongzhen_luo@sina.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).