From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
by inbox.dpdk.org (Postfix) with ESMTP id D827742DF4;
Fri, 7 Jul 2023 09:41:57 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id 73CE3406B5;
Fri, 7 Jul 2023 09:41:57 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 0ED1240685
for ; Fri, 7 Jul 2023 09:41:57 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id DC17842DF5; Fri, 7 Jul 2023 09:41:56 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1261] [dpdk 23.07] the dpdk-testpmd (based on VF) 's
throughput is 0
Date: Fri, 07 Jul 2023 07:41:56 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: testpmd
X-Bugzilla-Version: 23.07
X-Bugzilla-Keywords:
X-Bugzilla-Severity: major
X-Bugzilla-Who: yanghliu@redhat.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
target_milestone
Message-ID:
Content-Type: multipart/alternative; boundary=16887157160.5E5fcBC.1394066
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
--16887157160.5E5fcBC.1394066
Date: Fri, 7 Jul 2023 09:41:56 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1261
Bug ID: 1261
Summary: [dpdk 23.07] the dpdk-testpmd (based on VF) 's
throughput is 0
Product: DPDK
Version: 23.07
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: testpmd
Assignee: dev@dpdk.org
Reporter: yanghliu@redhat.com
Target Milestone: ---
Description of problem:
start a dpdk-testpmd based on VF , do the Moongen Throughput tests, the
dpdk-testpmd throughput is 0=20
Version-Release number of selected component (if applicable):
host:
Ethernet Controller 10-Gigabit X540-AT2
5.14 kernel
How reproducible:
100%
Steps to Reproduce:
1. setup the host kernel option
# grubby --args=3D"iommu=3Dpt intel_iommu=3Don default_hugepagesz=3D1G"
--update-kernel=3D`grubby --default-kernel`=20
# reboot
2. setup hugepage number
# echo 20 >
/sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages
# echo 20 >
/sys/devices/system/node/node1/hugepages/hugepages-1048576kB/nr_hugepages
3. create VF and setup VF mac address
# /usr/sbin/ifconfig ens3f0 up
# echo 2 > /sys/bus/pci/devices/0000\:5e\:00.0/sriov_numvfs
# readlink /sys/bus/pci/devices/0000:5e:00.0/virtfn*
# ip link set enp94s0f0 vf 0 mac 88:66:da:5f:dd:02
# dpdk-devbind.py --bind=3Dvfio-pci 0000:5e:10.0
# /usr/sbin/ifconfig ens3f1 up
# echo 2 > /sys/bus/pci/devices/0000\:5e\:00.1/sriov_numvfs
# readlink /sys/bus/pci/devices/0000:5e:00.1/virtfn*
# ip link set enp94s0f1 vf 0 mac 88:66:da:5f:dd:03
# dpdk-devbind.py --bind=3Dvfio-pci 0000:5e:10.1
4. start a dpdk-testpmd on the host
# /usr/local/bin/dpdk-testpmd -l 2,4,6 -n 4 -- --nb-cores=3D2 -i --disable=
-rss
--rxd=3D512 --txd=3D512 --rxq=3D1 --txq=3D1=20
EAL: Detected CPU lcores: 64
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_ixgbe_vf (8086:1515) device: 0000:5e:10.0 (socke=
t 0)
EAL: Probe PCI driver: net_ixgbe_vf (8086:1515) device: 0000:5e:10.1 (socke=
t 0)
TELEMETRY: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool : n=3D163456, size=3D2176, socke=
t=3D0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Port 0: 88:66:DA:5F:DD:02
Configuring Port 1 (socket 0)
Port 1: 88:66:DA:5F:DD:03
Checking link statuses...
Done
testpmd> set fwd mac retry
Set mac packet forwarding mode with retry
testpmd> vlan set strip on 0
testpmd> vlan set strip on 1
testpmd> start
mac packet forwarding with retry - ports=3D2 - cores=3D2 - streams=3D2 - NU=
MA support
enabled, MP allocation mode: native
TX retry num: 64, delay between TX retries: 1us
Logical Core 4 (socket 0) forwards packets on 1 streams:
RX P=3D0/Q=3D0 (socket 0) -> TX P=3D1/Q=3D0 (socket 0) peer=3D02:00:00:00=
:00:01
Logical Core 6 (socket 0) forwards packets on 1 streams:
RX P=3D1/Q=3D0 (socket 0) -> TX P=3D0/Q=3D0 (socket 0) peer=3D02:00:00:00=
:00:00
mac packet forwarding with retry packets/burst=3D32
nb forwarding cores=3D2 - nb forwarding ports=3D2
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=3D0x1 Tx offloads=3D0x0
RX queue: 0
RX desc=3D512 - RX free threshold=3D32
RX threshold registers: pthresh=3D0 hthresh=3D0 wthresh=3D0
RX Offloads=3D0x1
TX queue: 0
TX desc=3D512 - TX free threshold=3D32
TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0
TX offloads=3D0x0 - TX RS bit threshold=3D32
port 1: RX queue number: 1 Tx queue number: 1
Rx offloads=3D0x1 Tx offloads=3D0x0
RX queue: 0
RX desc=3D512 - RX free threshold=3D32
RX threshold registers: pthresh=3D0 hthresh=3D0 wthresh=3D0
RX Offloads=3D0x1
TX queue: 0
TX desc=3D512 - TX free threshold=3D32
TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0
TX offloads=3D0x0 - TX RS bit threshold=3D32
5. Use Moongen to do the DPDK VF throughput tests
# ./build/MoonGen throughput.lua 88:66:da:5f:dd:02 88:66:da:5f:dd:03=20
6. check the dpdk-testpmd all ports' throughput=20
testpmd> show port stats all=20
######################## NIC statistics for port 0 #####################=
###
RX-packets: 511 RX-missed: 0 RX-bytes: 30660
RX-errors: 0
RX-nombuf: 0=20=20=20=20=20=20=20=20=20
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
#########################################################################=
###
######################## NIC statistics for port 1 #####################=
###
RX-packets: 511 RX-missed: 0 RX-bytes: 31208
RX-errors: 0
RX-nombuf: 0=20=20=20=20=20=20=20=20=20
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
#########################################################################=
###
# ./build/MoonGen throughput.lua 88:66:da:5f:dd:02 88:66:da:5f:dd:03=20
...
[Device: id=3D1] Received 88 packets with 15328 bytes payload (including CR=
C).
[Device: id=3D1] Received 0.000000 (StdDev 0.000000) Mpps, 0.000205 (StdDev
0.000728) MBit/s, 0.000228 (StdDev 0.000799) MBit/s wire rate on average.
loop count: 136345435 frames dropped: 8589762317 (100.0000%)
[Device: id=3D0] Received 74 packets with 12908 bytes payload (including CR=
C).
[Device: id=3D0] Received 0.000000 (StdDev 0.000000) Mpps, 0.000172 (StdDev
0.000661) MBit/s, 0.000192 (StdDev 0.000723) MBit/s wire rate on average.
loop count: 132644066 frames dropped: 8356576084 (100.0000%)
Finshed final validation of the maximum frame rate 0.00 (millions per secon=
d)
with a frame size of 64
Final validation failed
7. Repeat the above test with dpdk-21.11-2 , the dpdk-testpmd can forward
package successfully
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--16887157160.5E5fcBC.1394066
Date: Fri, 7 Jul 2023 09:41:56 +0200
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
Bug ID |
1261
|
Summary |
[dpdk 23.07] the dpdk-testpmd (based on VF) 's throughput is=
0
|
Product |
DPDK
|
Version |
23.07
|
Hardware |
x86
|
OS |
Linux
|
Status |
UNCONFIRMED
|
Severity |
major
|
Priority |
Normal
|
Component |
testpmd
|
Assignee |
dev@dpdk.org
|
Reporter |
yanghliu@redhat.com
|
Target Milestone |
---
|
You are receiving this mail because:
- You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
=
--16887157160.5E5fcBC.1394066--