DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1036] vhost primary and secondary process symmetric test meet issue
Date: Wed, 15 Jun 2022 11:42:47 +0000	[thread overview]
Message-ID: <bug-1036-3@http.bugs.dpdk.org/> (raw)

https://bugs.dpdk.org/show_bug.cgi?id=1036

            Bug ID: 1036
           Summary: vhost primary and secondary process symmetric test
                    meet issue
           Product: DPDK
           Version: 22.03
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: vhost/virtio
          Assignee: dev@dpdk.org
          Reporter: xingguang.he@intel.com
  Target Milestone: ---

Prerequisites
-------------
1. Compile symmetric_mp example application::
meson configure -Dexamples=multi_process/symmetric_mp
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc

Steps
-----
1. Launch vhost testpmd as primary process::

./x86_64-native-linuxapp-gcc/examples/dpdk-symmetric_mp -l 1 -n 4 \
--vdev 'net_vhost,iface=vhost-net,queues=2,client=1' \
--vdev 'net_vhost1,iface=vhost-net1,queues=2,client=1' \
--proc-type=auto -- -p 3 --num-procs=2 --proc-id=0

2. Launch vhost testpmd as secondary process::  

./x86_64-native-linuxapp-gcc/examples/dpdk-symmetric_mp -l 2 -n 4 \
--vdev 'net_vhost,iface=vhost-net,queues=2,client=1' \
--vdev 'net_vhost1,iface=vhost-net1,queues=2,client=1' \
--proc-type=auto -- -p 3 --num-procs=2 --proc-id=1

3. Launch virtio-user::
./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 7-8 --no-pci
--file-prefix=virtio1 \
--vdev=net_virtio_user1,mac=00:01:02:03:04:05,path=./vhost-net,queues=2,server=1,mrg_rxbuf=0,in_order=0
\
-- -i --nb-cores=1 --rxq=2 --txq=2 --txd=1024 --rxd=1024

when launch virtio-user:
VHOST_CONFIG: (0) device not found.

-- 
You are receiving this mail because:
You are the assignee for the bug.

                 reply	other threads:[~2022-06-15 11:42 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=bug-1036-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@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).