[dpdk-dev] [PATCH] net/enic: fix calculation of truncated packets

2016-07-15 Thread Thomas Monjalon
2016-07-13 09:52, Nelson Escobar: > The calculation of truncated packets didn't take into account packet > errors due to the adapter not having buffers, causing both the > ipackets, and imissed counts to be wrong if such errors occurred. In > order to properly calculate the number of packets trunc

[dpdk-dev] [PATCH] net/enic: fix calculation of truncated packets

2016-07-13 Thread Nelson Escobar
The calculation of truncated packets didn't take into account packet errors due to the adapter not having buffers, causing both the ipackets, and imissed counts to be wrong if such errors occurred. In order to properly calculate the number of packets truncated, we need to subtract the count of err