From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David Harton (dharton)" Subject: Re: [PATCH] ixgbe: add counter to track sw tx packets Date: Tue, 29 Aug 2017 19:20:17 +0000 Message-ID: References: <20170829155056.12563-1-dharton@cisco.com> <20170829114254.7b563118@xeon-e3> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "konstantin.ananyev@intel.com" , "dev@dpdk.org" To: Stephen Hemminger Return-path: Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) by dpdk.org (Postfix) with ESMTP id A5CE211D4 for ; Tue, 29 Aug 2017 21:20:22 +0200 (CEST) In-Reply-To: <20170829114254.7b563118@xeon-e3> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Stephen Hemminger [mailto:stephen@networkplumber.org] > Sent: Tuesday, August 29, 2017 2:43 PM > To: David Harton (dharton) > Cc: konstantin.ananyev@intel.com; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ixgbe: add counter to track sw tx packets >=20 > On Tue, 29 Aug 2017 11:50:56 -0400 > David Harton wrote: >=20 > > + if (n < (IXGBEVF_NB_XSTATS + IXGBE_NB_SW_STATS)) > > + return (IXGBEVF_NB_XSTATS + IXGBE_NB_SW_STATS); >=20 > Please don't use BSD style. > Return does not need parenthesis. Sure.