[dpdk-users] Enabling stats in pipeline applications

Heena Sirwani heena.sirwani at nevisnetworks.com
Thu Feb 8 15:11:04 CET 2018


    
     I had a similar issue. The problem turned out to be in configs.
Make sure the configuration changes are made in the target in $RTE_SDK/$RTE_TARGET/.config.
Either edit that config file for build local configs or remake target configuration by

make config T=$RTE_TARGET
-- Original Message --
 
From: sharanya k [ksharanya.97 at gmail.com]
To: [users at dpdk.org]
Date: Thu 08 February 2018 [6:45:13 PM]
Subject: [dpdk-users] Enabling stats in pipeline applications
Hi,
I am running an ip pipeline application in dpdk version 17.08.1
(stable). I can see the packets getting received and send through
Wireshark. But, I couldn't get the statistics in the pipeline app
using the following command.
pipeline> p 1 stats port in 0
Pipeline 1 - stats for input port 0:
Pkts in: 0
Pkts dropped by AH: 0
Pkts dropped by other: 0
pipeline> p 2 stats port in 0
Pipeline 2 - stats for input port 0:
Pkts in: 0
Pkts dropped by AH: 0
Pkts dropped by other: 0
pipeline> p 2 stats port out 0
Pipeline 2 - stats for output port 0:
Pkts in: 0
Pkts dropped by AH: 0
Pkts dropped by other: 0
I even enabled the following flags in dpdk/config/common_base and recompiled.
CONFIG_RTE_*_STATS_COLLECT=y
Still its not working.
Can you please help me to rectify this?
Regards,
Sharanya


More information about the users mailing list