From: "Fu, Weiyi (NSN - CN/Hangzhou)" <weiyi.fu@nsn.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] In DPDK 1.7.1, the link status of the interface using virtio driver is always down.
Date: Thu, 11 Dec 2014 07:57:04 +0000 [thread overview]
Message-ID: <2680B515A539A446ACBEC0EBBDEC3DF80E938312@SGSIMBX001.nsn-intra.net> (raw)
Hi,
We are using the l2fwd based on DPDK 1.7.1 and found out that the link status of the interface using virtio driver is always down.
Is there any precondition to let the link up?
# ./pci_unbind.py --status
Network devices using IGB_UIO driver
====================================
0000:00:04.0 'Virtio network device' drv=igb_uio unused=
0000:00:05.0 'Virtio network device' drv=igb_uio unused=
Network devices using kernel driver
===================================
0000:00:03.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio
Other network devices
=====================
<none>
[root@EIPU-0(KVMCluster) /root]
# /root/l2fwd -c 1 -n 1 -- -p 1
...
Port: 0 Link is DOWN
PMD: virtio_dev_start(): nb_queues=1
PMD: virtio_dev_start(): Notified backend at initialization
PMD: rte_eth_dev_config_restore: port 0: MAC address array not supported
PMD: rte_eth_promiscuous_disable: Function not supported
PMD: rte_eth_allmulticast_disable: Function not supported
done:
PMD: rte_eth_promiscuous_enable: Function not supported
Port 0, MAC address: FF:FF:00:00:00:00
Skipping disabled port 1
Checking link statusPMD: virtio_dev_link_update(): Get link status from hw
PMD: virtio_dev_link_update(): Port 0 is down
.PMD: virtio_dev_link_update(): Get link status from hw
PMD: virtio_dev_link_update(): Port 0 is down
.PMD: virtio_dev_link_update(): Get link status from hw
PMD: virtio_dev_link_update(): Port 0 is down
...
Brs,
Fu Weiyi
next reply other threads:[~2014-12-11 7:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-11 7:57 Fu, Weiyi (NSN - CN/Hangzhou) [this message]
2014-12-11 8:11 ` Ouyang, Changchun
2014-12-11 8:42 ` Fu, Weiyi (NSN - CN/Hangzhou)
2014-12-11 11:41 ` Fu, Weiyi (NSN - CN/Hangzhou)
2014-12-11 13:41 ` Vijayakumar Muthuvel Manickam
2014-12-12 1:00 ` Ouyang, Changchun
2014-12-12 1:57 ` Fu, Weiyi (NSN - CN/Hangzhou)
2014-12-15 2:55 ` Fu, Weiyi (NSN - CN/Hangzhou)
2014-12-15 3:25 ` Ouyang, Changchun
2014-12-15 7:00 ` Fu, Weiyi (NSN - CN/Hangzhou)
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=2680B515A539A446ACBEC0EBBDEC3DF80E938312@SGSIMBX001.nsn-intra.net \
--to=weiyi.fu@nsn.com \
--cc=dev@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).