Re: [dpdk-dev] [PATCH v2] net/af_packet: improve Tx statistics accuracy

2019-10-11 Thread Musatescu, Flavia
On 10/10/2019 19:35, Stephen Hemminger wrote: On Thu, 10 Oct 2019 18:34:30 +0100 Flavia Musatescu wrote: When sendto call fails and ENOBUFS error is being set some of the packets are actually successfully transmitted. There is no available count of those packets, so in order to make the statis

Re: [dpdk-dev] [PATCH v2] net/af_packet: improve Tx statistics accuracy

2019-10-10 Thread Stephen Hemminger
On Thu, 10 Oct 2019 18:34:30 +0100 Flavia Musatescu wrote: > When sendto call fails and ENOBUFS error is being set some of the > packets are actually successfully transmitted. There is no available > count of those packets, so in order to make the statistics more > accurate, all the previously en

[dpdk-dev] [PATCH v2] net/af_packet: improve Tx statistics accuracy

2019-10-10 Thread Flavia Musatescu
When sendto call fails and ENOBUFS error is being set some of the packets are actually successfully transmitted. There is no available count of those packets, so in order to make the statistics more accurate, all the previously enqueued packets will be considered successful, even though this is not