[dpdk-dev] rte_eth_rx_queue_count accuracy

2015-09-22 Thread Alejandro Lucero
I can not see that code. Can you point out where is it? Thanks On Mon, Sep 21, 2015 at 11:41 PM, Stephen Hemminger < stephen at networkplumber.org> wrote: > On Fri, 18 Sep 2015 11:33:36 +0100 > Alejandro Lucero wrote: > > > I have seen the API definition says nothing about accuracy but some

[dpdk-dev] rte_eth_rx_queue_count accuracy

2015-09-21 Thread Stephen Hemminger
On Fri, 18 Sep 2015 11:33:36 +0100 Alejandro Lucero wrote: > I have seen the API definition says nothing about accuracy but some PMD > implementations sacrifice accuracy for the sake of performance. If I'm not > understanding the code wrongly i40e and ixgbe check DD bit just for the > first

[dpdk-dev] rte_eth_rx_queue_count accuracy

2015-09-18 Thread Alejandro Lucero
I have seen the API definition says nothing about accuracy but some PMD implementations sacrifice accuracy for the sake of performance. If I'm not understanding the code wrongly i40e and ixgbe check DD bit just for the first descriptor in a group of 4, and they take all of them as used if the