DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 541] [dpdk-20.11] loopback_virtio_user_server_mode/Basic_test_for_packed_ring_server_mode: loopback throughput is zero
@ 2020-09-24  5:20 bugzilla
  2020-11-05  9:31 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2020-09-24  5:20 UTC (permalink / raw)
  To: dev

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

            Bug ID: 541
           Summary: [dpdk-20.11]
                    loopback_virtio_user_server_mode/Basic_test_for_packed
                    _ring_server_mode: loopback throughput is zero
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: vhost/virtio
          Assignee: dev@dpdk.org
          Reporter: yux.jiang@intel.com
  Target Milestone: ---

DPDK version: 
    DPDK commit: 46697431adcba206fd5222361bc73c5cf9042a86
    DPDK Comment: test/ring: enhance debug info in failure cases
    DPDK Version: 20.11.0-rc0 

OS: Ubuntu20.04.1 LTS (Focal Fossa)/5.4.0-47-generic
Compiler: gcc version 9.3.0
Hardware platform: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz

Test Setup:
Steps to reproduce:
0, Build DPDK with meson & ninja
CC=gcc meson --werror -Denable_kmods=True  -Dlibdir=lib
-Dc_args='-DRTE_LIBRTE_PMD_PCAP=1' --default-library=static
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc -j 110


Test Case 1: Basic test for packed ring server mode
===================================================
1. Launch virtio-user as server mode::
    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 1-2 -n 4 --no-pci
--file-prefix=virtio \
   
--vdev=net_virtio_user0,mac=00:11:22:33:44:10,path=/tmp/sock0,server=1,queues=1,packed_vq=1
-- -i --rxq=1 --txq=1 --no-numa
    >set fwd mac
    >start

2. Launch vhost as client mode::
    ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 3-4 -n 4 --no-pci
--file-prefix=vhost \
    --vdev 'net_vhost0,iface=/tmp/sock0,client=1,queues=1' -- -i --rxq=1
--txq=1 --nb-cores=1
    >set fwd mac
    >start tx_first 32

3. Run below command to get throughput,verify the loopback throughput is not
zero::
    testpmd>show port stats all

Show the output from the previous commands:
      dut.10.240.183.214_vhost: show port stats all
      dut.10.240.183.214_vhost:

  ######################## NIC statistics for port 0  ########################
  RX-packets: 0          RX-missed: 0          RX-bytes:  0
  RX-errors: 0
  RX-nombuf:  0
  TX-packets: 0          TX-errors: 0          TX-bytes:  0

  Throughput (since last show)
  Rx-pps:            0          Rx-bps:            0
  Tx-pps:            0          Tx-bps:            0
  ############################################################################


[Expected result]
lookback throughput should not be zero.

[Bad commit] 
commit 57912824615fd7787a48a7b18e406614664b73f1 (HEAD -> 579128246)
Author: Maxime Coquelin <maxime.coquelin@redhat.com>
Date:   Wed Aug 5 16:45:15 2020 +0200

    net/virtio-user: support vhost status setting

    This patch adds support for VHOST_USER_SET_STATUS
    request. It is used to make the backend aware of
    Virtio devices status update.

    It is useful for the backend to know when the Virtio
    driver is done with the Virtio device configuration.

    Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
    Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
    Signed-off-by: Adrian Moreno <amorenoz@redhat.com>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-dev] [Bug 541] [dpdk-20.11] loopback_virtio_user_server_mode/Basic_test_for_packed_ring_server_mode: loopback throughput is zero
  2020-09-24  5:20 [dpdk-dev] [Bug 541] [dpdk-20.11] loopback_virtio_user_server_mode/Basic_test_for_packed_ring_server_mode: loopback throughput is zero bugzilla
@ 2020-11-05  9:31 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2020-11-05  9:31 UTC (permalink / raw)
  To: dev

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

jiang,yu (yux.jiang@intel.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from jiang,yu (yux.jiang@intel.com) ---
Pathset http://patches.dpdk.org/patch/82212/ has been merged into dpdk20.11-rc2
main branch

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-05  9:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24  5:20 [dpdk-dev] [Bug 541] [dpdk-20.11] loopback_virtio_user_server_mode/Basic_test_for_packed_ring_server_mode: loopback throughput is zero bugzilla
2020-11-05  9:31 ` bugzilla

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).