loopback_virtio_user_server_mode/Basic_test_for_packed_ring_server_mode: loopback throughput is zero
[email protected]
Reviewed-by Chenbo Xiahttps://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: [email protected]
Reporter: [email protected]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
Quoted 2 lines
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
Quoted 2 lines
set fwd mac
starttx_first32
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 <[email protected]> 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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
https://bugs.dpdk.org/show_bug.cgi?id=541
jiang,yu ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED--- Comment #13 from jiang,yu ([email protected]) ---
Pathset http://patches.dpdk.org/patch/82212/ has been merged into dpdk20.11-rc2 main branch
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.