DPDK usage discussions
 help / color / mirror / Atom feed
From: "Ahmet Genç" <ahmet.genc@ulakhaberlesme.com.tr>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] dpdk-ring and ovs cannot running at the same time
Date: Wed, 31 Jul 2019 12:44:22 +0000	[thread overview]
Message-ID: <D1EE9A08-9DD2-4CC5-841E-04DA7F23C144@getmailspring.com> (raw)

Hello everyone,

We are trying to run ovs and dpdk at the same time, but whenever I try to run ring-client application, I got ovswitchd error. Somehow dpdk ring-client affects ovs and kill its process.
Does anyone have an idea?

I run ovs like
ovs-vsctl --no-wait init
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem="1024"
ovs-vsctl --no-wait set Open_vSwitch . other_config:pmd-cpu-mask="0x8"
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-extra=" --proc-type=primary"
.... and so on so forth, bridges ports etc.

this is ovs-vsctl show output:

e2fc7268-a7f2-4635-a8b6-aae3ec427c52
    Bridge br-ex
        Port "dpdk0"
            Interface "dpdk0"
                type: dpdk
                options: {dpdk-devargs="0000:03:00.0"}
        Port "dpdkr0"
            Interface "dpdkr0"
                type: dpdkr
        Port br-ex
            Interface br-ex
                type: internal
        Port "dpdk1"
            Interface "dpdk1"
                type: dpdk
                options: {dpdk-devargs="0000:04:00.0"}
        Port "dpdkr1"
            Interface "dpdkr1"
                type: dpdkr

and this is how I am run ring client while ovs is running:
  ./a.out -c 0x4 -n 4 --proc-type=secondary -- -n 0
This looks like running perfectly. The outpus are :

EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_30649_2caac94f158
EAL: Probing VFIO support...


EAL: Fail to recv reply for request /var/run/dpdk/rte/mp_socket:eal_vfio_mp_sync
EAL:   cannot request default container fd
EAL: VFIO support could not be initialized
APP: Finished Process Init.

Client process 0 handling packets
[Press Ctrl-C to quit ...]

and this is the error in syslog:

l 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00164|dpif_netdev|INFO|Core 3 on numa node 0 assigned port 'dpdkr0' rx queue 0 (measured processing cycles 0).
Jul 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00165|dpif_netdev|INFO|Core 3 on numa node 0 assigned port 'dpdkr1' rx queue 0 (measured processing cycles 0).
Jul 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00166|dpif_netdev|INFO|Core 3 on numa node 0 assigned port 'dpdk0' rx queue 0 (measured processing cycles 0).
Jul 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00167|dpif_netdev|INFO|Core 3 on numa node 0 assigned port 'dpdk1' rx queue 0 (measured processing cycles 0).
Jul 31 15:34:00 ulak ovs-vswitchd[1239]: ovs|00168|bridge|INFO|bridge br-ex: added interface dpdk1 on port 2
Jul 31 15:38:12 ulak a.out[30649]: EAL: Probing VFIO support...
Jul 31 15:38:12 ulak ovs-vswitchd[1239]: ovs|00001|dpdk|ERR|EAL: Cannot find action: eal_vfio_mp_sync
Jul 31 15:38:17 ulak a.out[30649]: EAL: Fail to recv reply for request /var/run/dpdk/rte/mp_socket:eal_vfio_mp_sync
Jul 31 15:38:17 ulak a.out[30649]: EAL:   cannot request default container fd
Jul 31 15:38:17 ulak a.out[30649]: EAL: VFIO support could not be initialized
Jul 31 15:38:17 ulak a.out[30649]: APP: Finished Process Init.
Jul 31 15:38:17 ulak kernel: [ 1899.696680] show_signal_msg: 9 callbacks suppressed
Jul 31 15:38:17 ulak kernel: [ 1899.696689] pmd10[1300]: segfault at 6e000000e3 ip 0000000000a96569 sp 00007fb239668030 error 6 in ovs-vswitchd[400000+16a1000]
Jul 31 15:38:17 ulak systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Jul 31 15:38:17 ulak systemd[1]: Started Process Core Dump (PID 30653/UID 0).
Jul 31 15:38:38 ulak systemd[1]: Started Session 3 of user ulak.




                 reply	other threads:[~2019-07-31 12:44 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=D1EE9A08-9DD2-4CC5-841E-04DA7F23C144@getmailspring.com \
    --to=ahmet.genc@ulakhaberlesme.com.tr \
    --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).