DPDK patches and discussions
 help / color / mirror / Atom feed
From: "lifuqiong" <lifuqiong@cncloudsec.com>
To: <discuss@openvswitch.org>, <dev@openvswitch.org>, <dev@dpdk.org>
Subject: [dpdk-dev] DpdkVhostUser port config and state error in ovs 2.5 release version, Is this bug fixed?
Date: Tue, 31 May 2016 15:09:30 +0800	[thread overview]
Message-ID: <000901d1bb0b$60589ef0$2109dcd0$@cncloudsec.com> (raw)

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.

                 reply	other threads:[~2016-05-31  7:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='000901d1bb0b$60589ef0$2109dcd0$@cncloudsec.com' \
    --to=lifuqiong@cncloudsec.com \
    --cc=dev@dpdk.org \
    --cc=dev@openvswitch.org \
    --cc=discuss@openvswitch.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).