doc: add cryptodev shared library version to release notes
[dpdk.git] / doc / guides / rel_notes / release_16_07.rst
1 DPDK Release 16.07
2 ==================
3
4 .. **Read this first.**
5
6    The text 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: ``LIKE_THIS``.
11
12    Build the docs and view the output file to ensure the changes are correct::
13
14       make doc-guides-html
15
16       firefox build/doc/html/guides/rel_notes/release_16_07.html
17
18
19 New Features
20 ------------
21
22 .. This section should contain new features added in this release. Sample format:
23
24    * **Add a title in the past tense with a full stop.**
25
26      Add a short 1-2 sentence description in the past tense. The description
27      should be enough to allow someone scanning the release notes to understand
28      the new feature.
29
30      If the feature adds a lot of sub-features you can use a bullet list like this.
31
32      * Added feature foo to do something.
33      * Enhanced feature bar to do something else.
34
35      Refer to the previous release notes for examples.
36
37 * **Removed mempool cache if not needed.**
38
39   The size of the mempool structure is reduced if the per-lcore cache is disabled.
40
41 * **Added mempool external cache for non-EAL thread.**
42
43    Added new functions to create, free or flush a user-owned mempool
44    cache for non-EAL threads. Previously, cache was always disabled
45    on these threads.
46
47 * **Changed the memory allocation in mempool library.**
48
49   * Added ability to allocate a large mempool in virtually fragmented memory.
50   * Added new APIs to populate a mempool with memory.
51   * Added an API to free a mempool.
52   * Modified the API of rte_mempool_obj_iter() function.
53   * Dropped specific Xen Dom0 code.
54   * Dropped specific anonymous mempool code in testpmd.
55
56 * **Added new driver for Broadcom NetXtreme-C devices.**
57
58   Added the new bnxt driver for Broadcom NetXtreme-C devices. See the
59   "Network Interface Controller Drivers" document for more details on this
60   new driver.
61
62 * **Added new driver for ThunderX nicvf device.**
63
64 * **Added mailbox interrupt support for ixgbe and igb VFs.**
65
66   When the physical NIC link comes down or up, the PF driver will send a
67   mailbox message to notify each VF. To handle this link up/down event,
68   add mailbox interrupts support to receive the message and allow the app to
69   register a callback for it.
70
71 * **Updated the ixgbe base driver.**
72
73   The ixgbe base driver was updated with changes including the
74   following:
75
76   * Added sgmii link for X550.
77   * Added mac link setup for X550a SFP and SFP+.
78   * Added KR support for X550em_a.
79   * Added new phy definitions for M88E1500.
80   * Added support for the VLVF to be bypassed when adding/removing a VFTA entry.
81   * Added X550a flow control auto negotiation support.
82
83 * **Updated the i40e base driver.**
84
85   Updated the i40e base driver, which includes support for new devices IDs.
86
87 * **Updated the enic driver.**
88
89   The enic driver was updated with changes including the following:
90
91   * Optimized the Tx function.
92   * Added Scattered Rx capability.
93   * Improved packet type identification.
94   * Added MTU update in non Scattered Rx mode and enabled MTU of up to 9208
95     with UCS Software release 2.2 on 1300 series VICs.
96
97 * **Supported virtio on IBM POWER8.**
98
99   The ioports are mapped in memory when using Linux UIO.
100
101 * **Virtio support for containers.**
102
103   Add a new virtual device, named virtio_user, to support virtio for containers.
104
105   Known limitations:
106
107   * Control queue and multi-queue are not supported yet.
108   * Cannot work with --huge-unlink.
109   * Cannot work with --no-huge.
110   * Cannot work when there are more than VHOST_MEMORY_MAX_NREGIONS(8) hugepages.
111   * Root privilege is a must for sorting hugepages by physical address.
112   * Can only be used with vhost user backend.
113
114 * **Added vhost-user client mode.**
115
116   DPDK vhost-user could be the server as well as the client. It supports
117   server mode only before, now it also supports client mode. Client mode
118   is enabled when ``RTE_VHOST_USER_CLIENT`` flag is set while calling
119   ``rte_vhost_driver_register``.
120
121   When DPDK vhost-user restarts from normal or abnormal quit (say crash),
122   the client mode would allow DPDK to establish the connect again.  Note
123   that a brand new QEMU version (v2.7 or above) is needed, otherwise, the
124   reconnect won't work.
125
126   DPDK vhost-user will also try to reconnect by default when
127
128   * the first connect fails (when QEMU is not started yet)
129   * the connection is broken (when QEMU restarts)
130
131   It can be turned off if flag ``RTE_VHOST_USER_NO_RECONNECT`` is set.
132
133 * **Added NSH packet recognition in i40e.**
134
135 * **Added AES-CTR support to AESNI MB PMD.**
136
137   Now AESNI MB PMD supports 128/192/256-bit counter mode AES encryption and
138   decryption.
139
140 * **Added support of AES counter mode for Intel QuickAssist devices.**
141
142   Enabled support for the AES CTR algorithm for Intel QuickAssist devices.
143   Provided support for algorithm-chaining operations.
144
145 * **Added KASUMI SW PMD.**
146
147   A new Crypto PMD has been added, which provides KASUMI F8 (UEA1) ciphering
148   and KASUMI F9 (UIA1) hashing.
149
150 * **Added multi-writer support for RTE Hash with Intel TSX.**
151
152   The following features/modifications have been added to rte_hash library:
153
154   * Enabled application developers to use an extra flag for rte_hash creation
155     to specify default behavior (multi-thread safe/unsafe) with rte_hash_add_key
156     function.
157   * Changed Cuckoo search algorithm to breadth first search for multi-writer
158     routine and split Cuckoo Search and Move operations in order to reduce
159     transactional code region and improve TSX performance.
160   * Added a hash multi-writer test case for test app.
161
162 * **Improved IP Pipeline Application.**
163
164   The following features have been added to ip_pipeline application:
165
166   * Configure the MAC address in the routing pipeline and automatic routes
167     updates with change in link state.
168   * Enable RSS per network interface through the configuration file.
169   * Streamline the CLI code.
170
171 * **Added keepalive enhancements.**
172
173   Adds support for reporting of core states other than dead to
174   monitoring applications, enabling the support of broader liveness
175   reporting to external processes.
176
177 * **Added packet capture framework.**
178
179   * A new library ``librte_pdump`` is added to provide packet capture API.
180   * A new ``app/pdump`` tool is added to capture packets in DPDK.
181
182
183 * **Added floating VEB support for i40e PF driver.**
184
185   A "floating VEB" is a special Virtual Ethernet Bridge (VEB) which does not
186   have an upload port, but instead is used for switching traffic between
187   virtual functions (VFs) on a port.
188
189   For information on this feature,  please see the "I40E Poll Mode Driver"
190   section of the "Network Interface Controller Drivers" document.
191
192 * **Added support for live migration of a VM with SRIOV VF.**
193
194   Live migration of a VM with Virtio and VF PMD's using the bonding PMD.
195
196
197 Resolved Issues
198 ---------------
199
200 .. This section should contain bug fixes added to the relevant sections. Sample format:
201
202    * **code/section Fixed issue in the past tense with a full stop.**
203
204      Add a short 1-2 sentence description of the resolved issue in the past tense.
205      The title should contain the code/lib section like a commit message.
206      Add the entries in alphabetic order in the relevant sections below.
207
208
209 EAL
210 ~~~
211
212 * **igb_uio: Fixed possible mmap failure for Linux >= 4.5.**
213
214   mmaping the iomem range of the PCI device fails for kernels that
215   enabled CONFIG_IO_STRICT_DEVMEM option:
216
217   EAL: pci_map_resource():
218            cannot mmap(39, 0x7f1c51800000, 0x100000, 0x0):
219            Invalid argument (0xffffffffffffffff)
220
221   CONFIG_IO_STRICT_DEVMEM is introduced in Linux v4.5
222
223   Updated igb_uio to stop reserving PCI memory resources, from
224   kernel point of view iomem region looks like idle and mmap worked
225   again. This matches uio_pci_generic usage.
226
227
228 Drivers
229 ~~~~~~~
230
231 * **i40e: Fixed vlan stripping from inner header.**
232
233   Previously, for tunnel packets, such as VXLAN/NVGRE, the vlan
234   tags of the inner header will be stripped without putting vlan
235   info to descriptor.
236   Now this issue is fixed by disabling vlan stripping from inner header.
237
238 * **i40e: Fixed the type issue of a single VLAN type.**
239
240   Currently, if a single VLAN header is added in a packet, it's treated
241   as inner VLAN. But generally, a single VLAN header is treated as the
242   outer VLAN header.
243   This issue is fixed by changing corresponding register for single VLAN.
244
245 * **enic: Fixed several issues when stopping then restarting ports and queues.**
246
247   Fixed several crashes related to stopping then restarting ports and queues.
248   Fixed possible crash when re-configuring the number of Rx queue descriptors.
249
250 * **enic: Fixed Rx data mis-alignment if mbuf data offset modified.**
251
252   Fixed possible Rx corruption when mbufs were returned to a pool with data
253   offset other than RTE_PKTMBUF_HEADROOM.
254
255 * **enic: Fixed Tx IP/UDP/TCP checksum offload and VLAN insertion.**
256
257 * **enic: Fixed Rx error and missed counters.**
258
259
260 Libraries
261 ~~~~~~~~~
262
263 * **mbuf: Fixed refcnt update when detaching.**
264
265   Fix the ``rte_pktmbuf_detach()`` function to decrement the direct
266   mbuf's reference counter. The previous behavior was not to affect
267   the reference counter. It lead a memory leak of the direct mbuf.
268
269
270 Examples
271 ~~~~~~~~
272
273
274 Other
275 ~~~~~
276
277
278 Known Issues
279 ------------
280
281 .. This section should contain new known issues in this release. Sample format:
282
283    * **Add title in present tense with full stop.**
284
285      Add a short 1-2 sentence description of the known issue in the present
286      tense. Add information on any known workarounds.
287
288
289 API Changes
290 -----------
291
292 .. This section should contain API changes. Sample format:
293
294    * Add a short 1-2 sentence description of the API change. Use fixed width
295      quotes for ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
296
297 * The following counters are removed from ``rte_eth_stats`` structure:
298   ibadcrc, ibadlen, imcasts, fdirmatch, fdirmiss,
299   tx_pause_xon, rx_pause_xon, tx_pause_xoff, rx_pause_xoff.
300
301 * The extended statistics are fetched by ids with ``rte_eth_xstats_get``
302   after a lookup by name ``rte_eth_xstats_get_names``.
303
304 * The function ``rte_eth_dev_info_get`` fill the new fields ``nb_rx_queues``
305   and ``nb_tx_queues`` in the structure ``rte_eth_dev_info``.
306
307 * The vhost function ``rte_vring_available_entries`` is renamed to
308   ``rte_vhost_avail_entries``.
309
310 * All existing vhost APIs and callbacks with ``virtio_net`` struct pointer
311   as the parameter have been changed due to the ABI refactoring mentioned
312   below: it's replaced by ``int vid``.
313
314 * The function ``rte_vhost_enqueue_burst`` no longer supports concurrent enqueuing
315   packets to the same queue.
316
317 * The function ``rte_eth_dev_set_mtu`` adds a new return value ``-EBUSY``, which
318   indicates the operation is forbidden because the port is running.
319
320
321 ABI Changes
322 -----------
323
324 .. * Add a short 1-2 sentence description of the ABI change that was announced in
325      the previous releases and made in this release. Use fixed width quotes for
326      ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
327
328 * The ``rte_port_source_params`` structure has new fields to support PCAP file.
329   It was already in release 16.04 with ``RTE_NEXT_ABI`` flag.
330
331 * The ``rte_eth_dev_info`` structure has new fields ``nb_rx_queues`` and ``nb_tx_queues``
332   to support number of queues configured by software.
333
334 * vhost ABI refactoring has been made: ``virtio_net`` structure is never
335   exported to application any more. Instead, a handle, ``vid``, has been
336   used to represent this structure internally.
337
338
339 Shared Library Versions
340 -----------------------
341
342 .. Update any library version updated in this release and prepend with a ``+`` sign.
343
344 The libraries prepended with a plus sign were incremented in this version.
345
346 .. code-block:: diff
347
348    + libethdev.so.4
349      librte_acl.so.2
350      librte_cfgfile.so.2
351      librte_cmdline.so.2
352      librte_cryptodev.so.1
353      librte_distributor.so.1
354      librte_eal.so.2
355      librte_hash.so.2
356      librte_ip_frag.so.1
357      librte_ivshmem.so.1
358      librte_jobstats.so.1
359      librte_kni.so.2
360      librte_kvargs.so.1
361      librte_lpm.so.2
362      librte_mbuf.so.2
363    + librte_mempool.so.2
364      librte_meter.so.1
365      librte_pdump.so.1
366      librte_pipeline.so.3
367      librte_pmd_bond.so.1
368      librte_pmd_ring.so.2
369    + librte_port.so.3
370      librte_power.so.1
371      librte_reorder.so.1
372      librte_ring.so.1
373      librte_sched.so.1
374      librte_table.so.2
375      librte_timer.so.1
376    + librte_vhost.so.3
377
378
379 Tested Platforms
380 ----------------
381
382 .. This section should contain a list of platforms that were tested with this
383    release.
384
385    The format is:
386
387    #. Platform name.
388
389       - Platform details.
390       - Platform details.
391
392
393 Tested NICs
394 -----------
395
396 .. This section should contain a list of NICs that were tested with this release.
397
398    The format is:
399
400    #. NIC name.
401
402       - NIC details.
403       - NIC details.