From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1134-251.mail.aliyun.com (out1134-251.mail.aliyun.com [42.120.134.251]) by dpdk.org (Postfix) with ESMTP id BE9E5137C for ; Tue, 31 May 2016 09:09:33 +0200 (CEST) X-Alimail-AntiSpam: AC=CONTINUE; BC=0.0383307|-1; FP=0|0|0|0|0|-1|-1|-1; HT=e02c03284; MF=lifuqiong@cncloudsec.com; NM=1; PH=DS; RN=3; RT=3; SR=0; TI=SMTPD_----4sDT1a6_1464678570; Received: from lifuqiongPC(mailfrom:lifuqiong@cncloudsec.com ip:221.223.94.130) by smtp.aliyun-inc.com(10.147.41.143); Tue, 31 May 2016 15:09:30 +0800 From: "lifuqiong" To: , , Date: Tue, 31 May 2016 15:09:30 +0800 Message-ID: <000901d1bb0b$60589ef0$2109dcd0$@cncloudsec.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdG7CDRCq/xsn4mUT9evMwZS6Ktn7w== Content-Language: zh-cn X-Mailman-Approved-At: Wed, 01 Jun 2016 09:26:46 +0200 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] DpdkVhostUser port config and state error in ovs 2.5 release version, Is this bug fixed? 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: Tue, 31 May 2016 07:09:34 -0000 Hi, When creating a dpdkvhostuser port in ovs 2.5, when starting vm which connected to this port, using command "ovs-ofctl show br0", it will shows like this: 3(vhost-user-0): addr:00:00:00:00:00:00 config: PORT_DOWN state: LINK_DOWN speed: 0 Mbps now, 0 Mbps max the config and state are both wrong, is this bug fixed? If not fix this bug, when ovs is controlled by sdn controller like Floodlight, floodlight will check ovs's port using only config and state as follows: public boolean isEnabled() { return (!state.contains(OFPortState.LINK_DOWN) && !config.contains(OFPortConfig.PORT_DOWN)); } So, dpdkvhostuser port will be treated as not enabled and the packet-in message will drop which will cause the vm connected to dpdkvhostuer port can't communicate with other vms; Thank you.