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 D6402A0A0C; Thu, 22 Jul 2021 21:43:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C314840151; Thu, 22 Jul 2021 21:43:31 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id C393A4014E for ; Thu, 22 Jul 2021 21:43:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626983008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=o7v0sfkA/rZ0Km73QP/spUyy9h7J1TsoYdAxyeArB8U=; b=YYkY+glZlXVQczqZ0PPlqYMCiaUO7xItU6Z4O0dlh0+SAuhUfIIxyQohserzQEqgPBMU8l 3LAs+kwLnd5+Z6AMfLI96BfwABx5er3z8VsLfpbRl/9e1cOB1+pCgqRGOSvvDhb/osS+nx yVuYZ1DUSzjpWP+zyT5EVGk67HpAAY4= Received: from mail-vs1-f70.google.com (mail-vs1-f70.google.com [209.85.217.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-573-nIys_wRJNJaSzmepH-hL3w-1; Thu, 22 Jul 2021 15:43:27 -0400 X-MC-Unique: nIys_wRJNJaSzmepH-hL3w-1 Received: by mail-vs1-f70.google.com with SMTP id c18-20020a0561023a52b029029965ab3623so1759277vsu.1 for ; Thu, 22 Jul 2021 12:43:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=o7v0sfkA/rZ0Km73QP/spUyy9h7J1TsoYdAxyeArB8U=; b=qDSdjpHmwMwFabnOmyaud88YB+WkNv1bX9XVYNnsPjNeYlU/7soxkWDNgRkJECxm+D mT9apBW/Wm36WENtlgkwSkKlSTstqQdEHSSHaWvJI4O7cqkCPt/SM8Rqg//kVZZmurlK W6gtOmYShCcaXPChiiKyiB38BoMX3EwUsTi5Py/ho7dLNDAq0YBNPepGoYOhS+NrqnfH HJq4FoYdZHqwpPGuasrvCsVkGp7A/RlIH3AFOhMcigb6kpzETm2hwzKaWQdQLovZgaTN Rk5knivvnOljqYOovvZQvn7Ah9GzR4T/3GyQweTr2nVI3oE+az53ONIpxybKduWz9VUi saVA== X-Gm-Message-State: AOAM5315vtTIDw5iCurXtRJq7Z3q7g/QZYaE2x2s8Wf8NRWPcoY4zCua oqfZGM5N1YGseebrL6nQlUN+h7yPq7iz3msIR1ESXpYK7MGIjZgrqV8uv0Z2HCoGoAxl2g8Djja TvAvxETvpoFYjt9azwAE= X-Received: by 2002:ab0:7809:: with SMTP id x9mr2061195uaq.53.1626983007155; Thu, 22 Jul 2021 12:43:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCGuDtLxEnlCR/f2kIelzpNbTelihtYzAAPI6NWJo4uuZJd0k1bKQekzBd96Z1WdtFFrXr3YF/NhBbR1iixkI= X-Received: by 2002:ab0:7809:: with SMTP id x9mr2061161uaq.53.1626983006720; Thu, 22 Jul 2021 12:43:26 -0700 (PDT) MIME-Version: 1.0 References: <20210604144225.287678-1-andrew.rybchenko@oktetlabs.ru> <20210722095433.1898589-1-andrew.rybchenko@oktetlabs.ru> <20210722095433.1898589-12-andrew.rybchenko@oktetlabs.ru> In-Reply-To: <20210722095433.1898589-12-andrew.rybchenko@oktetlabs.ru> From: David Marchand Date: Thu, 22 Jul 2021 21:43:15 +0200 Message-ID: To: Andrew Rybchenko Cc: dev , Xiaoyun Li , Ivan Ilchenko Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 11/11] app/testpmd: add option to display extended statistics 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 Sender: "dev" On Thu, Jul 22, 2021 at 11:55 AM Andrew Rybchenko wrote: > > From: Ivan Ilchenko > > 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 > Signed-off-by: Andrew Rybchenko $ 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 : 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