From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH] ixgbe: add counter to track sw tx packets Date: Tue, 29 Aug 2017 11:42:54 -0700 Message-ID: <20170829114254.7b563118@xeon-e3> References: <20170829155056.12563-1-dharton@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: konstantin.ananyev@intel.com, dev@dpdk.org To: David Harton Return-path: Received: from mail-pg0-f41.google.com (mail-pg0-f41.google.com [74.125.83.41]) by dpdk.org (Postfix) with ESMTP id C8B67FFA for ; Tue, 29 Aug 2017 20:42:56 +0200 (CEST) Received: by mail-pg0-f41.google.com with SMTP id 83so13128852pgb.4 for ; Tue, 29 Aug 2017 11:42:56 -0700 (PDT) In-Reply-To: <20170829155056.12563-1-dharton@cisco.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, 29 Aug 2017 11:50:56 -0400 David Harton 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.