DPDK patches and discussions
 help / color / mirror / Atom feed
From: Klaus Degner <kd@allegro-packets.com>
To: "Mcnamara, John" <john.mcnamara@intel.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] add rx and tx byte counter statistics for PCAP PMD
Date: Thu, 9 Jul 2015 17:14:41 +0200	[thread overview]
Message-ID: <559E8FE1.7020309@allegro-packets.com> (raw)
In-Reply-To: <B27915DBBA3421428155699D51E4CFE2F682F5@IRSMSX103.ger.corp.intel.com>

Hi John,

Thank you for your review.

I will submit a v2 of the patch.

Klaus

Am 08.07.15 um 18:11 schrieb Mcnamara, John:
>> -----Original Message-----
>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Klaus Degner
>> Sent: Tuesday, June 30, 2015 12:40 PM
>> To: dev@dpdk.org
>> Subject: [dpdk-dev] [PATCH] add rx and tx byte counter statistics for 
>> PCAP PMD
>>
>> PCAP PMD vdev accounts only rx and tx packet statistics.
>> This patch adds support for rx and tx bytes statistics.
> Hi,
>
> Thanks for that. 
>
> Just a few minor comments.
>
> The subject line should contain the library/module being updated and the body is repeats, more or less, the same comment twice. Do a git log on the file to see the standard format.
>
>>  	unsigned i;
>> -	unsigned long rx_total = 0, tx_total = 0, tx_err_total = 0;
>> +	unsigned long rx_total = 0, tx_total = 0, tx_err_total = 0, 
>> +rx_b_total = 0, tx_b_total = 0;
> This line exceeds the 80 character limit. Maybe separate the rx and tx initialisations onto separate lines. Or else put them all on separate lines in line with the Coding Guidelines:
>
>    http://dpdk.readthedocs.org/en/latest/guidelines/coding_style.html#local-variables
>
> Run checkpatch on the patch before submission to pick up any issues like this.
>
> If you make those changes and resubmit as a V2 I'll ack it.
>
> John.
> -- 
>
>
>

  reply	other threads:[~2015-07-09 15:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-30 11:39 Klaus Degner
2015-07-08 16:11 ` Mcnamara, John
2015-07-09 15:14   ` Klaus Degner [this message]
2015-07-10 13:00 ` [dpdk-dev] [PATCH v2] pcap: add support for rx and tx byte counters Klaus Degner
2015-07-10 19:13 ` [dpdk-dev] [PATCH v3] " Klaus Degner
2015-07-13 12:56   ` Mcnamara, John
2015-07-13 13:01     ` Klaus Degner
2015-07-13 13:51 ` [dpdk-dev] [PATCH] " Klaus Degner
2015-07-13 14:54 ` [dpdk-dev] [PATCH v5] " Klaus Degner
2015-07-13 15:40   ` Mcnamara, John
2015-07-13 17:33     ` Thomas Monjalon

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=559E8FE1.7020309@allegro-packets.com \
    --to=kd@allegro-packets.com \
    --cc=dev@dpdk.org \
    --cc=john.mcnamara@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).