DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] DpdkVhostUser port config and state error in ovs 2.5 release version, Is this bug fixed?
@ 2016-05-31  7:09 lifuqiong
  0 siblings, 0 replies; only message in thread
From: lifuqiong @ 2016-05-31  7:09 UTC (permalink / raw)
  To: discuss, dev, dev

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-31  7:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-31  7:09 [dpdk-dev] DpdkVhostUser port config and state error in ovs 2.5 release version, Is this bug fixed? lifuqiong

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).