[dpdk-dev] [PATCH] ixgbe: add counter to track sw tx packets

David Harton (dharton) dharton at cisco.com
Tue Aug 29 21:20:17 CEST 2017



> -----Original Message-----
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Tuesday, August 29, 2017 2:43 PM
> To: David Harton (dharton) <dharton at cisco.com>
> Cc: konstantin.ananyev at intel.com; dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] ixgbe: add counter to track sw tx packets
> 
> On Tue, 29 Aug 2017 11:50:56 -0400
> David Harton <dharton at cisco.com> wrote:
> 
> > +	if (n < (IXGBEVF_NB_XSTATS + IXGBE_NB_SW_STATS))
> > +		return (IXGBEVF_NB_XSTATS + IXGBE_NB_SW_STATS);
> 
> Please don't use BSD style.
> Return does not need parenthesis.

Sure.


More information about the dev mailing list