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:44:12 -0700 Message-ID: <20170829114412.42da4285@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-f53.google.com (mail-pg0-f53.google.com [74.125.83.53]) by dpdk.org (Postfix) with ESMTP id 5C05FFFA for ; Tue, 29 Aug 2017 20:44:15 +0200 (CEST) Received: by mail-pg0-f53.google.com with SMTP id y15so13259116pgc.1 for ; Tue, 29 Aug 2017 11:44:15 -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: > Add counter to track packets transmitted at the software layer > to help isolate output errors not reported otherwise. > > Signed-off-by: David Harton > --- > drivers/net/ixgbe/ixgbe_ethdev.c | 98 ++++++++++++++++++++++++++++++++++++---- > drivers/net/ixgbe/ixgbe_ethdev.h | 9 ++++ > drivers/net/ixgbe/ixgbe_rxtx.c | 49 ++++++++++++++------ > 3 files changed, 132 insertions(+), 24 deletions(-) Since the software stats are not per-queue they will cause significant cache thrashing.