ring: return free space when enqueuing
[dpdk.git] / doc / guides / rel_notes / release_17_05.rst
1 DPDK Release 17.05
2 ==================
3
4 .. **Read this first.**
5
6    The text in the sections below explains how to update the release notes.
7
8    Use proper spelling, capitalization and punctuation in all sections.
9
10    Variable and config names should be quoted as fixed width text:
11    ``LIKE_THIS``.
12
13    Build the docs and view the output file to ensure the changes are correct::
14
15       make doc-guides-html
16
17       xdg-open build/doc/html/guides/rel_notes/release_17_05.html
18
19
20 New Features
21 ------------
22
23 .. This section should contain new features added in this release. Sample
24    format:
25
26    * **Add a title in the past tense with a full stop.**
27
28      Add a short 1-2 sentence description in the past tense. The description
29      should be enough to allow someone scanning the release notes to
30      understand the new feature.
31
32      If the feature adds a lot of sub-features you can use a bullet list like
33      this:
34
35      * Added feature foo to do something.
36      * Enhanced feature bar to do something else.
37
38      Refer to the previous release notes for examples.
39
40      This section is a comment. do not overwrite or remove it.
41      Also, make sure to start the actual text at the margin.
42      =========================================================
43
44 * **Added free Tx mbuf on demand API.**
45
46   Added a new function ``rte_eth_tx_done_cleanup()`` which allows an application
47   to request the driver to release mbufs from their Tx ring that are no longer
48   in use, independent of whether or not the ``tx_rs_thresh`` has been crossed.
49
50 * **Increased number of next hops for LPM IPv6 to 2^21.**
51
52   The next_hop field is extended from 8 bits to 21 bits for IPv6.
53
54 * **Added powerpc support in pci probing for vfio-pci devices.**
55
56   sPAPR IOMMU based pci probing enabled for vfio-pci devices.
57
58
59 Resolved Issues
60 ---------------
61
62 .. This section should contain bug fixes added to the relevant
63    sections. Sample format:
64
65    * **code/section Fixed issue in the past tense with a full stop.**
66
67      Add a short 1-2 sentence description of the resolved issue in the past
68      tense.
69
70      The title should contain the code/lib section like a commit message.
71
72      Add the entries in alphabetic order in the relevant sections below.
73
74    This section is a comment. do not overwrite or remove it.
75    Also, make sure to start the actual text at the margin.
76    =========================================================
77
78
79 EAL
80 ~~~
81
82
83 Drivers
84 ~~~~~~~
85
86
87 Libraries
88 ~~~~~~~~~
89
90
91 Examples
92 ~~~~~~~~
93
94
95 Other
96 ~~~~~
97
98
99 Known Issues
100 ------------
101
102 .. This section should contain new known issues in this release. Sample format:
103
104    * **Add title in present tense with full stop.**
105
106      Add a short 1-2 sentence description of the known issue in the present
107      tense. Add information on any known workarounds.
108
109    This section is a comment. do not overwrite or remove it.
110    Also, make sure to start the actual text at the margin.
111    =========================================================
112
113
114 API Changes
115 -----------
116
117 .. This section should contain API changes. Sample format:
118
119    * Add a short 1-2 sentence description of the API change. Use fixed width
120      quotes for ``rte_function_names`` or ``rte_struct_names``. Use the past
121      tense.
122
123    This section is a comment. do not overwrite or remove it.
124    Also, make sure to start the actual text at the margin.
125    =========================================================
126
127 * The LPM ``next_hop`` field is extended from 8 bits to 21 bits for IPv6
128   while keeping ABI compatibility.
129
130 * **Reworked rte_ring library**
131
132   The rte_ring library has been reworked and updated. The following changes
133   have been made to it:
134
135   * removed the build-time setting ``CONFIG_RTE_RING_SPLIT_PROD_CONS``
136   * removed the build-time setting ``CONFIG_RTE_LIBRTE_RING_DEBUG``
137   * removed the build-time setting ``CONFIG_RTE_RING_PAUSE_REP_COUNT``
138   * removed the function ``rte_ring_set_water_mark`` as part of a general
139     removal of watermarks support in the library.
140   * added an extra parameter to the burst/bulk enqueue functions to
141     return the number of free spaces in the ring after enqueue. This can
142     be used by an application to implement its own watermark functionality.
143   * changed the return value of the enqueue and dequeue bulk functions to
144     match that of the burst equivalents. In all cases, ring functions which
145     operate on multiple packets now return the number of elements enqueued
146     or dequeued, as appropriate. The updated functions are:
147
148     - ``rte_ring_mp_enqueue_bulk``
149     - ``rte_ring_sp_enqueue_bulk``
150     - ``rte_ring_enqueue_bulk``
151     - ``rte_ring_mc_dequeue_bulk``
152     - ``rte_ring_sc_dequeue_bulk``
153     - ``rte_ring_dequeue_bulk``
154
155 ABI Changes
156 -----------
157
158 .. This section should contain ABI changes. Sample format:
159
160    * Add a short 1-2 sentence description of the ABI change that was announced
161      in the previous releases and made in this release. Use fixed width quotes
162      for ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
163
164    This section is a comment. do not overwrite or remove it.
165    Also, make sure to start the actual text at the margin.
166    =========================================================
167
168
169 Removed Items
170 -------------
171
172 .. This section should contain removed items in this release. Sample format:
173
174    * Add a short 1-2 sentence description of the removed item in the past
175      tense.
176
177    This section is a comment. do not overwrite or remove it.
178    Also, make sure to start the actual text at the margin.
179    =========================================================
180
181 * KNI vhost support removed.
182
183
184 Shared Library Versions
185 -----------------------
186
187 .. Update any library version updated in this release and prepend with a ``+``
188    sign, like this:
189
190      librte_acl.so.2
191    + librte_cfgfile.so.2
192      librte_cmdline.so.2
193
194    This section is a comment. do not overwrite or remove it.
195    =========================================================
196
197
198 The libraries prepended with a plus sign were incremented in this version.
199
200 .. code-block:: diff
201
202      librte_acl.so.2
203      librte_cfgfile.so.2
204      librte_cmdline.so.2
205      librte_cryptodev.so.2
206      librte_distributor.so.1
207      librte_eal.so.3
208      librte_ethdev.so.6
209      librte_hash.so.2
210      librte_ip_frag.so.1
211      librte_jobstats.so.1
212      librte_kni.so.2
213      librte_kvargs.so.1
214      librte_lpm.so.2
215      librte_mbuf.so.2
216      librte_mempool.so.2
217      librte_meter.so.1
218      librte_net.so.1
219      librte_pdump.so.1
220      librte_pipeline.so.3
221      librte_pmd_bond.so.1
222      librte_pmd_ring.so.2
223      librte_port.so.3
224      librte_power.so.1
225      librte_reorder.so.1
226      librte_ring.so.1
227      librte_sched.so.1
228      librte_table.so.2
229      librte_timer.so.1
230      librte_vhost.so.3
231
232
233 Tested Platforms
234 ----------------
235
236 .. This section should contain a list of platforms that were tested with this
237    release.
238
239    The format is:
240
241    * <vendor> platform with <vendor> <type of devices> combinations
242
243      * List of CPU
244      * List of OS
245      * List of devices
246      * Other relevant details...
247
248    This section is a comment. do not overwrite or remove it.
249    Also, make sure to start the actual text at the margin.
250    =========================================================