From: Kevin Traynor <ktraynor@redhat.com>
To: stable@dpdk.org
Cc: Wei Hu <xavier.huwei@huawei.com>, "Chen, BoX C" <box.c.chen@intel.com>
Subject: Re: [dpdk-stable] [PATCH 18.11] app/testpmd: fix xstats clear
Date: Wed, 16 Sep 2020 22:13:31 +0100 [thread overview]
Message-ID: <33f1a6cd-f99a-5e1b-7214-3bf8d5f80fd4@redhat.com> (raw)
In-Reply-To: <20200916095844.130917-1-ktraynor@redhat.com>
On 16/09/2020 10:58, Kevin Traynor wrote:
> rte_eth_xstats_reset() was mistakenly removed from
> nic_xstats_clear() in fixed commit during rebasing.
>
> This caused the xstats not be be cleared when
> 'clear port xstats all' was executed from the testpmd
> command line.
>
> Fix by adding back rte_eth_xstats_reset().
>
> Fixes: 3e64dd9f527d ("app/testpmd: fix stats error message")
>
> Cc: Wei Hu (Xavier) <xavier.huwei@huawei.com>
> Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
> ---
> app/test-pmd/config.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
> index 3b588e2042..3d854099d2 100644
> --- a/app/test-pmd/config.c
> +++ b/app/test-pmd/config.c
> @@ -319,4 +319,5 @@ nic_xstats_clear(portid_t port_id)
> return;
> }
> + rte_eth_xstats_reset(port_id);
>
> ret = rte_eth_stats_get(port_id, &ports[port_id].stats);
>
Tested and applied.
prev parent reply other threads:[~2020-09-16 21:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-16 9:58 Kevin Traynor
2020-09-16 21:13 ` Kevin Traynor [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33f1a6cd-f99a-5e1b-7214-3bf8d5f80fd4@redhat.com \
--to=ktraynor@redhat.com \
--cc=box.c.chen@intel.com \
--cc=stable@dpdk.org \
--cc=xavier.huwei@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).