* There is no packet count with testpmd (@dpdk-stable-22.11.1)
[not found] ` <20230116052623epcms1p4c38efc2fed9b8423948a1c46a8f5e8dc@epcms1p4>
@ 2023-01-16 5:29 ` 고명진
0 siblings, 0 replies; 2+ messages in thread
From: 고명진 @ 2023-01-16 5:29 UTC (permalink / raw)
To: users
[-- Attachment #1: Type: text/plain, Size: 4903 bytes --]
Hi Members,
I'm facing some problem with testpmd application in dpdk.
I'm trying to run the testpmd command on a linux.
But there is no packet counts.
What should I do? Please let me know....
For your understanding, I'll share my log
1. My environment
2. command dpdk-devbind
3. command testpmd
1. My environment
------------------------------------------------------------------------------------------------------------------------------------
[DPDK version]
mj@smallhoney:~/vRAN_project/dpdk-stable-22.11.1$ cat VERSION
22.11.1
[Ununtu version]
mj@smallhoney:~$ cat /etc/issue
Ubuntu 22.04 LTS
[Kernel version]
mj@smallhoney:~$ uname -r
5.15.0-57-generic
[Ethernet NIC]
mj@smallhoney:~$ lspci | grep Ethernet
06:00.0 Ethernet controller: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] (rev 02).
[NIC Driver]
mj@smallhoney:~$ sudo modinfo atlantic
filename: /lib/modules/5.15.0-57-generic/updates/drivers/net/ethernet/aquantia/atlantic/atlantic.ko
description: Marvell (Aquantia) Corporation(R) Network Driver
author: Marvell
version: 2.4.15.0
license: GPL v2
[Hugepage]
mj@smallhoney:~$ cat /proc/meminfo | grep Huge*
AnonHugePages: 0 kB
ShmemHugePages: 0 kB
FileHugePages: 0 kB
HugePages_Total: 6
HugePages_Free: 6
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 1048576 kB
Hugetlb: 6291456 kB
------------------------------------------------------------------------------------------------------------------------------------
2. dpdk-devbind
------------------------------------------------------------------------------------------------------------------------------------
mj@smallhoney:~/vRAN_project/dpdk-stable-22.11.1/usertools$ sudo ./dpdk-devbind.py -s
Network devices using DPDK-compatible driver
============================================
0000:06:00.0 'AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] 87b1' drv=igb_uio unused=atlantic,vfio-pci
------------------------------------------------------------------------------------------------------------------------------------
3. testpmd
------------------------------------------------------------------------------------------------------------------------------------
mj@smallhoney:~/vRAN_project/dpdk-stable-22.11.1/build/app$ sudo ./dpdk-testpmd -- -i --forward-mode=flowgen
EAL: Detected CPU lcores: 8
EAL: Detected NUMA nodes: 1
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Probe PCI driver: net_atlantic (1d6a:87b1) device: 0000:06:00.0 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
Interactive-mode selected
Set flowgen packet forwarding mode
Warning: NUMA should be configured manually by using --port-numa-config and --ring-numa-config parameters along with --numa.
testpmd: create a new mbuf pool <mb_pool_0>: n=203456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
Configuring Port 0 (socket 0)
Port 0: 00:30:93:10:47:87
Checking link statuses...
Done
testpmd>
Port 0: link state change event
testpmd> show port summary 0
Number of available ports: 1
Port MAC Address Name Driver Status Link
0 00:30:93:10:47:87 0000:06:00.0 net_atlantic up 1 Gbps
testpmd> start
flowgen packet forwarding - ports=1 - cores=1 - streams=1 - NUMA support enabled, MP allocation mode: native
Logical Core 1 (socket 0) forwards packets on 1 streams:
RX P=0/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
number of flows for port 0: 1024
flowgen packet forwarding packets/burst=32
packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
port 0: RX queue number: 1 Tx queue number: 1
Rx offloads=0x0 Tx offloads=0x0
RX queue: 0
RX desc=512 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
RX Offloads=0x0
TX queue: 0
TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX offloads=0x0 - TX RS bit threshold=0
testpmd> show port stats 0
######################## 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
############################################################################
------------------------------------------------------------------------------------------------------------------------------------
[-- Attachment #2.1: Type: text/html, Size: 18343 bytes --]
[-- Attachment #2.2: attach(2).gif --]
[-- Type: image/gif, Size: 13402 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread