From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4NXiWnxaoT/v2OpncHCkjocIoollXKkoeyb7227gE9w=; b=pDdN46TqM4shQsmEiLPfVKueXCNPMT8UJdJ8n7iPS00B8eqIoUQpSpgAmlyczbKiez 28la1eEurYy5Jev5yZnonknQVt7ADFZ5wXmDDUmHYMcEBokTMYdP334uoqSEJLCHrQOj FdUylCN0ZL6gHwHZzN0mA7UigXnkuImTvPdIhzNWZmcZzrhxA+Qbtga6ijdIEEJWd3tV Qns7qk65LS4WfPJnuD2jRFxSR+FsfcI1aoa7wZQDI+T0a9JoJdFIU55E4T3EhEHUdQWK OUbYiVKU0wrw6pvhKCh2E+1C61xRNeOTk9CbSQsix1xdEP75MuajY9C9q13f7FNl2S+D CWlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4NXiWnxaoT/v2OpncHCkjocIoollXKkoeyb7227gE9w=; b=J6zpblTnR6Xs1q3RJLbc/+VZaVS5XFmOCWiIldcnLnagn9hdzVdDz6hkYxcHZqwM74 I85N5YrFHaqXVj28Y42QhE9dyuDCsxhC/lsZdOzxLl2DTQkIP8S8SmEXrxrzTXV+S8RT VlYZya718kIA8Um7hxUQ96KZ81FM7nk3cQGQI8q/EHRQROJBLS7w7m7DCCQYo4/vdyl9 rSfWcf7kWY/gR3SYrEWLwROzxim80PYv+SW3NQcowEO9NkVhRKRLdUUXZre+Y9MXqnr7 qbE2XEdqmubXeabOguH7KaW5euQn6aHmZ3YfqGel6lkXBIxWeC6lkQ6ffN86bos6uXdW oMNA== X-Gm-Message-State: AHYfb5gVNVBcspG6X47JR9j/CY2ycAo3nQzc+AsLc77pUAn0E1MSsF5w +sbCC3YSehNdqLxZKkkwaw== X-Received: by 10.98.20.200 with SMTP id 191mr1341654pfu.120.1504032254655; Tue, 29 Aug 2017 11:44:14 -0700 (PDT) Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id v11sm5925301pgo.39.2017.08.29.11.44.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Aug 2017 11:44:14 -0700 (PDT) Date: Tue, 29 Aug 2017 11:44:12 -0700 From: Stephen Hemminger To: David Harton Cc: konstantin.ananyev@intel.com, dev@dpdk.org Message-ID: <20170829114412.42da4285@xeon-e3> In-Reply-To: <20170829155056.12563-1-dharton@cisco.com> References: <20170829155056.12563-1-dharton@cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] ixgbe: add counter to track sw tx packets X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 18:44:15 -0000 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.