On Thu, Jul 22, 2021 at 11:55 AM Andrew Rybchenko <[email protected]> wrote: > > From: Ivan Ilchenko <[email protected]> > > Add 'display-xstats' option for using in accompanying with Rx/Tx statistics > (i.e. 'stats-period' option or 'show port stats' interactive command) to > display specified list of extended statistics. > > Signed-off-by: Ivan Ilchenko <[email protected]> > Signed-off-by: Andrew Rybchenko <[email protected]>
$ build/app/dpdk-testpmd -c 3 --no-huge -m 20 -a 0:0.0 --vdev net_null1 --vdev net_null2 -- --no-mlockall --total-num-mbufs=2048 --stats-period 1 --display-xstats a, EAL: Detected 8 lcore(s) EAL: Detected 1 NUMA nodes EAL: Detected static linkage of DPDK EAL: Multi-process socket /run/user/114840/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' max names is 2 ^^^^^^^^^^^^^^ Useless printf debug. I can remove it when applying. testpmd: create a new mbuf pool <mb_pool_0>: n=2048, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 0) Port 0: 26:45:E7:40:23:6E Configuring Port 1 (socket 0) Port 1: BA:5B:47:48:E6:AC Checking link statuses... No xstat 'a' on port 0 - skip it No xstat 'a' on port 1 - skip it Done No xstat 'a' on port 0 - skip it No xstat 'a' on port 1 - skip it ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ xstats are resolved twice (at least?) per port. This is harmless afaics. Can you double check? No commandline core given, start packet forwarding io packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native -- David Marchand

