DPDK usage discussions
 help / color / mirror / Atom feed
From: Mona ElSaadawy <mona.elsaadawy@mail.mcgill.ca>
To: "ovs-dev@openvswitch.org" <ovs-dev@openvswitch.org>,
	"users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] Ping doesn't work with OVS-DPDK bridge with DPDK physical ports but ARPing works
Date: Tue, 4 Dec 2018 18:28:59 +0000	[thread overview]
Message-ID: <YTXPR0101MB2270B2BD9CEE75ED288D178FA3AF0@YTXPR0101MB2270.CANPRD01.PROD.OUTLOOK.COM> (raw)

Hi,

I'm trying to build up an OVS-DPDK bridge that should connect two different physical hosts. So I basically have three physical nodes, one is the traffic generator and one for the sink and the third physical host has the OVS-DPDK bridge that connect the two other nodes. I followed this tutorial to install DPDK and OVS with DPDK configuration http://docs.openvswitch.org/en/latest/intro/install/dpdk/ and followed the instructions in PHY-PHY in http://docs.openvswitch.org/en/latest/howto/dpdk/ to build up the intended setup.  To test this setup, I directly plugged the physical NICs of two communicating nodes into the DPDK physical interfaces of OVS-DPDK bridge at the third host. Then I tried to ping from one of the two communicating nodes to the other but it doesn't work though the ARPing is working . In addition, when I run dump-flows on the OVS-DPDK bridge, I can find the ping packets matched in their corresponding flows but can't received at the connected hosts and the ARP table of the OVS-DPDK bridge is empty. I tried to write the destination MAC address for each flow to ensure the delivery, but it doesn't  work either. I tried also to enable the flow negotiation and flow control for both the receiving and transmitting queues of the bridge DPDK ports by running:

ovs-vsctl set Interface <DPDK port  name> options:tx-flow-ctrl=true

ovs-vsctl set Interface <DPDK port  name> options:rx-flow-ctrl=true

ovs-vsctl set Interface <DPDK port  name> options:flow-ctrl-autoneg=true

It doesn't work.

I also enabled the IP forwarding in the both communicating nodes.

A thing to add. The two DPDK physical interfaces added to the OVS-DPDK bridge is on the same NIC and it's:
BCM57416 NetXtreme-E 10GBase. My system has 4 cores with hyper-threading and one socket. and here are my OVS and DPDK versions:

ovs-vswitchd --version
ovs-vswitchd (Open vSwitch) 2.10.90
DPDK 17.11.4

So can anyone please help in figuring out what is wrong in this setup?

Mona


Mona

                 reply	other threads:[~2018-12-04 18:29 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=YTXPR0101MB2270B2BD9CEE75ED288D178FA3AF0@YTXPR0101MB2270.CANPRD01.PROD.OUTLOOK.COM \
    --to=mona.elsaadawy@mail.mcgill.ca \
    --cc=ovs-dev@openvswitch.org \
    --cc=users@dpdk.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).