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

Stephen Hemminger stephen at networkplumber.org
Tue Aug 29 20:44:12 CEST 2017


On Tue, 29 Aug 2017 11:50:56 -0400
David Harton <dharton at cisco.com> wrote:

> Add counter to track packets transmitted at the software layer
> to help isolate output errors not reported otherwise.
> 
> Signed-off-by: David Harton <dharton at cisco.com>
> ---
>  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.


More information about the dev mailing list