All of lore.kernel.org
 help / color / mirror / Atom feed
* [ovs-discuss] 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-yBygre7rU0TnMu66kgdUjQ, dev-yBygre7rU0TnMu66kgdUjQ,
	dev-VfR2kkLFssw


[-- Attachment #1.1: Type: text/plain, Size: 869 bytes --]

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.


[-- Attachment #1.2: Type: text/html, Size: 4381 bytes --]

[-- Attachment #2: Type: text/plain, Size: 141 bytes --]

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

^ 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 [ovs-discuss] DpdkVhostUser port config and state error in ovs 2.5 release version, Is this bug fixed? lifuqiong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.