Add the ability for the upper layer to query: 1) configured RX/TX queue information. 2) information about RX/TX descriptors min/max/align numbers per queue for the device.
v2 changes: - Add formal check for the qinfo input parameter. - As suggested rename 'rx_qinfo/tx_qinfo' to 'rxq_info/txq_info' v3 changes: - Updated rte_ether_version.map - Merged with latest changes v4 changes: - rte_ether_version.map: move new functions into DPDK_2.1 sub-space. v5 changes: - adressed previous code-review comments - rte_ether_version.map: move new functions into DPDK_2.2 sub-space. - added new fields into rte_eth_dev_info v6 chages: - respin to comply with latest dpdk.org - update release_notes Konstantin Ananyev (9): ethdev: add new API to retrieve RX/TX queue information i40e: add support for eth_(rxq|txq)_info_get and (rx|tx)_desc_lim ixgbe: add support for eth_(rxq|txq)_info_get and (rx|tx)_desc_lim e1000: add support for eth_(rxq|txq)_info_get and (rx|tx)_desc_lim testpmd: add new command to display RX/TX queue information fm10k: add HW specific desc_lim data into dev_info cxgbe: add HW specific desc_lim data into dev_info vmxnet3: add HW specific desc_lim data into dev_info doc: release notes update for queue_info_get() app/test-pmd/cmdline.c | 48 +++++++++++++++++++ app/test-pmd/config.c | 77 ++++++++++++++++++++++++++++++ app/test-pmd/testpmd.h | 2 + doc/guides/rel_notes/release_2_2.rst | 7 +++ drivers/net/cxgbe/cxgbe_ethdev.c | 9 ++++ drivers/net/e1000/e1000_ethdev.h | 36 ++++++++++++++ drivers/net/e1000/em_ethdev.c | 14 ++++++ drivers/net/e1000/em_rxtx.c | 71 ++++++++++++++++------------ drivers/net/e1000/igb_ethdev.c | 22 +++++++++ drivers/net/e1000/igb_rxtx.c | 66 +++++++++++++++++--------- drivers/net/fm10k/fm10k_ethdev.c | 11 +++++ drivers/net/i40e/i40e_ethdev.c | 14 ++++++ drivers/net/i40e/i40e_ethdev.h | 5 ++ drivers/net/i40e/i40e_ethdev_vf.c | 12 +++++ drivers/net/i40e/i40e_rxtx.c | 37 +++++++++++++++ drivers/net/ixgbe/ixgbe_ethdev.c | 23 +++++++++ drivers/net/ixgbe/ixgbe_ethdev.h | 6 +++ drivers/net/ixgbe/ixgbe_rxtx.c | 68 +++++++++++++++++---------- drivers/net/ixgbe/ixgbe_rxtx.h | 21 +++++++++ drivers/net/vmxnet3/vmxnet3_ethdev.c | 12 +++++ lib/librte_ether/rte_ethdev.c | 68 +++++++++++++++++++++++++++ lib/librte_ether/rte_ethdev.h | 85 +++++++++++++++++++++++++++++++++- lib/librte_ether/rte_ether_version.map | 8 ++++ 23 files changed, 642 insertions(+), 80 deletions(-) -- 1.8.5.3