From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from demumfd002.nsn-inter.net (demumfd002.nsn-inter.net [93.183.12.31]) by dpdk.org (Postfix) with ESMTP id 483526A87 for ; Thu, 11 Dec 2014 08:58:42 +0100 (CET) Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd002.nsn-inter.net (8.14.3/8.14.3) with ESMTP id sBB7wfmA006497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 11 Dec 2014 07:58:41 GMT Received: from SGSIHTC003.nsn-intra.net ([10.159.225.20]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id sBB7uSxp001805 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 11 Dec 2014 08:58:41 +0100 Received: from SGSIHTC005.nsn-intra.net (10.159.225.22) by SGSIHTC003.nsn-intra.net (10.159.225.20) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 11 Dec 2014 15:57:05 +0800 Received: from SGSIMBX001.nsn-intra.net ([169.254.1.131]) by SGSIHTC005.nsn-intra.net ([10.159.225.22]) with mapi id 14.03.0195.001; Thu, 11 Dec 2014 15:57:04 +0800 From: "Fu, Weiyi (NSN - CN/Hangzhou)" To: "dev@dpdk.org" Thread-Topic: [dpdk-dev] In DPDK 1.7.1, the link status of the interface using virtio driver is always down. Thread-Index: AdAVGAyqYy44KGUjQTy/NjxEYje2gw== Date: Thu, 11 Dec 2014 07:57:04 +0000 Message-ID: <2680B515A539A446ACBEC0EBBDEC3DF80E938312@SGSIMBX001.nsn-intra.net> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.159.225.120] MIME-Version: 1.0 X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: clean X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate-size: 4876 X-purgate-ID: 151667::1418284721-0000677A-A737CA87/0/0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] In DPDK 1.7.1, the link status of the interface using virtio driver is always down. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2014 07:58:42 -0000 Hi, We are using the l2fwd based on DPDK 1.7.1 and found out that the link sta= tus 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:00:04.0 'Virtio network device' drv=3Digb_uio unused=3D 0000:00:05.0 'Virtio network device' drv=3Digb_uio unused=3D Network devices using kernel driver =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 0000:00:03.0 'Virtio network device' if=3D drv=3Dvirtio-pci unused=3Digb_ui= o Other network devices =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [root@EIPU-0(KVMCluster) /root] # /root/l2fwd -c 1 -n 1 -- -p 1 ... Port: 0 Link is DOWN PMD: virtio_dev_start(): nb_queues=3D1 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