24a078c995b6ed2b8b98ab8635234c353bf411bf
[dpdk.git] / doc / guides / rel_notes / release_20_11.rst
1 .. SPDX-License-Identifier: BSD-3-Clause
2    Copyright 2020 The DPDK contributors
3
4 .. include:: <isonum.txt>
5
6 DPDK Release 20.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       xdg-open build/doc/html/guides/rel_notes/release_20_11.html
22
23
24 New Features
25 ------------
26
27 .. This section should contain new features added in this release.
28    Sample format:
29
30    * **Add a title in the past tense with a full stop.**
31
32      Add a short 1-2 sentence description in the past tense.
33      The description should be enough to allow someone scanning
34      the release notes to understand the new feature.
35
36      If the feature adds a lot of sub-features you can use a bullet list
37      like this:
38
39      * Added feature foo to do something.
40      * Enhanced feature bar to do something else.
41
42      Refer to the previous release notes for examples.
43
44      Suggested order in release notes items:
45      * Core libs (EAL, mempool, ring, mbuf, buses)
46      * Device abstraction libs and PMDs
47        - ethdev (lib, PMDs)
48        - cryptodev (lib, PMDs)
49        - eventdev (lib, PMDs)
50        - etc
51      * Other libs
52      * Apps, Examples, Tools (if significant)
53
54      This section is a comment. Do not overwrite or remove it.
55      Also, make sure to start the actual text at the margin.
56      =======================================================
57
58 * **Added write combining store APIs.**
59
60   Added ``rte_write32_wc`` and ``rte_write32_wc_relaxed`` APIs
61   that enable write combining stores (depending on architecture).
62   The functions are provided as a generic stub and
63   x86 specific implementation.
64
65 * **Added prefetch with intention to write APIs.**
66
67   Added new prefetch function variants e.g. ``rte_prefetch0_write``,
68   which allow the programmer to prefetch a cache line and also indicate
69   the intention to write.
70
71 * **Added the rte_cldemote API.**
72
73   Added a hardware hint CLDEMOTE, which is similar to prefetch in reverse.
74   CLDEMOTE moves the cache line to the more remote cache, where it expects
75   sharing to be efficient. Moving the cache line to a level more distant from
76   the processor helps to accelerate core-to-core communication.
77   This API is specific to x86 and implemented as a stub for other
78   architectures.
79
80 * **Added support for limiting maximum SIMD bitwidth.**
81
82   Added a new EAL config setting ``max_simd_bitwidth`` to limit the vector
83   path selection at runtime. This value can be set by apps using the
84   ``rte_vect_set_max_simd_bitwidth`` function, or by the user with EAL flag
85   ``--force-max-simd-bitwidth``.
86
87 * **Added zero copy APIs for rte_ring.**
88
89   For rings with producer/consumer in ``RTE_RING_SYNC_ST``, ``RTE_RING_SYNC_MT_HTS``
90   modes, these APIs split enqueue/dequeue operation into three phases
91   (enqueue/dequeue start, copy data to/from ring, enqueue/dequeue finish).
92   Along with the advantages of the peek APIs, these provide the ability to
93   copy the data to the ring memory directly without the need for temporary
94   storage.
95
96 * **Updated CRC modules of the net library.**
97
98   * Added runtime selection of the optimal architecture-specific CRC path.
99   * Added optimized implementations of CRC32-Ethernet and CRC16-CCITT
100     using the AVX512 and VPCLMULQDQ instruction sets.
101
102 * **Introduced extended buffer description for receiving.**
103
104   Added the extended Rx buffer description for Rx queue setup routine
105   providing the individual settings for each Rx segment with maximal size,
106   buffer offset and memory pool to allocate data buffers from.
107
108 * **Added the FEC API, for a generic FEC query and config.**
109
110   Added the FEC API which provides functions for query FEC capabilities and
111   current FEC mode from device. An API for configuring FEC mode is also provided.
112
113 * **Added thread safety to rte_flow functions.**
114
115   Added the ``RTE_ETH_DEV_FLOW_OPS_THREAD_SAFE`` device flag to indicate
116   whether a PMD supports thread safe operations. If the PMD doesn't set the flag,
117   the rte_flow API level functions will protect the flow operations with a mutex.
118
119 * **Added flow-based traffic sampling support.**
120
121   Added a new action ``RTE_FLOW_ACTION_TYPE_SAMPLE`` that will sample the
122   incoming traffic and send a duplicated traffic with the specified ratio to
123   the application, while the original packet will continue to the target
124   destination.
125
126   The packets sampling is '1/ratio'. A ratio value set to 1 means that the
127   packets will be completely mirrored. The sample packet can be assigned with
128   a different set of actions than the original packet.
129
130 * **Added support of shared action in flow API.**
131
132   Added shared action support to use single flow actions in multiple flow
133   rules. An update to the shared action configuration alters the behavior of all
134   flow rules using it.
135
136   * Added a new action: ``RTE_FLOW_ACTION_TYPE_SHARED`` to use shared action
137     as a flow action.
138   * Added new flow APIs to create/update/destroy/query shared actions.
139
140 * **Added support to flow rules to allow private PMD items/actions.**
141
142   * Flow rule verification has been  updated to accept private PMD
143     items and actions.
144
145 * **Added a generic API to offload tunneled traffic and restore missed packets.**
146
147   * Added a new hardware independent helper to the flow API that
148     offloads tunneled traffic and restores missed packets.
149
150 * **Updated the ethdev library to support hairpin between two ports.**
151
152   New APIs have been introduced to support binding / unbinding of 2 ports in a
153   hairpin configuration. The hairpin Tx part flow rules can be inserted
154   explicitly. A new API has been added to get the hairpin peer ports list.
155
156 * **Updated the Amazon ena driver.**
157
158   Updated the ena PMD with new features and improvements, including:
159
160   * Added network interface metrics which can be read using xstats.
161
162 * **Updated Broadcom bnxt driver.**
163
164   Updated the Broadcom bnxt driver with new features and improvements, including:
165
166   * Added support for 200G PAM4 link speed.
167   * Added support for RSS hash level selection.
168   * Updated HWRM structures to 1.10.1.70 version.
169   * Added TRUFLOW support for Stingray devices.
170   * Added support for representors on MAIA cores of SR.
171   * Added support for VXLAN decap offload using rte_flow.
172   * Added support to indicate native rte_flow API thread safety.
173
174 * **Updated Cisco enic driver.**
175
176   * Added support for VF representors with single-queue Tx/Rx and flow API
177   * Added support for egress PORT_ID action
178   * Added support for non-zero priorities for group 0 flows
179   * Added support for VXLAN decap combined with VLAN pop
180
181 * **Added hns3 FEC PMD, for supporting query and config FEC mode.**
182
183   Added the FEC PMD which provides functions for querying FEC capabilities and
184   current FEC mode from a device. A PMD for configuring FEC mode is also provided.
185
186 * **Updated the Intel iavf driver.**
187
188   Updated the iavf PMD with new features and improvements, including:
189
190   * Added support for flexible descriptor metadata extraction.
191   * Added support for outer IP hash of GTPC and GTPU.
192   * Added support of AVX512 instructions in Rx and Tx path.
193   * Added support for up to 256 queue pairs per VF.
194
195 * **Updated Intel ixgbe driver.**
196
197   Updated the Intel ixgbe driver to use write combining stores.
198
199 * **Updated Intel i40e driver.**
200
201   Updated the Intel i40e driver to use write combining stores.
202
203 * **Updated Intel ice driver.**
204
205   * Added support for write combining stores.
206   * Added ACL filter support for the Intel DCF.
207
208 * **Updated Mellanox mlx5 driver.**
209
210   Updated the Mellanox mlx5 driver with new features and improvements, including:
211
212   * Added vectorized Multi-Packet Rx Queue burst.
213   * Added support for 2 new miniCQE formats: Flow Tag and L3/L4 header.
214   * Added support for PMD level multiple-thread flow insertion.
215   * Added support for matching on fragmented/non-fragmented IPv4/IPv6 packets.
216   * Added support for QinQ packets matching.
217   * Added support for the new VLAN fields ``has_vlan`` in the Ethernet item
218     and ``has_more_vlan`` in the VLAN item.
219   * Updated the supported timeout for Age action to the maximal value supported
220     by the rte_flow API.
221   * Added support for Age action query.
222   * Added support for multi-ports hairpin.
223   * Allow unknown link speed.
224
225   Updated Mellanox mlx5 vDPA driver:
226
227   * Added support of vDPA VirtQ error handling.
228
229 * **Updated Solarflare network PMD.**
230
231   Updated the Solarflare ``sfc_efx`` driver with changes including:
232
233   * Added SR-IOV PF support
234   * Added Alveo SN1000 SmartNICs (EF100 architecture) support including
235     flow API transfer rules for switch HW offload
236   * Added ARMv8 support
237   * Claimed flow API native thread safety
238
239 * **Added Wangxun txgbe PMD.**
240
241   Added a new PMD driver for Wangxun 10 Gigabit Ethernet NICs.
242
243   See the :doc:`../nics/txgbe` for more details.
244
245 * **Updated Virtio driver.**
246
247   * Added support for Vhost-vDPA backend to the Virtio-user PMD.
248   * Changed default link speed to unknown.
249   * Added support for the 200G link speed.
250
251 * **Updated Memif PMD.**
252
253   * Added support for abstract socket addresses.
254   * Changed default socket address type to abstract.
255
256 * **Added UDP/IPv4 GRO support for VxLAN and non-VxLAN packets.**
257
258   For VxLAN packets, added inner UDP/IPv4 support.
259   For non-VxLAN packets, added UDP/IPv4 support.
260
261 * **Extended the flow-perf application.**
262
263   * Added support for user order instead of bit mask.
264     Now the user can create any structure of rte_flow
265     using the flow performance application with any order.
266     Moreover the app also now starts to support inner
267     items matching as well.
268   * Added header modify actions.
269   * Added flag action.
270   * Added raw encap/decap actions.
271   * Added VXLAN encap/decap actions.
272   * Added ICMP (code/type/identifier/sequence number) and ICMP6 (code/type) matching items.
273   * Added option to set port mask for insertion/deletion:
274     ``--portmask=N``
275     where N represents the hexadecimal bitmask of the ports used.
276
277 * **Added raw data-path APIs for cryptodev library.**
278
279   Added raw data-path APIs to Cryptodev to help accelerate external libraries
280   or applications which need to avail of fast cryptodev enqueue/dequeue
281   operations but which do not necessarily need to depend on mbufs and
282   cryptodev operation mempools.
283
284 * **Updated the aesni_mb crypto PMD.**
285
286   * Added support for intel-ipsec-mb version 0.55.
287   * Added support for AES-ECB 128, 192 and 256.
288   * Added support for ZUC-EEA3/EIA3 algorithms.
289   * Added support for SNOW3G-UEA2/UIA2 algorithms.
290   * Added support for KASUMI-F8/F9 algorithms.
291   * Added support for Chacha20-Poly1305.
292   * Added support for AES-256 CCM algorithm.
293
294 * **Updated the aesni_gcm crypto PMD.**
295
296   * Added SGL support for AES-GMAC.
297
298 * **Added Broadcom BCMFS symmetric crypto PMD.**
299
300   Added a symmetric crypto PMD for Broadcom FlexSparc crypto units.
301   See :doc:`../cryptodevs/bcmfs` guide for more details on this new PMD.
302
303 * **Updated NXP DPAA2_SEC crypto PMD.**
304
305   * Added DES-CBC support for cipher_only, chain and ipsec protocol.
306   * Added support for non-HMAC auth algorithms
307     (MD5, SHA1, SHA224, SHA256, SHA384, SHA512).
308
309 * **Updated Marvell NITROX symmetric crypto PMD.**
310
311   * Added AES-GCM support.
312   * Added cipher only offload support.
313
314 * **Updated Marvell OCTEON TX2 crypto PMD.**
315
316   * Updated the OCTEON TX2 crypto PMD lookaside protocol offload for IPsec with
317     IPv6 support.
318
319 * **Updated Intel QAT PMD.**
320
321   * Added Raw Data-path APIs support.
322   * Added support for write combining stores.
323
324 * **Added Intel ACC100 bbdev PMD.**
325
326   Added a new ``acc100`` bbdev driver for the Intel\ |reg| ACC100 accelerator
327   also known as Mount Bryce.  See the
328   :doc:`../bbdevs/acc100` BBDEV guide for more details on this new driver.
329
330 * **Updated rte_security library to support SDAP.**
331
332   ``rte_security_pdcp_xform`` in ``rte_security`` lib is updated to enable
333   5G NR processing of SDAP headers in PMDs.
334
335 * **Added Marvell OCTEON TX2 regex PMD.**
336
337   Added a new PMD driver for the hardware regex offload block for OCTEON TX2 SoC.
338
339   See the :doc:`../regexdevs/octeontx2` for more details.
340
341 * **Updated Software Eventdev driver.**
342
343   Added performance tuning arguments to allow tuning the scheduler for
344   better throughput in high core count use cases.
345
346 * **Added a new driver for the Intel Dynamic Load Balancer v1.0 device.**
347
348   Added the new ``dlb`` eventdev driver for the Intel DLB V1.0 device. See the
349   :doc:`../eventdevs/dlb` eventdev guide for more details on this new driver.
350
351 * **Added a new driver for the Intel Dynamic Load Balancer v2.0 device.**
352
353   Added the new ``dlb2`` eventdev driver for the Intel DLB V2.0 device. See the
354   :doc:`../eventdevs/dlb2` eventdev guide for more details on this new driver.
355
356 * **Added Ice Lake (Gen4) support for Intel NTB.**
357
358   Added NTB device support (4th generation) for the Intel Ice Lake platform.
359
360 * **Updated ioat rawdev driver.**
361
362   The ioat rawdev driver has been updated and enhanced. Changes include:
363
364   * Added support for Intel\ |reg| Data Streaming Accelerator hardware.  For
365     more information, see `Introducing the Intel Data Streaming Accelerator
366     (Intel DSA)
367     <https://01.org/blogs/2019/introducing-intel-data-streaming-accelerator>`_.
368   * Added support for the fill operation via the API ``rte_ioat_enqueue_fill()``,
369     where the hardware fills an area of memory with a repeating pattern.
370   * Added a per-device configuration flag to disable management
371     of user-provided completion handles.
372   * Renamed the ``rte_ioat_do_copies()`` API to ``rte_ioat_perform_ops()``,
373     and renamed the ``rte_ioat_completed_copies()`` API to ``rte_ioat_completed_ops()``
374     to better reflect the APIs' purposes, and remove the implication that
375     they are limited to copy operations only.
376     Note: The old API is still provided but marked as deprecated in the code.
377   * Added a new API ``rte_ioat_fence()`` to add a fence between operations.
378     This API replaces the ``fence`` flag parameter in the ``rte_ioat_enqueue_copies()`` function,
379     and is clearer as there is no ambiguity as to whether the flag should be
380     set on the last operation before the fence or the first operation after it.
381
382 * **Updated the pipeline library for alignment with the P4 language.**
383
384   Added a new Software Switch (SWX) pipeline type that provides more
385   flexibility through APIs and feature alignment with the P4 language.
386   Some enhancements are:
387
388   * The packet headers, meta-data, actions, tables and pipelines are
389     dynamically defined instead of selected from a pre-defined set.
390   * The actions and the pipeline are defined with instructions.
391   * Extern objects and functions can be plugged into the pipeline.
392   * Transaction-oriented table updates.
393
394 * **Added new AVX512 specific classify algorithms for ACL library.**
395
396   * Added new ``RTE_ACL_CLASSIFY_AVX512X16`` vector implementation,
397     which can process up to 16 flows in parallel. Requires AVX512 support.
398
399   * Added new ``RTE_ACL_CLASSIFY_AVX512X32`` vector implementation,
400     which can process up to 32 flows in parallel. Requires AVX512 support.
401
402 * **Added AVX512 lookup implementation for FIB.**
403
404   Added a AVX512 lookup functions implementation into FIB and FIB6 libraries.
405
406 * **Added support to update subport bandwidth dynamically.**
407
408    * Added new API ``rte_sched_port_subport_profile_add`` to add new
409      subport bandwidth profiles to the subport profile table at runtime.
410
411    * Added support to update the subport rate dynamically.
412
413 * **Updated FIPS validation sample application.**
414
415   * Added scatter gather support.
416   * Added NIST GCMVS complaint GMAC test method support.
417
418 * **Updated l3wfd-acl sample application.**
419
420   * Added new optional parameter ``--eth-dest`` for the ``l3fwd-acl`` to allow
421     the user to specify the destination mac address for each ethernet port
422     used.
423   * Replaced ``--scalar`` command-line option with ``--alg=<value>``, to allow
424     the user to select the desired classify method.
425
426 * **Updated vhost sample application.**
427
428   Added vhost asynchronous APIs support, which demonstrates how the application
429   can leverage IOAT DMA channels with vhost asynchronous APIs.
430   See the :doc:`../sample_app_ug/vhost` for more details.
431
432
433 Removed Items
434 -------------
435
436 .. This section should contain removed items in this release. Sample format:
437
438    * Add a short 1-2 sentence description of the removed item
439      in the past tense.
440
441    This section is a comment. Do not overwrite or remove it.
442    Also, make sure to start the actual text at the margin.
443    =======================================================
444
445 * build: Support for the Make build system has been removed from DPDK.
446   Meson is now the primary build system.
447   Sample applications can still be built with Make standalone, using pkg-config.
448
449 * vhost: Dequeue zero-copy support has been removed.
450
451 * kernel: The module ``igb_uio`` has been moved to the git repository
452   `dpdk-kmods <https://git.dpdk.org/dpdk-kmods/>`_ in a new directory
453   ``linux/igb_uio``.
454
455 * Removed Python 2 support since it was sunsetted in January 2020. See
456   `Sunsetting Python 2 <https://www.python.org/doc/sunset-python-2/>`_
457
458 * Removed TEP termination sample application.
459
460
461 API Changes
462 -----------
463
464 .. This section should contain API changes. Sample format:
465
466    * sample: Add a short 1-2 sentence description of the API change
467      which was announced in the previous releases and made in this release.
468      Start with a scope label like "ethdev:".
469      Use fixed width quotes for ``function_names`` or ``struct_names``.
470      Use the past tense.
471
472    This section is a comment. Do not overwrite or remove it.
473    Also, make sure to start the actual text at the margin.
474    =======================================================
475
476 * build macros: The macros defining ``RTE_MACHINE_CPUFLAG_*`` have been removed.
477   The information provided by these macros is now available through standard
478   compiler macros.
479
480 * eal: Replaced the function ``rte_get_master_lcore()`` with
481   ``rte_get_main_lcore()``. The old function is deprecated.
482
483   The iterator for worker lcores is also changed:
484   ``RTE_LCORE_FOREACH_SLAVE`` is replaced with
485   ``RTE_LCORE_FOREACH_WORKER``.
486
487 * eal: The definitions related to including and excluding devices
488   have been changed from blacklist/whitelist to block/allow list.
489   There are compatibility macros and command line mapping to accept
490   the old values but applications and scripts are strongly encouraged
491   to migrate to the new names.
492
493 * eal: The ``rte_logs`` struct and global symbol was made private
494   and is no longer part of the API.
495
496 * eal: Made the ``rte_dev_event`` structure private to the EAL as no public API
497   used it.
498
499 * eal: ``rte_cio_rmb()`` and ``rte_cio_wmb()`` were deprecated since 20.08
500   and are removed in this release.
501
502 * mem: Removed the unioned field ``phys_addr`` from
503   the structures ``rte_memseg`` and ``rte_memzone``.
504   The field ``iova`` remains from the old unions.
505
506 * mempool: Removed the unioned fields ``phys_addr`` and ``physaddr`` from
507   the structures ``rte_mempool_memhdr`` and ``rte_mempool_objhdr``.
508   The field ``iova`` remains from the old unions.
509   The flag name ``MEMPOOL_F_NO_PHYS_CONTIG`` is removed,
510   while the aliased flag ``MEMPOOL_F_NO_IOVA_CONTIG`` is kept.
511
512 * mbuf: Removed the functions ``rte_mbuf_data_dma_addr*``
513   and the macros ``rte_pktmbuf_mtophys*``.
514   The same functionality is still available with the functions and macros
515   having ``iova`` in their names instead of ``dma_addr`` or ``mtophys``.
516
517 * mbuf: Removed the unioned field ``buf_physaddr`` from ``rte_mbuf``.
518   The field ``buf_iova`` remains from the old union.
519
520 * mbuf: Removed the unioned field ``refcnt_atomic`` from
521   the structures ``rte_mbuf`` and ``rte_mbuf_ext_shared_info``.
522   The field ``refcnt`` remains from the old unions.
523
524 * mbuf: Removed the unioned fields ``userdata`` and ``udata64``
525   from the structure ``rte_mbuf``. It is replaced with dynamic fields.
526
527 * mbuf: Removed the field ``seqn`` from the structure ``rte_mbuf``.
528   It is replaced with dynamic fields.
529
530 * mbuf: Removed the field ``timestamp`` from the structure ``rte_mbuf``.
531   It is replaced with the dynamic field RTE_MBUF_DYNFIELD_TIMESTAMP_NAME
532   which was previously used only for Tx.
533
534 * pci: Removed the ``rte_kernel_driver`` enum defined in rte_dev.h and
535   replaced with a private enum in the PCI subsystem.
536
537 * pci: Removed the PCI resources map API from the public API
538   (``pci_map_resource`` and ``pci_unmap_resource``) and moved it to the
539   PCI bus driver along with the PCI resources lists and associated structures
540   (``pci_map``, ``pci_msix_table``, ``mapped_pci_resource`` and
541   ``mapped_pci_res_list``).
542
543 * ethdev: Removed the ``kdrv`` field in the ethdev ``rte_eth_dev_data``
544   structure as it gave no useful abstracted information to the applications.
545
546 * ethdev: ``rte_eth_rx_descriptor_done()`` API has been deprecated.
547
548 * ethdev: Renamed basic statistics per queue. An underscore is inserted
549   between the queue number and the rest of the xstat name:
550
551   * ``rx_qN*`` -> ``rx_qN_*``
552   * ``tx_qN*`` -> ``tx_qN_*``
553
554 * ethdev: Added capability to query age flow action.
555
556 * ethdev: Changed ``rte_eth_dev_stop`` return value from ``void`` to
557   ``int`` to provide a way to report various error conditions.
558
559 * ethdev: Added ``int`` return type to ``rte_eth_dev_close()``.
560
561 * ethdev: Renamed internal functions:
562
563   * ``_rte_eth_dev_callback_process()`` -> ``rte_eth_dev_callback_process()``
564   * ``_rte_eth_dev_reset`` -> ``rte_eth_dev_internal_reset()``
565
566 * ethdev: Modified field type of ``base`` and ``nb_queue`` in struct
567   ``rte_eth_dcb_tc_queue_mapping`` from ``uint8_t`` to ``uint16_t``.
568   As the data of ``uint8_t`` will be truncated when queue number in
569   a TC is greater than 256.
570
571 * ethdev: Removed the legacy filter API, including
572   ``rte_eth_dev_filter_supported()`` and ``rte_eth_dev_filter_ctrl()``.
573
574 * ethdev: Removed the legacy L2 tunnel configuration API, including
575   ``rte_eth_dev_l2_tunnel_eth_type_conf()`` and
576   ``rte_eth_dev_l2_tunnel_offload_set()``..
577
578 * vhost: Moved vDPA APIs from experimental to stable.
579
580 * vhost: Add a new function ``rte_vhost_crypto_driver_start`` to be called
581   instead of ``rte_vhost_driver_start`` by crypto applications.
582
583 * cryptodev: The structure ``rte_crypto_sym_vec`` is updated to support both
584   cpu_crypto synchronous operations and asynchronous raw data-path APIs.
585
586 * cryptodev: ``RTE_CRYPTO_AEAD_LIST_END`` from ``enum rte_crypto_aead_algorithm``,
587   ``RTE_CRYPTO_CIPHER_LIST_END`` from ``enum rte_crypto_cipher_algorithm`` and
588   ``RTE_CRYPTO_AUTH_LIST_END`` from ``enum rte_crypto_auth_algorithm``
589   are removed to avoid future ABI breakage while adding new algorithms.
590
591 * scheduler: Renamed functions ``rte_cryptodev_scheduler_slave_attach``,
592   ``rte_cryptodev_scheduler_slave_detach`` and
593   ``rte_cryptodev_scheduler_slaves_get`` to
594   ``rte_cryptodev_scheduler_worker_attach``,
595   ``rte_cryptodev_scheduler_worker_detach`` and
596   ``rte_cryptodev_scheduler_workers_get`` accordingly.
597
598 * scheduler: Renamed the configuration value
599   ``RTE_CRYPTODEV_SCHEDULER_MAX_NB_SLAVES`` to
600   ``RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKERS``.
601
602 * security: The ``hfn_ovrd`` field in ``rte_security_pdcp_xform`` is changed from
603   ``uint32_t`` to ``uint8_t`` so that a new field ``sdap_enabled`` can be added
604   to support SDAP.
605
606 * security: The API ``rte_security_session_create`` is updated to take two
607   mempool objects: one for session and other for session private data.
608   So the application need to create two mempools and get the size of session
609   private data using API ``rte_security_session_get_size`` for private session
610   mempool.
611
612 * ipsec: ``RTE_SATP_LOG2_NUM`` has been dropped from ``enum`` and
613   subsequently moved ``rte_ipsec`` lib from experimental to stable.
614
615 * baseband/fpga_lte_fec: Renamed function ``fpga_lte_fec_configure`` to
616   ``rte_fpga_lte_fec_configure`` and structure ``fpga_lte_fec_conf`` to
617   ``rte_fpga_lte_fec_conf``.
618
619 * baseband/fpga_5gnr_fec: Renamed function ``fpga_5gnr_fec_configure`` to
620   ``rte_fpga_5gnr_fec_configure`` and structure ``fpga_5gnr_fec_conf`` to
621   ``rte_fpga_5gnr_fec_conf``.
622
623 * rawdev: Added a structure size parameter to the functions
624   ``rte_rawdev_queue_setup()``, ``rte_rawdev_queue_conf_get()``,
625   ``rte_rawdev_info_get()`` and ``rte_rawdev_configure()``,
626   allowing limited driver type-checking and ABI compatibility.
627
628 * rawdev: Changed the return type of the function ``rte_dev_info_get()``
629   and the function ``rte_rawdev_queue_conf_get()``
630   from ``void`` to ``int`` allowing the return of error codes from drivers.
631
632 * rawdev: The running of a drivers ``selftest()`` function can now be done
633   using the ``rawdev_autotest`` command in the ``dpdk-test`` binary. This
634   command now calls the self-test function for each rawdev found on the
635   system, and does not require a specific command per device type.
636   Following this change, the ``ioat_rawdev_autotest`` command has been
637   removed as no longer needed.
638
639 * raw/ioat: As noted above, the ``rte_ioat_do_copies()`` and
640   ``rte_ioat_completed_copies()`` functions have been renamed to
641   ``rte_ioat_perform_ops()`` and ``rte_ioat_completed_ops()`` respectively.
642
643 * stack: the experimental tag has been dropped from the stack library, and its
644   interfaces are considered stable as of DPDK 20.11.
645
646 * bpf: ``RTE_BPF_XTYPE_NUM`` has been dropped from ``rte_bpf_xtype``.
647
648 * gso: Changed ``rte_gso_segment`` behaviour and return value:
649
650   * ``pkt`` is not saved to ``pkts_out[0]`` if not GSOed.
651   * Return 0 instead of 1 for the above case.
652   * ``pkt`` is not freed, no matter whether it is GSOed, leaving to the caller.
653
654 * acl: ``RTE_ACL_CLASSIFY_NUM`` enum value has been removed.
655   This enum value was not used inside DPDK, while it prevented the addition of new
656   classify algorithms without causing an ABI breakage.
657
658 * sched: Added ``subport_profile_id`` as an argument
659   to function ``rte_sched_subport_config``.
660
661 * sched: Removed ``tb_rate``, ``tc_rate``, ``tc_period`` and ``tb_size``
662   from ``struct rte_sched_subport_params``.
663
664
665 ABI Changes
666 -----------
667
668 .. This section should contain ABI changes. Sample format:
669
670    * sample: Add a short 1-2 sentence description of the ABI change
671      which was announced in the previous releases and made in this release.
672      Start with a scope label like "ethdev:".
673      Use fixed width quotes for ``function_names`` or ``struct_names``.
674      Use the past tense.
675
676    This section is a comment. Do not overwrite or remove it.
677    Also, make sure to start the actual text at the margin.
678    =======================================================
679
680 * eal: Removed the unimplemented function ``rte_dump_registers()``.
681
682 * ``ethdev`` changes
683
684   * The following device operation function pointers moved
685     from ``struct eth_dev_ops`` to ``struct rte_eth_dev``:
686
687     * ``eth_rx_queue_count_t       rx_queue_count;``
688     * ``eth_rx_descriptor_done_t   rx_descriptor_done;``
689     * ``eth_rx_descriptor_status_t rx_descriptor_status;``
690     * ``eth_tx_descriptor_status_t tx_descriptor_status;``
691
692   * ``struct eth_dev_ops`` is no longer accessible by applications,
693     which was already an internal data structure.
694
695   * ``ethdev`` internal functions are marked with ``__rte_internal`` tag.
696
697   * Added extensions' attributes to struct ``rte_flow_item_ipv6``.
698     A set of additional values added to struct, indicating the existence of
699     every defined extension header type.
700     Applications should use the new values for identification of existing
701     extensions in the packet header.
702
703   * Added fields ``rx_seg`` and ``rx_nseg`` to ``rte_eth_rxconf`` structure
704     to provide extended description of the receiving buffer.
705
706   * ``struct rte_eth_hairpin_conf`` has two new members:
707
708     * ``uint32_t tx_explicit:1;``
709     * ``uint32_t manual_bind:1;``
710
711   * Added new field ``has_vlan`` to structure ``rte_flow_item_eth``,
712     indicating that packet header contains at least one VLAN.
713
714   * Added new field ``has_more_vlan`` to the structure
715     ``rte_flow_item_vlan``, indicating that packet header contains
716     at least one more VLAN, after this VLAN.
717
718 * eventdev: The following structures are modified to support DLB/DLB2 PMDs
719   and future extensions:
720
721   * ``rte_event_dev_info``
722   * ``rte_event_dev_config``
723   * ``rte_event_port_conf``
724
725 * sched: Added new fields to ``struct rte_sched_subport_port_params``.
726
727 * lpm: Removed fields other than ``tbl24`` and ``tbl8`` from the struct
728   ``rte_lpm``. The removed fields were made internal.
729
730
731 Tested Platforms
732 ----------------
733
734 .. This section should contain a list of platforms that were tested
735    with this release.
736
737    The format is:
738
739    * <vendor> platform with <vendor> <type of devices> combinations
740
741      * List of CPU
742      * List of OS
743      * List of devices
744      * Other relevant details...
745
746    This section is a comment. Do not overwrite or remove it.
747    Also, make sure to start the actual text at the margin.
748    =======================================================
749
750 * Intel\ |reg| platforms with Intel\ |reg| NICs combinations
751
752   * CPU
753
754     * Intel\ |reg| Atom\ |trade| CPU C3758 @ 2.20GHz
755     * Intel\ |reg| Atom\ |trade| CPU C3858 @ 2.00GHz
756     * Intel\ |reg| Atom\ |trade| CPU C3958 @ 2.00GHz
757     * Intel\ |reg| Xeon\ |reg| CPU D-1541 @ 2.10GHz
758     * Intel\ |reg| Xeon\ |reg| CPU D-1553N @ 2.30GHz
759     * Intel\ |reg| Xeon\ |reg| CPU E5-2680 0 @ 2.70GHz
760     * Intel\ |reg| Xeon\ |reg| CPU E5-2680 v2 @ 2.80GHz
761     * Intel\ |reg| Xeon\ |reg| CPU E5-2699 v3 @ 2.30GHz
762     * Intel\ |reg| Xeon\ |reg| CPU E5-2699 v4 @ 2.20GHz
763     * Intel\ |reg| Xeon\ |reg| Gold 5218N CPU @ 2.30GHz
764     * Intel\ |reg| Xeon\ |reg| Gold 6139 CPU @ 2.30GHz
765     * Intel\ |reg| Xeon\ |reg| Gold 6252N CPU @ 2.30GHz
766     * Intel\ |reg| Xeon\ |reg| Platinum 8180 CPU @ 2.50GHz
767     * Intel\ |reg| Xeon\ |reg| Platinum 8280M CPU @ 2.70GHz
768
769   * OS:
770
771     * CentOS 8.2
772     * Fedora 33
773     * FreeBSD 12.1
774     * OpenWRT 19.07.3
775     * Red Hat Enterprise Linux Server release 8.2
776     * Suse 15 SP1
777     * Ubuntu 18.04
778     * Ubuntu 20.04
779     * Ubuntu 20.10
780
781   * NICs:
782
783     * Intel\ |reg| Ethernet Controller E810-C for SFP (4x25G)
784
785       * Firmware version: 2.30 0x80004dcf 1.2839.0
786       * Device id (pf/vf): 8086:1593 / 8086:1889
787       * Driver version: 1.3.0 (ice)
788       * OS Default DDP: 1.3.20.0
789       * COMMS DDP: 1.3.24.0
790
791     * Intel\ |reg| Ethernet Controller E810-C for QSFP (2x100G)
792
793       * Firmware version: 2.30 0x80004dd0 1.2839.0
794       * Device id (pf/vf): 8086:1592 / 8086:1889
795       * Driver version: 1.3.0 (ice)
796       * OS Default DDP: 1.3.20.0
797       * COMMS DDP: 1.3.24.0
798
799     * Intel\ |reg| 82599ES 10 Gigabit Ethernet Controller
800
801       * Firmware version: 0x61bf0001
802       * Device id (pf/vf): 8086:10fb / 8086:10ed
803       * Driver version: 5.7.1 (ixgbe)
804
805     * Intel\ |reg| Corporation Ethernet Connection X552/X557-AT 10GBASE-T
806
807       * Firmware version: 0x800003e7
808       * Device id (pf/vf): 8086:15ad / 8086:15a8
809       * Driver version: 5.1.0-k (ixgbe)
810
811     * Intel\ |reg| Corporation Ethernet Controller 10G X550T
812
813       * Firmware version: 0x80000482
814       * Device id (pf): 8086:1563
815       * Driver version: 5.7.1 (ixgbe)
816
817     * Intel\ |reg| Ethernet Converged Network Adapter X710-DA4 (4x10G)
818
819       * Firmware version: 8.00 0x80008b82 1.2766.0
820       * Device id (pf/vf): 8086:1572 / 8086:154c
821       * Driver version: 2.13.10 (i40e)
822
823     * Intel\ |reg| Corporation Ethernet Connection X722 for 10GbE SFP+ (4x10G)
824
825       * Firmware version: 5.00 0x800023c3 1.2766.0
826       * Device id (pf/vf): 8086:37d0 / 8086:37cd
827       * Driver version: 2.13.10 (i40e)
828
829     * Intel\ |reg| Corporation Ethernet Connection X722 for 10GBASE-T (2x10G)
830
831       * Firmware version: 4.10 0x80001a7a
832       * Device id (pf/vf): 8086:37d2 / 8086:37cd
833       * Driver version: 2.13.10 (i40e)
834
835     * Intel\ |reg| Ethernet Converged Network Adapter XXV710-DA2 (2x25G)
836
837       * Firmware version: 8.00 0x80008c1a 1.2766.0
838       * Device id (pf/vf): 8086:158b / 8086:154c
839       * Driver version: 2.13.10 (i40e)
840
841     * Intel\ |reg| Ethernet Converged Network Adapter XL710-QDA2 (2X40G)
842
843       * Firmware version: 8.00 0x80008b82 1.2766.0
844       * Device id (pf/vf): 8086:1583 / 8086:154c
845       * Driver version: 2.13.10 (i40e)
846
847     * Intel\ |reg| Corporation I350 Gigabit Network Connection
848
849       * Firmware version: 1.63, 0x80000cbc
850       * Device id (pf/vf): 8086:1521 / 8086:1520
851       * Driver version: 5.4.0-k (igb)
852
853     * Intel\ |reg| Corporation I210 Gigabit Network Connection
854
855       * Firmware version: 3.25, 0x800006eb
856       * Device id (pf): 8086:1533
857       * Driver version: 5.4.0-k (igb)
858
859     * Intel\ |reg| Ethernet Controller 10-Gigabit X540-AT2
860
861       * Firmware version: 0x800005f9
862       * Device id (pf): 8086:1528
863       * Driver version: 5.1.0-k (ixgbe)
864
865     * Intel\ |reg| Ethernet Converged Network Adapter X710-T2L
866
867       * Firmware version: 8.00 0x80008d10 1.2766.0
868       * Device id (pf): 8086:15ff
869       * Driver version: 2.13.10 (i40e)
870
871 * Intel\ |reg| platforms with Mellanox\ |reg| NICs combinations
872
873   * CPU:
874
875     * Intel\ |reg| Xeon\ |reg| Gold 6154 CPU @ 3.00GHz
876     * Intel\ |reg| Xeon\ |reg| CPU E5-2697A v4 @ 2.60GHz
877     * Intel\ |reg| Xeon\ |reg| CPU E5-2697 v3 @ 2.60GHz
878     * Intel\ |reg| Xeon\ |reg| CPU E5-2680 v2 @ 2.80GHz
879     * Intel\ |reg| Xeon\ |reg| CPU E5-2670 0 @ 2.60GHz
880     * Intel\ |reg| Xeon\ |reg| CPU E5-2650 v4 @ 2.20GHz
881     * Intel\ |reg| Xeon\ |reg| CPU E5-2640 @ 2.50GHz
882     * Intel\ |reg| Xeon\ |reg| CPU E5-2650 0 @ 2.00GHz
883     * Intel\ |reg| Xeon\ |reg| CPU E5-2620 v4 @ 2.10GHz
884
885   * OS:
886
887     * Red Hat Enterprise Linux release 8.2 (Ootpa)
888     * Red Hat Enterprise Linux Server release 7.8 (Maipo)
889     * Red Hat Enterprise Linux Server release 7.6 (Maipo)
890     * Red Hat Enterprise Linux Server release 7.5 (Maipo)
891     * Red Hat Enterprise Linux Server release 7.4 (Maipo)
892     * Red Hat Enterprise Linux Server release 7.3 (Maipo)
893     * Red Hat Enterprise Linux Server release 7.2 (Maipo)
894     * Ubuntu 20.04
895     * Ubuntu 18.04
896     * Ubuntu 16.04
897     * SUSE Enterprise Linux 15 SP2
898     * SUSE Enterprise Linux 12 SP4
899
900   * OFED:
901
902     * MLNX_OFED 5.2-0.3.3.0 and above
903     * MLNX_OFED 5.1-2.5.8.0
904
905   * upstream kernel:
906
907     * Linux 5.10.0-rc2 and above
908
909   * rdma-core:
910
911     * rdma-core-31.0-1 and above
912
913   * NICs:
914
915     * Mellanox\ |reg| ConnectX\ |reg|-3 Pro 40G MCX354A-FCC_Ax (2x40G)
916
917       * Host interface: PCI Express 3.0 x8
918       * Device ID: 15b3:1007
919       * Firmware version: 2.42.5000
920
921     * Mellanox\ |reg| ConnectX\ |reg|-3 Pro 40G MCX354A-FCCT (2x40G)
922
923       * Host interface: PCI Express 3.0 x8
924       * Device ID: 15b3:1007
925       * Firmware version: 2.42.5000
926
927     * Mellanox\ |reg| ConnectX\ |reg|-4 Lx 25G MCX4121A-ACAT (2x25G)
928
929       * Host interface: PCI Express 3.0 x8
930       * Device ID: 15b3:1015
931       * Firmware version: 14.29.0476 and above
932
933     * Mellanox\ |reg| ConnectX\ |reg|-4 Lx 50G MCX4131A-GCAT (1x50G)
934
935       * Host interface: PCI Express 3.0 x8
936       * Device ID: 15b3:1015
937       * Firmware version: 14.29.0476 and above
938
939     * Mellanox\ |reg| ConnectX\ |reg|-5 100G MCX516A-CCAT (2x100G)
940
941       * Host interface: PCI Express 3.0 x16
942       * Device ID: 15b3:1017
943       * Firmware version: 16.29.0476 and above
944
945     * Mellanox\ |reg| ConnectX\ |reg|-5 100G MCX556A-ECAT (2x100G)
946
947       * Host interface: PCI Express 3.0 x16
948       * Device ID: 15b3:1017
949       * Firmware version: 16.29.0476 and above
950
951     * Mellanox\ |reg| ConnectX\ |reg|-5 100G MCX556A-EDAT (2x100G)
952
953       * Host interface: PCI Express 3.0 x16
954       * Device ID: 15b3:1017
955       * Firmware version: 16.29.0476 and above
956
957     * Mellanox\ |reg| ConnectX\ |reg|-5 Ex EN 100G MCX516A-CDAT (2x100G)
958
959       * Host interface: PCI Express 4.0 x16
960       * Device ID: 15b3:1019
961       * Firmware version: 16.29.0476 and above
962
963     * Mellanox\ |reg| ConnectX\ |reg|-6 Dx EN 100G MCX623106AN-CDAT (2x100G)
964
965       * Host interface: PCI Express 4.0 x16
966       * Device ID: 15b3:101d
967       * Firmware version: 22.29.0476 and above
968
969     * Mellanox\ |reg| ConnectX\ |reg|-6 Lx EN 25G MCX631102AN-ADAT (2x25G)
970
971       * Host interface: PCI Express 4.0 x8
972       * Device ID: 15b3:101f
973       * Firmware version: 26.29.0470 and above
974
975 * Mellanox\ |reg| BlueField\ |reg| SmartNIC
976
977   * Mellanox\ |reg| BlueField\ |reg| 2 SmartNIC MT41686 - MBF2H332A-AEEOT (2x25G)
978
979     * Host interface: PCI Express 3.0 x16
980     * Device ID: 15b3:a2d2
981     * Firmware version: 24.29.0476 and above
982
983   * Embedded software:
984
985     * CentOS Linux release 7.6.1810 (AltArch)
986     * MLNX_OFED 5.2-0.3.2 and above
987     * DPDK application running on Arm cores
988
989 * Intel\ |reg| platforms with Broadcom\ |reg| NICs combinations
990
991   * CPU:
992
993     * Intel\ |reg| Xeon\ |reg| Gold 6154 CPU @ 3.00GHz
994     * Intel\ |reg| Xeon\ |reg| CPU E5-2667 v3 @ 3.20GHz
995     * Intel\ |reg| Xeon\ |reg| CPU E5-2650 v2 @ 2.60GHz
996     * Intel\ |reg| Xeon\ |reg| Gold 6142 CPU @ 2.60GHz
997     * Intel\ |reg| Xeon\ |reg| Silver 4110 CPU @ 2.10GHz
998     * Intel\ |reg| Xeon\ |reg| CPU E3-1270 v3 @ 3.50GHz
999     * Intel\ |reg| Xeon\ |reg| Gold 6134M CPU @ 3.20GHz
1000
1001   * OS:
1002
1003     * Red Hat Enterprise Linux Server release 8.1
1004     * Red Hat Enterprise Linux Server release 7.6
1005     * Red Hat Enterprise Linux Server release 7.5
1006     * Ubuntu 16.04
1007     * Centos 8.1
1008     * Centos 7.8
1009     * Centos 7.7
1010
1011   * upstream kernel:
1012
1013     * Linux 5.3.4
1014
1015   * NICs:
1016
1017     * Broadcom\ |reg| NetXtreme-E\ |reg| Series P225p (2x25G)
1018
1019       * Host interface: PCI Express 3.0 x8
1020       * Firmware version: 214.4.114.0 and above
1021
1022     * Broadcom\ |reg| NetXtreme-E\ |reg| Series P425p (4x25G)
1023
1024       * Host interface: PCI Express 3.0 x16
1025       * Firmware version: 216.4.259.0 and above
1026
1027     * Broadcom\ |reg| NetXtreme-E\ |reg| Series P2100G (2x100G)
1028
1029       * Host interface: PCI Express 3.0 x16
1030       * Firmware version: 216.1.259.0 and above
1031
1032     * Broadcom\ |reg| NetXtreme-E\ |reg| Series P425p (4x25G)
1033
1034       * Host interface: PCI Express 4.0 x16
1035       * Firmware version: 216.1.259.0 and above
1036
1037     * Broadcom\ |reg| NetXtreme-E\ |reg| Series P2100G (2x100G)
1038
1039       * Host interface: PCI Express 4.0 x16
1040       * Firmware version: 216.1.259.0 and above
1041
1042 * Broadcom\ |reg| NetXtreme-S\ |reg| Series SmartNIC
1043
1044   * Broadcom\ |reg| NetXtreme-S\ |reg| Series PS225-H16 SmartNIC (2x25G)
1045
1046     * Host interface: PCI Express 3.0 x8
1047     * Firmware version: 217.0.59.0, 218.1.63.0
1048
1049   * Embedded software:
1050
1051     * Broadcom Yocto Linux
1052     * Kernel version: 4.14.174
1053     * DPDK application running on 8 Arm Cortex-A72 cores