ethdev: get queues numbers
authorReshma Pattan <reshma.pattan@intel.com>
Wed, 15 Jun 2016 14:06:20 +0000 (15:06 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jun 2016 21:38:44 +0000 (23:38 +0200)
commit00851d47f7be47e45bbc4e502a438921642cd965
tree81dec0065b3a56991c263172a94610df092ce5cc
parentc8231c63ddcb29aa1aa77351339b05eb1f3db4b3
ethdev: get queues numbers

The new fields nb_rx_queues and nb_tx_queues are added to the
rte_eth_dev_info structure.
Changes to API rte_eth_dev_info_get() are done to update these new fields
to the rte_eth_dev_info object.
Release notes is updated with the changes.

The librte_pdump library needs to register Rx and Tx callbacks for all
the nb_rx_queues and nb_tx_queues, when application wants to capture the
packets on all the software configured number of Rx and Tx queues of the
device. So far there is no support to get nb_rx_queues and nb_tx_queues
information from the ethdev library. Hence these changes are introduced.

Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
doc/guides/rel_notes/release_16_07.rst
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h