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

2017-08-30 Thread David Harton (dharton)
> -Original Message- > From: Ananyev, Konstantin [mailto:konstantin.anan...@intel.com] > Sent: Wednesday, August 30, 2017 10:27 AM > To: David Harton (dharton) ; Tahhan, Maryam > > Cc: dev@dpdk.org > Subject: RE: [PATCH] ixgbe: add counter to track sw tx packets > > > > > > > > > -

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

2017-08-30 Thread Ananyev, Konstantin
> > > > > -Original Message- > > > From: David Harton [mailto:dhar...@cisco.com] > > > Sent: Tuesday, August 29, 2017 4:51 PM > > > To: Ananyev, Konstantin > > > Cc: dev@dpdk.org; David Harton > > > Subject: [PATCH] ixgbe: add counter to track sw tx packets > > > > > > Add counter to tra

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

2017-08-29 Thread David Harton (dharton)
> -Original Message- > From: Ananyev, Konstantin [mailto:konstantin.anan...@intel.com] > Sent: Tuesday, August 29, 2017 3:29 PM > To: David Harton (dharton) > Cc: dev@dpdk.org > Subject: RE: [PATCH] ixgbe: add counter to track sw tx packets > > > > > -Original Message- > > From

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

2017-08-29 Thread Ananyev, Konstantin
> -Original Message- > From: David Harton [mailto:dhar...@cisco.com] > Sent: Tuesday, August 29, 2017 4:51 PM > To: Ananyev, Konstantin > Cc: dev@dpdk.org; David Harton > Subject: [PATCH] ixgbe: add counter to track sw tx packets > > Add counter to track packets transmitted at the soft

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

2017-08-29 Thread David Harton (dharton)
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Tuesday, August 29, 2017 2:43 PM > To: David Harton (dharton) > Cc: konstantin.anan...@intel.com; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ixgbe: add counter to track sw

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

2017-08-29 Thread Stephen Hemminger
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 > -

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

2017-08-29 Thread Stephen Hemminger
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.

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

2017-08-29 Thread David Harton
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