doc: add event eth Rx adapter to release notes
[dpdk.git] / doc / guides / rel_notes / release_17_11.rst
1 DPDK Release 17.11
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_11.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 * **Extended port_id range from uint8_t to uint16_t.**
45
46   Increased port_id range from 8 bits to 16 bits in order to support more than
47   256 ports in dpdk. All ethdev APIs which have port_id as parameter are changed
48   in the meantime.
49
50 * **Modified the return type of rte_eth_stats_reset.**
51
52   Changed return type of ``rte_eth_stats_reset`` from ``void`` to ``int``
53   so the caller may know whether a device supports the operation or not
54   and if the operation was carried out.
55
56 * **Added a new driver for Marvell Armada 7k/8k devices.**
57
58   Added the new mrvl net driver for Marvell Armada 7k/8k devices. See the
59   "Network Interface Controller Drivers" document for more details on this new
60   driver.
61
62 * **Updated mlx5 driver.**
63
64   Updated the mlx5 driver including the following changes:
65
66    * Enabled PMD to run on top of upstream linux kernel and rdma-core libs.
67      By that removed the dependency on specific Mellanox OFED libraries.
68    * Improved PMD latency performance.
69    * Improved PMD memory footprint.
70    * Supported vectorized Rx/Tx burst for ARMv8.
71    * Supported secondary process.
72    * Supported flow counters.
73    * Supported Rx hardware timestamp offload.
74    * Supported device removal event.
75
76 * **Added SoftNIC PMD.**
77
78   Added new SoftNIC PMD. This virtual device offers applications a software
79   fallback support for traffic management.
80
81 * **Added support for NXP DPAA Devices.**
82
83   Added support for NXP's DPAA devices - LS104x series. This includes:
84
85   * DPAA Bus driver
86   * DPAA Mempool driver for supporting offloaded packet memory pool
87   * DPAA PMD for DPAA devices
88
89   See the "Network Interface Controller Drivers" document for more details of
90   this new driver.
91
92 * **nfp: Added PF support.**
93
94   Previously Netronome's NFP PMD had just support for VFs. PF support is
95   just as a basic DPDK port and has no VF management yet.
96
97   PF support comes with firmware upload support which allows the PMD to
98   independently work from kernel netdev NFP drivers.
99
100   NFP 4000 devices are also now supported along with previous 6000 devices.
101
102 * **Updated bnxt PMD.**
103
104   Major enhancements include:
105
106    * Support for Flow API
107    * Support for Tx and Rx descriptor status functions
108
109 * **Add bus agnostic functions to cryptodev for PMD initialisation**
110
111   Adds new PMD assist functions ``rte_cryptodev_pmd_parse_input_args()``,
112   ``rte_cryptodev_pmd_create()`` and ``rte_cryptodev_pmd_destroy()`` which
113   are bus independent for driver to manage creation and destruction of new
114   device instances.
115
116 * **Updated QAT crypto PMD.**
117
118   Performance enhancements:
119
120   * Removed atomics from the internal queue pair structure.
121   * Coalesce writes to HEAD CSR on response processing.
122   * Coalesce writes to TAIL CSR on request processing.
123
124   Additional support for:
125
126   * AES CCM algorithm.
127
128 * **Updated the AESNI MB PMD.**
129
130   The AESNI MB PMD has been updated with additional support for:
131
132   * DES CBC algorithm.
133   * DES DOCSIS BPI algorithm.
134
135   This requires the IPSec Multi-buffer library 0.47. For more details,
136   check out the AESNI MB PMD documenation.
137
138 * **Updated the OpenSSL PMD.**
139
140   The OpenSSL PMD has been updated with additional support for:
141
142   * DES CBC algorithm.
143   * AES CCM algorithm.
144
145 * **Added NXP DPAA SEC crypto PMD.**
146
147   A new "dpaa_sec" hardware based crypto PMD for NXP DPAA devices has been
148   added. See the "Crypto Device Drivers" document for more details on this
149   driver.
150
151 * **Added MRVL crypto PMD.**
152
153   A new crypto PMD has been added, which provides several ciphering and hashing
154   algorithms. All cryptography operations use the MUSDK library crypto API.
155
156 * **Add new benchmarking mode to dpdk-test-crypto-perf application.**
157
158   Added new "PMD cyclecount" benchmark mode to dpdk-test-crypto-perf application
159   that displays more detailed breakdown of CPU cycles used by hardware
160   acceleration.
161
162 * **Added IOMMU support to libvhost-user**
163
164   Implemented device IOTLB in Vhost-user backend, and enabled Virtio's IOMMU
165   feature.
166
167 * **Added the Event Ethernet Adapter Library.**
168
169   Added the Event Ethernet Adapter library. It provices APIs for
170   eventdev applications to configure the ethdev to eventdev packet flow.
171
172 * **Added Membership library (rte_member).**
173
174   Added membership library. It provides an API for DPDK applications to insert a
175   new member, delete an existing member, or query the existence of a member in a
176   given set, or a group of sets. For the case of a group of sets the library
177   will return not only whether the element has been inserted before in one of
178   the sets but also which set it belongs to.
179
180   The Membership Library is an extension and generalization of a traditional
181   filter (for example Bloom Filter) structure that has multiple usages in a wide
182   variety of workloads and applications. In general, the Membership Library is a
183   data structure that provides a “set-summary” and responds to set-membership
184   queries whether a certain member belongs to a set(s).
185
186   See the :ref:`Membership Library <Member_Library>` documentation in
187   the Programmers Guide document, for more information.
188
189 * **Added the Generic Segmentation Offload Library.**
190
191   Added the Generic Segmentation Offload (GSO) library to enable
192   applications to split large packets (e.g. MTU is 64KB) into small
193   ones (e.g. MTU is 1500B). Supported packet types are:
194
195   * TCP/IPv4 packets.
196   * VxLAN packets, which must have an outer IPv4 header, and contain
197     an inner TCP/IPv4 packet.
198   * GRE packets, which must contain an outer IPv4 header, and inner
199     TCP/IPv4 headers.
200
201   The GSO library doesn't check if the input packets have correct
202   checksums, and doesn't update checksums for output packets.
203   Additionally, the GSO library doesn't process IP fragmented packets.
204
205 * **Added the Flow Classification Library.**
206
207   Added the Flow Classification library, it provides an API for DPDK
208   applications to classify an input packet by matching it against a set of flow
209   rules. It uses the librte_table API to manage the flow rules.
210
211
212 Resolved Issues
213 ---------------
214
215 .. This section should contain bug fixes added to the relevant
216    sections. Sample format:
217
218    * **code/section Fixed issue in the past tense with a full stop.**
219
220      Add a short 1-2 sentence description of the resolved issue in the past
221      tense.
222
223      The title should contain the code/lib section like a commit message.
224
225      Add the entries in alphabetic order in the relevant sections below.
226
227    This section is a comment. do not overwrite or remove it.
228    Also, make sure to start the actual text at the margin.
229    =========================================================
230
231
232 EAL
233 ~~~
234
235 * **Service core fails to call service callback due to atomic lock**
236
237   In a specific configuration of multi-thread unsafe services and service
238   cores, a service core previously did not correctly release the atomic lock
239   on the service. This would result in the cores polling the service, but it
240   looked like another thread was executing the service callback. The logic for
241   atomic locking of the services has been fixed and refactored for readability.
242
243 Drivers
244 ~~~~~~~
245
246
247 Libraries
248 ~~~~~~~~~
249
250
251 Examples
252 ~~~~~~~~
253
254
255 Other
256 ~~~~~
257
258
259 Known Issues
260 ------------
261
262 .. This section should contain new known issues in this release. Sample format:
263
264    * **Add title in present tense with full stop.**
265
266      Add a short 1-2 sentence description of the known issue in the present
267      tense. Add information on any known workarounds.
268
269    This section is a comment. do not overwrite or remove it.
270    Also, make sure to start the actual text at the margin.
271    =========================================================
272
273
274 API Changes
275 -----------
276
277 .. This section should contain API changes. Sample format:
278
279    * Add a short 1-2 sentence description of the API change. Use fixed width
280      quotes for ``rte_function_names`` or ``rte_struct_names``. Use the past
281      tense.
282
283    This section is a comment. do not overwrite or remove it.
284    Also, make sure to start the actual text at the margin.
285    =========================================================
286
287 * **Ethdev device name length increased**
288
289   The size of internal device name is increased to 64 characters
290   to allow for storing longer bus specific name.
291
292 * **Ethdev flag RTE_ETH_DEV_DETACHABLE was removed**
293
294   This flag is not necessary anymore, with the new hotplug implementation.
295   It is now removed from the ether library. Its semantic is expressed at the bus
296   and PMD level.
297
298 * **Service cores API updated for usability**
299
300   The service cores API has been changed, removing pointers from the API
301   where possible, instead using integer IDs to identify each service. This
302   simplifed application code, aids debugging, and provides better
303   encapsulation. A summary of the main changes made is as follows:
304
305   * Services identified by ID not by ``rte_service_spec`` pointer
306   * Reduced API surface by using ``set`` functions instead of enable/disable
307   * Reworked ``rte_service_register`` to provide the service ID to registrar
308   * Rework start and stop APIs into ``rte_service_runstate_set``
309   * Added API to set runstate of service implementation to indicate readyness
310
311 * **The following changes made in mempool library**
312
313   * Moved ``flags`` datatype from int to unsigned int for ``rte_mempool``.
314   * Removed ``__rte_unused int flag`` param from ``rte_mempool_generic_put``
315     and ``rte_mempool_generic_get`` API.
316   * Added ``flags`` param in ``rte_mempool_xmem_size`` and
317     ``rte_mempool_xmem_usage``.
318
319 * Xen dom0 in EAL was removed, as well as xenvirt PMD and vhost_xen.
320
321 * ``rte_mem_phy2mch`` was used in Xen dom0 to obtain the physical address;
322   remove this API as Xen dom0 support was removed.
323
324 * **PCI bus API moved outside of the EAL**
325
326   The PCI bus previously implemented within the EAL has been moved.
327   A first part has been added as an RTE library providing PCI helpers to
328   parse device locations or other such utilities.
329   A second part consisting in the actual bus driver has been moved to its
330   proper subdirectory, without changing its functionalities.
331
332   As such, several PCI-related functions are not proposed by the EAL anymore:
333
334   * rte_pci_detach
335   * rte_pci_dump
336   * rte_pci_ioport_map
337   * rte_pci_ioport_read
338   * rte_pci_ioport_unmap
339   * rte_pci_ioport_write
340   * rte_pci_map_device
341   * rte_pci_probe
342   * rte_pci_probe_one
343   * rte_pci_read_config
344   * rte_pci_register
345   * rte_pci_scan
346   * rte_pci_unmap_device
347   * rte_pci_unregister
348   * rte_pci_write_config
349
350   These functions are made available either as part of ``librte_pci`` or
351   ``librte_bus_pci``.
352
353 * **Add return value to stats_get dev op API**
354
355   The ``stats_get`` dev op API return value has been changed to be int.
356   By this way PMDs can return an error value in case of failure at stats
357   getting process time.
358
359 * **Modified the rte_cryptodev_allocate_driver function in the cryptodev library.**
360
361   The function ``rte_cryptodev_allocate_driver()`` has been modified.
362   An extra parameter ``struct cryptodev_driver *crypto_drv`` has been added.
363
364 * **Removed virtual device bus specific functions from librte_cryptodev.**
365
366   The functions ``rte_cryptodev_vdev_parse_init_params()`` and
367   ``rte_cryptodev_vdev_pmd_init()`` have been removed from librte_cryptodev
368   and have been replaced by non bus specific functions
369   ``rte_cryptodev_pmd_parse_input_args()`` and ``rte_cryptodev_pmd_create()``.
370
371 * **Removed PCI device bus specific functions from librte_cryptodev.**
372
373   The functions ``rte_cryptodev_pci_generic_probe()`` and
374   ``rte_cryptodev_pci_generic_remove()`` have been removed from librte_cryptodev
375   and have been replaced by non bus specific functions
376   ``rte_cryptodev_pmd_create()`` and ``rte_cryptodev_pmd_destroy()``.
377
378 * **Removed deprecated functions to manage log level or type.**
379
380   The functions ``rte_set_log_level()``, ``rte_get_log_level()``,
381   ``rte_set_log_type()`` and ``rte_get_log_type()`` have been removed.
382   They are respectively replaced by ``rte_log_set_global_level()``,
383   ``rte_log_get_global_level()``, ``rte_log_set_level()`` and
384   ``rte_log_get_level()``.
385
386 * **Removed ``mbuf`` flags ``PKT_RX_VLAN_PKT`` and ``PKT_RX_QINQ_PKT``.**
387
388   The ``mbuf`` flags ``PKT_RX_VLAN_PKT`` and ``PKT_RX_QINQ_PKT`` have
389   been removed since their behavior were not properly described.
390
391 * **Added ``mbuf`` flags ``PKT_RX_VLAN`` and ``PKT_RX_QINQ``.**
392
393   Two ``mbuf`` flags have been added to indicate that the VLAN
394   identifier has been saved in in the ``mbuf`` structure. For instance:
395
396   - if VLAN is not stripped and TCI is saved: ``PKT_RX_VLAN``
397   - if VLAN is stripped and TCI is saved: ``PKT_RX_VLAN | PKT_RX_VLAN_STRIPPED``
398
399 * **Modified the vlan_offload_set_t function prototype in the ethdev library.**
400
401   Changed the function prototype of ``vlan_offload_set_t``.  The return value
402   has been changed from ``void`` to ``int`` so the caller to knows whether
403   the backing device supports the operation or if the operation was
404   successfully performed.
405
406
407 ABI Changes
408 -----------
409
410 .. This section should contain ABI changes. Sample format:
411
412    * Add a short 1-2 sentence description of the ABI change that was announced
413      in the previous releases and made in this release. Use fixed width quotes
414      for ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
415
416    This section is a comment. do not overwrite or remove it.
417    Also, make sure to start the actual text at the margin.
418    =========================================================
419
420 * **Extended port_id range.**
421
422   The size of the field ``port_id`` in the ``rte_eth_dev_data`` structure
423   changed, as described in the `New Features` section.
424
425
426 Removed Items
427 -------------
428
429 .. This section should contain removed items in this release. Sample format:
430
431    * Add a short 1-2 sentence description of the removed item in the past
432      tense.
433
434    This section is a comment. do not overwrite or remove it.
435    Also, make sure to start the actual text at the margin.
436    =========================================================
437
438 * The crypto performance unit tests have been removed,
439   replaced by the dpdk-test-crypto-perf application.
440
441
442 Shared Library Versions
443 -----------------------
444
445 .. Update any library version updated in this release and prepend with a ``+``
446    sign, like this:
447
448      librte_acl.so.2
449    + librte_cfgfile.so.2
450      librte_cmdline.so.2
451
452    This section is a comment. do not overwrite or remove it.
453    =========================================================
454
455
456 The libraries prepended with a plus sign were incremented in this version.
457
458 .. code-block:: diff
459
460      librte_acl.so.2
461    + librte_bitratestats.so.2
462      librte_cfgfile.so.2
463      librte_cmdline.so.2
464    + librte_cryptodev.so.4
465      librte_distributor.so.1
466    + librte_eal.so.6
467    + librte_ethdev.so.8
468    + librte_eventdev.so.3
469    + librte_flow_classify.so.1
470      librte_gro.so.1
471    + librte_gso.so.1
472      librte_hash.so.2
473      librte_ip_frag.so.1
474      librte_jobstats.so.1
475      librte_kni.so.2
476      librte_kvargs.so.1
477      librte_latencystats.so.1
478      librte_lpm.so.2
479      librte_mbuf.so.3
480      librte_mempool.so.2
481      librte_meter.so.1
482      librte_metrics.so.1
483      librte_net.so.1
484    + librte_pci.so.1
485    + librte_pdump.so.2
486      librte_pipeline.so.3
487    + librte_pmd_bnxt.so.2
488    + librte_pmd_bond.so.2
489    + librte_pmd_i40e.so.2
490    + librte_pmd_ixgbe.so.2
491      librte_pmd_ring.so.2
492    + librte_pmd_softnic.so.1
493    + librte_pmd_vhost.so.2
494      librte_port.so.3
495      librte_power.so.1
496      librte_reorder.so.1
497      librte_ring.so.1
498      librte_sched.so.1
499    + librte_security.so.1
500    + librte_table.so.3
501      librte_timer.so.1
502      librte_vhost.so.3
503
504
505 Tested Platforms
506 ----------------
507
508 .. This section should contain a list of platforms that were tested with this
509    release.
510
511    The format is:
512
513    * <vendor> platform with <vendor> <type of devices> combinations
514
515      * List of CPU
516      * List of OS
517      * List of devices
518      * Other relevant details...
519
520    This section is a comment. do not overwrite or remove it.
521    Also, make sure to start the actual text at the margin.
522    =========================================================