[dpdk-dev] [PATCH v1 1/1] ixgbe: Fix oerrors by setting it to 0

Ananyev, Konstantin konstantin.ananyev at intel.com
Wed Jul 29 10:48:12 CEST 2015



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Maryam Tahhan
> Sent: Tuesday, July 28, 2015 4:38 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH v1 1/1] ixgbe: Fix oerrors by setting it to 0
> 
> Fix afebc86be1346136125af8026dc215f81c202c50. oerrors was txdgpc -
> hw_stats->gptc, txdgpc is the number of packets DMA'ed by the host
> and was being reset on every call to read stats so it could be < gptc.
> Because we currently have no way to add txdgpc to struct hw_stats so
> that we can maintain a persistent value per port oerrors has now been
> set to 0. References to txdgpc is now removed as we don't use it. This
> patch also removes rxnfgpc as it's not used anywhere.
> 

Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

> Signed-off-by: Maryam Tahhan <maryam.tahhan at intel.com>
> ---
>  drivers/net/ixgbe/ixgbe_ethdev.c | 17 +++--------------
>  1 file changed, 3 insertions(+), 14 deletions(-)
> 



More information about the dev mailing list