3ed49bc2cc972708ab9079b36b4ae6c5163b4768
[dpdk.git] / doc / guides / rel_notes / release_19_11.rst
1 ..  SPDX-License-Identifier: BSD-3-Clause
2     Copyright 2019 The DPDK contributors
3
4 .. include:: <isonum.txt>
5
6 DPDK Release 19.11
7 ==================
8
9 .. **Read this first.**
10
11    The text in the sections below explains how to update the release notes.
12
13    Use proper spelling, capitalization and punctuation in all sections.
14
15    Variable and config names should be quoted as fixed width text:
16    ``LIKE_THIS``.
17
18    Build the docs and view the output file to ensure the changes are correct::
19
20       make doc-guides-html
21
22       xdg-open build/doc/html/guides/rel_notes/release_19_11.html
23
24
25 New Features
26 ------------
27
28 .. This section should contain new features added in this release.
29    Sample format:
30
31    * **Add a title in the past tense with a full stop.**
32
33      Add a short 1-2 sentence description in the past tense.
34      The description should be enough to allow someone scanning
35      the release notes to understand the new feature.
36
37      If the feature adds a lot of sub-features you can use a bullet list
38      like this:
39
40      * Added feature foo to do something.
41      * Enhanced feature bar to do something else.
42
43      Refer to the previous release notes for examples.
44
45      Suggested order in release notes items:
46      * Core libs (EAL, mempool, ring, mbuf, buses)
47      * Device abstraction libs and PMDs
48        - ethdev (lib, PMDs)
49        - cryptodev (lib, PMDs)
50        - eventdev (lib, PMDs)
51        - etc
52      * Other libs
53      * Apps, Examples, Tools (if significant)
54
55      This section is a comment. Do not overwrite or remove it.
56      Also, make sure to start the actual text at the margin.
57      =========================================================
58
59 * **FreeBSD now supports `--base-virtaddr` EAL option.**
60
61   FreeBSD version now also supports setting base virtual address for mapping
62   pages and resources into its address space.
63
64 * **Added Lock-free Stack for aarch64.**
65
66   The lock-free stack implementation is enabled for aarch64 platforms.
67
68 * **Changed mempool allocation behaviour.**
69
70   Objects are no longer across pages by default.
71   It may consume more memory when using small memory pages.
72
73 * **Added support of dynamic fields and flags in mbuf.**
74
75   This new feature adds the ability to dynamically register some room
76   for a field or a flag in the mbuf structure. This is typically used
77   for specific offload features, where adding a static field or flag
78   in the mbuf is not justified.
79
80 * **Added hairpin queue.**
81
82   On supported NICs, we can now setup haipin queue which will offload packets
83   from the wire, backto the wire.
84
85 * **Added flow tag in rte_flow.**
86
87   SET_TAG action and TAG item have been added to support transient flow tag.
88
89 * **Extended metadata support in rte_flow.**
90
91   Flow metadata is extended to both Rx and Tx.
92
93   * Tx metadata can also be set by SET_META action of rte_flow.
94   * Rx metadata is delivered to host via a dynamic field of ``rte_mbuf`` with
95     PKT_RX_DYNF_METADATA.
96
97 * **Updated the enic driver.**
98
99   * Added support for Geneve with options offload.
100   * Added flow API implementation based on VIC Flow Manager API.
101
102 * **Added Hisilicon hns3 PMD.**
103
104   Added the new ``hns3`` net driver for the inbuilt Hisilicon Network
105   Subsystem 3(HNS3) network engine found in the Hisilicon Kunpeng 920 SoC.
106   See the :doc:`../nics/hns3` guide for more details on this new driver.
107
108 * **Added NXP PFE PMD.**
109
110   Added the new PFE driver for the NXP LS1012A platform. See the
111   :doc:`../nics/pfe` NIC driver guide for more details on this new driver.
112
113 * **Updated iavf PMD.**
114
115   Enable AVX2 data path for iavf PMD.
116
117 * **Updated the Intel e1000 driver.**
118
119   Added support for the ``RTE_ETH_DEV_CLOSE_REMOVE`` flag.
120
121 * **Updated the Intel ixgbe driver.**
122
123   Added support for the ``RTE_ETH_DEV_CLOSE_REMOVE`` flag.
124
125 * **Updated the Intel i40e driver.**
126
127   Added support for the ``RTE_ETH_DEV_CLOSE_REMOVE`` flag.
128
129 * **Updated the Intel fm10k driver.**
130
131   Added support for the ``RTE_ETH_DEV_CLOSE_REMOVE`` flag.
132
133 * **Added RX/TX packet burst mode get API.**
134
135   Added two new functions ``rte_eth_rx_burst_mode_get`` and
136   ``rte_eth_tx_burst_mode_get`` that allow an application
137   to retrieve the mode information about RX/TX packet burst
138   such as Scalar or Vector, and Vector technology like AVX2.
139
140 * **Updated the Intel ice driver.**
141
142   Updated the Intel ice driver with new features and improvements, including:
143
144   * Added support for device-specific DDP package loading.
145   * Added support for handling Receive Flex Descriptor.
146   * Added support for protocol extraction on per Rx queue.
147   * Added support for Flow Director filter based on generic filter framework.
148   * Added support for the ``RTE_ETH_DEV_CLOSE_REMOVE`` flag.
149   * Generic filter enhancement
150     - Supported pipeline mode.
151     - Supported new packet type like PPPoE for switch filter.
152   * Supported input set change and symmetric hash by rte_flow RSS action.
153   * Added support for GTP Tx checksum offload.
154   * Added new device IDs to support E810_XXV devices.
155
156 * **Added cryptodev asymmetric session-less operation.**
157
158   Added session-less option to cryptodev asymmetric structure. It works the same
159   way as symmetric crypto, corresponding xform is used directly by the crypto op.
160
161 * **Updated the Huawei hinic driver.**
162
163   Updated the Huawei hinic driver with new features and improvements, including:
164
165   * Enabled SR-IOV - Partially supported at this point, VFIO only.
166   * Supported VLAN filter and VLAN offload.
167   * Supported Unicast MAC filter and Multicast MAC filter.
168   * Supported Flow API for LACP, VRRP, BGP and so on.
169   * Supported FW version get.
170
171 * **Updated Mellanox mlx5 driver.**
172
173   Updated Mellanox mlx5 driver with new features and improvements, including:
174
175   * Added support for VLAN pop flow offload command.
176   * Added support for VLAN push flow offload command.
177   * Added support for VLAN set PCP offload command.
178   * Added support for VLAN set VID offload command.
179   * Added support for matching on packets withe Geneve tunnel header.
180   * Added hairpin support.
181
182 * **Updated the AF_XDP PMD.**
183
184   Updated the AF_XDP PMD. The new features include:
185
186   * Enabled zero copy between application mempools and UMEM by enabling the
187     XDP_UMEM_UNALIGNED_CHUNKS UMEM flag.
188
189 * **Added Marvell NITROX symmetric crypto PMD.**
190
191   Added a symmetric crypto PMD for Marvell NITROX V security processor.
192   See the :doc:`../cryptodevs/nitrox` guide for more details on this new
193
194 * **Added asymmetric support to Marvell OCTEON TX crypto PMD.**
195
196   Added support for asymmetric operations in Marvell OCTEON TX cypto PMD.
197   Supports RSA and modexp operations.
198
199 * **Added Marvell OCTEON TX2 crypto PMD**
200
201   Added a new PMD driver for h/w crypto offload block on ``OCTEON TX2`` SoC.
202
203   See :doc:`../cryptodevs/octeontx2` for more details
204
205 * **Updated NXP crypto PMDs for PDCP support.**
206
207   PDCP support is added to DPAA_SEC and DPAA2_SEC PMDs using rte_security APIs.
208   Support is added for all sequence number sizes for control and user plane.
209   Test application is updated for unit testing.
210
211 * **Enabled Single Pass GCM acceleration on QAT GEN3.**
212
213   Added support for Single Pass GCM, available on QAT GEN3 only (Intel
214   QuickAssist Technology C4xxx). It is automatically chosen instead of the
215   classic 2-pass mode when running on QAT GEN3, significantly improving
216   the performance of AES GCM operations.
217
218 * **Updated the Intel QuickAssist Technology (QAT) asymmetric crypto PMD.**
219
220   * Added support for asymmetric session-less operations.
221   * Added support for RSA algorithm with pair (n, d) private key representation.
222   * Added support for RSA algorithm with quintuple private key representation.
223
224 * **Updated the Intel QuickAssist Technology (QAT) compression PMD.**
225
226   Added stateful decompression support in the Intel QuickAssist Technology PMD.
227   Please note that stateful compression is not supported.
228
229 * **Added external buffers support for dpdk-test-compress-perf tool.**
230
231   Added a command line option to dpdk-test-compress-perf tool to allocate
232   and use memory zones as external buffers instead of keeping the data directly
233   in mbuf areas.
234
235 * **Updated the IPSec library.**
236
237   * Added SA Database API to ``librte_ipsec``. A new test-sad application is also
238     introduced to evaluate and perform custom functional and performance tests
239     for IPsec SAD implementation.
240
241   * Support fragmented packets in inline crypto processing mode with fallback
242     ``lookaside-none`` session. Corresponding changes are also added in IPsec
243     Security Gateway application.
244
245 * **Introduced FIFO for NTB PMD.**
246
247   Introduced FIFO for NTB (Non-transparent Bridge) PMD to support
248   packet based processing.
249
250 * **Added eBPF JIT support for arm64.**
251
252   Added eBPF JIT support for arm64 architecture to improve the eBPF program
253   performance.
254
255 * **Added RIB and FIB (Routing/Forwarding Information Base) libraries.**
256
257   RIB and FIB can replace the LPM (Longest Prefix Match) library
258   with better control plane (RIB) performance.
259   The data plane (FIB) can be extended with new algorithms.
260
261 * **Updated testpmd.**
262
263   * Added a console command to testpmd app, ``show port (port_id) ptypes`` which
264     gives ability to print port supported ptypes in different protocol layers.
265
266 * **Added new example l2fwd-event application.**
267
268   Added an example application `l2fwd-event` that adds event device support to
269   traditional l2fwd example. It demonstrates usage of poll and event mode IO
270   mechanism under a single application.
271
272 * **Added build support for Link Time Optimization.**
273
274   LTO is an optimization technique used by the compiler to perform whole
275   program analysis and optimization at link time.  In order to do that
276   compilers store their internal representation of the source code that
277   the linker uses at the final stage of compilation process.
278
279   See :doc:`../prog_guide/lto` for more information:
280
281
282 Removed Items
283 -------------
284
285 .. This section should contain removed items in this release. Sample format:
286
287    * Add a short 1-2 sentence description of the removed item
288      in the past tense.
289
290    This section is a comment. Do not overwrite or remove it.
291    Also, make sure to start the actual text at the margin.
292    =========================================================
293
294 * Removed duplicated set of commands for Rx offload configuration from testpmd::
295
296     port config all crc-strip|scatter|rx-cksum|rx-timestamp|
297                     hw-vlan|hw-vlan-filter|hw-vlan-strip|hw-vlan-extend on|off
298
299   The testpmd commands set that can be used instead
300   in order to enable or disable Rx offloading on all Rx queues of a port is::
301
302     port config <port_id> rx_offload crc_strip|scatter|
303                                      ipv4_cksum|udp_cksum|tcp_cksum|timestamp|
304                                      vlan_strip|vlan_filter|vlan_extend on|off
305
306 * Removed AF_XDP pmd_zero copy vdev argument. Support is now auto-detected.
307
308 * The following sample applications have been removed in this release:
309
310   * Exception Path
311   * L3 Forwarding in a Virtualization Environment
312   * Load Balancer
313   * Netmap Compatibility
314   * Quota and Watermark
315   * vhost-scsi
316
317 * Removed arm64-dpaa2-* build config. arm64-dpaa-* can now build for both
318   dpaa and dpaa2 platforms.
319
320
321 API Changes
322 -----------
323
324 .. This section should contain API changes. Sample format:
325
326    * sample: Add a short 1-2 sentence description of the API change
327      which was announced in the previous releases and made in this release.
328      Start with a scope label like "ethdev:".
329      Use fixed width quotes for ``function_names`` or ``struct_names``.
330      Use the past tense.
331
332    This section is a comment. Do not overwrite or remove it.
333    Also, make sure to start the actual text at the margin.
334    =========================================================
335
336 * eal: made the ``lcore_config`` struct and global symbol private.
337
338 * eal: removed the ``rte_cpu_check_supported`` function, replaced by
339   ``rte_cpu_is_supported`` since dpdk v17.08.
340
341 * eal: removed the ``rte_malloc_virt2phy`` function, replaced by
342   ``rte_malloc_virt2iova`` since v17.11.
343
344 * eal: made the ``rte_config`` struct and ``rte_eal_get_configuration``
345   function private.
346
347 * mem: hid the internal ``malloc_heap`` structure and the
348   ``rte_malloc_heap.h`` header.
349
350 * vfio: removed ``rte_vfio_dma_map`` and ``rte_vfio_dma_unmap`` that have
351   been marked as deprecated in release 19.05.
352   ``rte_vfio_container_dma_map`` and ``rte_vfio_container_dma_unmap`` can
353   be used as substitutes.
354
355 * pci: removed the following functions deprecated since dpdk v17.11:
356
357   - ``eal_parse_pci_BDF`` replaced by ``rte_pci_addr_parse``
358   - ``eal_parse_pci_DomBDF`` replaced by ``rte_pci_addr_parse``
359   - ``rte_eal_compare_pci_addr`` replaced by ``rte_pci_addr_cmp``
360
361 * The network structure ``esp_tail`` has been prefixed by ``rte_``.
362
363 * The network definitions of PPPoE ethertypes have been prefixed by ``RTE_``.
364
365 * The network structure for MPLS has been prefixed by ``rte_``.
366
367 * ethdev: changed ``rte_eth_dev_infos_get`` return value from ``void`` to
368   ``int`` to provide a way to report various error conditions.
369
370 * ethdev: changed ``rte_eth_promiscuous_enable`` and
371   ``rte_eth_promiscuous_disable`` return value from ``void`` to ``int`` to
372   provide a way to report various error conditions.
373
374 * ethdev: changed ``rte_eth_allmulticast_enable`` and
375   ``rte_eth_allmulticast_disable`` return value from ``void`` to ``int`` to
376   provide a way to report various error conditions.
377
378 * ethdev: changed ``rte_eth_dev_xstats_reset`` return value from ``void`` to
379   ``int`` to provide a way to report various error conditions.
380
381 * ethdev: changed ``rte_eth_link_get`` and ``rte_eth_link_get_nowait``
382   return value from ``void`` to ``int`` to provide a way to report various
383   error conditions.
384
385 * ethdev: changed ``rte_eth_macaddr_get`` return value from ``void`` to
386   ``int`` to provide a way to report various error conditions.
387
388 * ethdev: changed ``rte_eth_dev_owner_delete`` return value from ``void`` to
389   ``int`` to provide a way to report various error conditions.
390
391 * ethdev: The deprecated function ``rte_eth_dev_count`` was removed.
392   The function ``rte_eth_dev_count_avail`` is a drop-in replacement.
393   If the intent is to iterate over ports, ``RTE_ETH_FOREACH_*`` macros
394   are better port iterators.
395
396 * ethdev: RTE_FLOW_ITEM_TYPE_META data endianness altered to host one.
397   Due to the new dynamic metadata field in mbuf is host-endian either, there
398   is the minor compatibility issue for applications in case of 32-bit values
399   supported.
400
401 * ethdev: the tx_metadata mbuf field is moved to dymanic one.
402   PKT_TX_METADATA flag is replaced with PKT_TX_DYNF_METADATA.
403   DEV_TX_OFFLOAD_MATCH_METADATA offload flag is removed, now metadata
404   support in PMD is engaged on dynamic field registration.
405
406 * event: The function ``rte_event_eth_tx_adapter_enqueue`` takes an additional
407   input as ``flags``. Flag ``RTE_EVENT_ETH_TX_ADAPTER_ENQUEUE_SAME_DEST`` which
408   has been introduced in this release is used when used when all the packets
409   enqueued in the tx adapter are destined for the same Ethernet port & Tx queue.
410
411 * sched: The pipe nodes configuration parameters such as number of pipes,
412   pipe queue sizes, pipe profiles, etc., are moved from port level structure
413   to subport level. This allows different subports of the same port to
414   have different configuration for the pipe nodes.
415
416
417 ABI Changes
418 -----------
419
420 .. This section should contain ABI changes. Sample format:
421
422    * sample: Add a short 1-2 sentence description of the ABI change
423      which was announced in the previous releases and made in this release.
424      Start with a scope label like "ethdev:".
425      Use fixed width quotes for ``function_names`` or ``struct_names``.
426      Use the past tense.
427
428    This section is a comment. Do not overwrite or remove it.
429    Also, make sure to start the actual text at the margin.
430    =========================================================
431
432 * net: The Ethernet address and other header definitions have changed
433   attributes. They have been modified to be aligned on 2-byte boundaries.
434   These changes should not impact normal usage because drivers naturally
435   align the Ethernet header on receive and all known encapsulations
436   preserve the alignment of the header.
437
438 * security: The field ``replay_win_sz`` has been moved from ipsec library
439   based ``rte_ipsec_sa_prm`` structure to security library based structure
440   ``rte_security_ipsec_xform``, which specify the Anti replay window size
441   to enable sequence replay attack handling.
442
443 * ipsec: The field ``replay_win_sz`` has been removed from the structure
444   ``rte_ipsec_sa_prm`` as it has been added to the security library.
445
446
447 Shared Library Versions
448 -----------------------
449
450 .. Update any library version updated in this release
451    and prepend with a ``+`` sign, like this:
452
453      libfoo.so.1
454    + libupdated.so.2
455      libbar.so.1
456
457    This section is a comment. Do not overwrite or remove it.
458    =========================================================
459
460 The libraries prepended with a plus sign were incremented in this version.
461
462 .. code-block:: diff
463
464      librte_acl.so.2
465      librte_bbdev.so.1
466      librte_bitratestats.so.2
467      librte_bpf.so.1
468      librte_bus_dpaa.so.2
469      librte_bus_fslmc.so.2
470      librte_bus_ifpga.so.2
471      librte_bus_pci.so.2
472      librte_bus_vdev.so.2
473      librte_bus_vmbus.so.2
474      librte_cfgfile.so.2
475      librte_cmdline.so.2
476      librte_compressdev.so.1
477      librte_cryptodev.so.8
478      librte_distributor.so.1
479    + librte_eal.so.12
480      librte_efd.so.1
481    + librte_ethdev.so.13
482    + librte_eventdev.so.8
483    + librte_fib.so.1
484      librte_flow_classify.so.1
485      librte_gro.so.1
486      librte_gso.so.1
487      librte_hash.so.2
488      librte_ip_frag.so.1
489    + librte_ipsec.so.2
490      librte_jobstats.so.1
491      librte_kni.so.2
492      librte_kvargs.so.1
493      librte_latencystats.so.1
494      librte_lpm.so.2
495      librte_mbuf.so.5
496      librte_member.so.1
497      librte_mempool.so.5
498      librte_meter.so.3
499      librte_metrics.so.1
500      librte_net.so.1
501    + librte_pci.so.2
502      librte_pdump.so.3
503      librte_pipeline.so.3
504      librte_pmd_bnxt.so.2
505      librte_pmd_bond.so.2
506      librte_pmd_i40e.so.2
507      librte_pmd_ixgbe.so.2
508      librte_pmd_dpaa2_qdma.so.1
509      librte_pmd_ring.so.2
510      librte_pmd_softnic.so.1
511      librte_pmd_vhost.so.2
512      librte_port.so.3
513      librte_power.so.1
514      librte_rawdev.so.1
515    + librte_rib.so.1
516      librte_rcu.so.1
517      librte_reorder.so.1
518      librte_ring.so.2
519    + librte_sched.so.4
520    + librte_security.so.3
521      librte_stack.so.1
522      librte_table.so.3
523      librte_timer.so.1
524      librte_vhost.so.4
525
526
527 Known Issues
528 ------------
529
530 .. This section should contain new known issues in this release. Sample format:
531
532    * **Add title in present tense with full stop.**
533
534      Add a short 1-2 sentence description of the known issue
535      in the present tense. Add information on any known workarounds.
536
537    This section is a comment. Do not overwrite or remove it.
538    Also, make sure to start the actual text at the margin.
539    =========================================================
540
541
542 Tested Platforms
543 ----------------
544
545 .. This section should contain a list of platforms that were tested
546    with this release.
547
548    The format is:
549
550    * <vendor> platform with <vendor> <type of devices> combinations
551
552      * List of CPU
553      * List of OS
554      * List of devices
555      * Other relevant details...
556
557    This section is a comment. Do not overwrite or remove it.
558    Also, make sure to start the actual text at the margin.
559    =========================================================
560