patches for DPDK stable branches
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Andrew Rybchenko <arybchenko@solarflare.com>
Cc: dev <dev@dpdk.org>, Wenzhuo Lu <wenzhuo.lu@intel.com>,
	 Jingjing Wu <jingjing.wu@intel.com>,
	"Iremonger, Bernard" <bernard.iremonger@intel.com>,
	 Rami Rosen <ramirose@gmail.com>,
	"Yigit, Ferruh" <ferruh.yigit@intel.com>,
	 dpdk stable <stable@dpdk.org>
Subject: Re: [dpdk-stable] [PATCH v4 1/4] app/testpmd: add missing newline when showing statistics
Date: Sat, 23 Mar 2019 20:12:33 +0100	[thread overview]
Message-ID: <CAJFAV8zHa9fNRuZvWHE2iqgYRBR6dGhieZyOJH-8kpR=Gb0H0w@mail.gmail.com> (raw)
In-Reply-To: <CAJFAV8ximhoQbcg5=pmM2-OiGqWPudL8A8X_Zq6dbX+wJvQc1g@mail.gmail.com>

On Fri, Mar 22, 2019 at 6:43 PM David Marchand <david.marchand@redhat.com>
wrote:

> On Fri, Mar 22, 2019 at 6:35 PM Andrew Rybchenko <
> arybchenko@solarflare.com> wrote:
>
>>
>> In fact bad Rx checksum counters follow and I think they should be in
>> this line.
>>
>> That's why there is no \n here from the very beginning.
>>
>> My fix for the bug (local) just add \n in else branch below.
>>
>
Just to be clear.

origin/master:
- iofwd engine:
  ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0
-------
  RX-packets: 121811360      TX-packets: 121811392      TX-dropped:
0               RX-bursts : 3806605 [100% of 32 pkts]
  TX-bursts : 3806606 [100% of 32 pkts]

- csum engine:
  ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0
-------
  RX-packets: 5467488        TX-packets: 5467520        TX-dropped:
0               RX- bad IP checksum: 0               Rx- bad L4 checksum:
0              Rx- bad outer L4 checksum: 0
  RX-bursts : 170859 [100% of 32 pkts]
  TX-bursts : 170860 [100% of 32 pkts]


So, as suggested, I added a printf("\n") in the else for the csum engine
block:

- iofwd engine:
  ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0
-------
  RX-packets: 259770560      TX-packets: 259770592      TX-dropped:
0
  RX-bursts : 8117830 [100% of 32 pkts]
  TX-bursts : 8117831 [100% of 32 pkts]

- csum engine:
  ------- Forward Stats for RX Port= 0/Queue= 0 -> TX Port= 1/Queue= 0
-------
  RX-packets: 7834016        TX-packets: 7834048        TX-dropped:
0               RX- bad IP checksum: 0               Rx- bad L4 checksum:
0              Rx- bad outer L4 checksum: 0
  RX-bursts : 244813 [100% of 32 pkts]
  TX-bursts : 244814 [100% of 32 pkts]


deal ?

-- 
David Marchand

  reply	other threads:[~2019-03-23 19:12 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1550158972-21895-1-git-send-email-david.marchand@redhat.com>
     [not found] ` <1552318522-18777-1-git-send-email-david.marchand@redhat.com>
2019-03-11 15:35   ` [dpdk-stable] [PATCH v2 1/4] app/testpmd: remove unused fwd_ctx field David Marchand
2019-03-19 18:29     ` Ferruh Yigit
     [not found]   ` <1553076154-3907-1-git-send-email-david.marchand@redhat.com>
2019-03-20 10:02     ` [dpdk-stable] [PATCH v3 1/4] app/testpmd: add missing newline when showing statistics David Marchand
2019-03-20 13:49       ` Andrew Rybchenko
2019-03-20 10:02     ` [dpdk-stable] [PATCH v3 2/4] app/testpmd: extend fwd statistics to 64bits David Marchand
2019-03-20 13:55       ` Andrew Rybchenko
2019-03-20 10:02     ` [dpdk-stable] [PATCH v3 3/4] app/testpmd: remove useless casts on statistics David Marchand
2019-03-20 13:58       ` Andrew Rybchenko
     [not found]     ` <1553261824-1881-1-git-send-email-david.marchand@redhat.com>
2019-03-22 13:37       ` [dpdk-stable] [PATCH v4 1/4] app/testpmd: add missing newline when showing statistics David Marchand
2019-03-22 17:03         ` [dpdk-stable] [dpdk-dev] " Maxime Coquelin
2019-03-22 17:17         ` Maxime Coquelin
2019-03-22 17:23           ` David Marchand
2019-03-22 17:31             ` Andrew Rybchenko
2019-03-22 17:35         ` [dpdk-stable] " Andrew Rybchenko
2019-03-22 17:43           ` David Marchand
2019-03-23 19:12             ` David Marchand [this message]
2019-03-25  6:34               ` [dpdk-stable] [dpdk-dev] " Andrew Rybchenko
2019-03-22 13:37       ` [dpdk-stable] [PATCH v4 2/4] app/testpmd: extend fwd statistics to 64bits David Marchand
2019-03-22 17:06         ` [dpdk-stable] [dpdk-dev] " Maxime Coquelin
2019-03-22 13:37       ` [dpdk-stable] [PATCH v4 3/4] app/testpmd: remove useless casts on statistics David Marchand
2019-03-22 17:11         ` [dpdk-stable] [dpdk-dev] " Maxime Coquelin
     [not found]       ` <1553503906-1508-1-git-send-email-david.marchand@redhat.com>
2019-03-25  8:51         ` [dpdk-stable] [PATCH v5 1/4] app/testpmd: add missing newline when showing statistics David Marchand
2019-03-25  8:55           ` Andrew Rybchenko
2019-03-25  8:51         ` [dpdk-stable] [PATCH v5 2/4] app/testpmd: extend fwd statistics to 64bits David Marchand
2019-03-25  8:51         ` [dpdk-stable] [PATCH v5 3/4] app/testpmd: remove useless casts on statistics David Marchand

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='CAJFAV8zHa9fNRuZvWHE2iqgYRBR6dGhieZyOJH-8kpR=Gb0H0w@mail.gmail.com' \
    --to=david.marchand@redhat.com \
    --cc=arybchenko@solarflare.com \
    --cc=bernard.iremonger@intel.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=jingjing.wu@intel.com \
    --cc=ramirose@gmail.com \
    --cc=stable@dpdk.org \
    --cc=wenzhuo.lu@intel.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).