Hi Mohammad,
> -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Mohammad El-Shabani > Sent: Tuesday, March 29, 2016 9:45 AM > To: dev at dpdk.org > Subject: [dpdk-dev] librte_pmd_ixgbe implementation of > ixgbe_dev_rx_queue_count > > Hi, > Looking into why it hurts performance, I see that ixgbe_dev_rx_queue_count is > implemented a scan of elements of rx descriptors, which is very expensive. I > am > wondering why its implemented the way it is. Could it not just read the head > location from the driver? Not sure about the history. But to my opinion it's a control plane ops not a data plane ops. Maybe the reason is the author doesn't care about the performance too much. As you have a good idea, would you like to share it with us? Thanks in advance:) > > Thanks! > Mohammad El-Shabani

