summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2015-11-24 17:37:56 +0000
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-11-25 19:18:04 +0100
commit71594065e2187b10a9252f8ac94c37ad9c645bb4 (patch)
tree83df8701e9e3dfa29af0b76a012c0de5fed1161a /doc
parentb974e4a40cb579b2bacbacfce1edff3d9cb717b5 (diff)
downloaddpdk-71594065e2187b10a9252f8ac94c37ad9c645bb4.zip
dpdk-71594065e2187b10a9252f8ac94c37ad9c645bb4.tar.gz
dpdk-71594065e2187b10a9252f8ac94c37ad9c645bb4.tar.xz
ethdev: remove duplicated debug functions
The functions for rx/tx burst, for rx_queue_count and descriptor_done in the ethdev library all had two copies of the code. One copy in rte_ethdev.h was inlined for performance, while a second was in rte_ethdev.c for debugging purposes only. We can eliminate the second copy of the functions by moving the additional debug checks into the copies of the functions in the header file. [Any compilation for debugging at optimization level 0 will not inline the function so the result should be same as when the function was in the .c file.] Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/guides/rel_notes/release_2_2.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst
index 8c77768..b523b26 100644
--- a/doc/guides/rel_notes/release_2_2.rst
+++ b/doc/guides/rel_notes/release_2_2.rst
@@ -278,6 +278,11 @@ ABI Changes
* The new fields rx_desc_lim and tx_desc_lim are added into rte_eth_dev_info
structure.
+* For debug builds, the functions rte_eth_rx_burst(), rte_eth_tx_burst()
+ rte_eth_rx_descriptor_done() and rte_eth_rx_queue_count() will
+ no longer be separate functions in the DPDK libraries. Instead, they will
+ only be present in the rte_ethdev.h header file.
+
* The maximum number of queues per port CONFIG_RTE_MAX_QUEUES_PER_PORT is
increased to 1024.