d07fd815dcc3a4e2eb25e035f7b59ce85d461831
[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.
349
350 * **Added a new driver for the Intel Dynamic Load Balancer v2.0 device.**
351
352   Added the new ``dlb2`` eventdev driver for the Intel DLB V2.0 device. See the
353   :doc:`../eventdevs/dlb2` eventdev guide for more details on this new driver.
354
355 * **Added Ice Lake (Gen4) support for Intel NTB.**
356
357   Added NTB device support (4th generation) for the Intel Ice Lake platform.
358
359 * **Updated ioat rawdev driver.**
360
361   The ioat rawdev driver has been updated and enhanced. Changes include:
362
363   * Added support for Intel\ |reg| Data Streaming Accelerator hardware.  For
364     more information, see `Introducing the Intel Data Streaming Accelerator
365     (Intel DSA)
366     <https://01.org/blogs/2019/introducing-intel-data-streaming-accelerator>`_.
367   * Added support for the fill operation via the API ``rte_ioat_enqueue_fill()``,
368     where the hardware fills an area of memory with a repeating pattern.
369   * Added a per-device configuration flag to disable management
370     of user-provided completion handles.
371   * Renamed the ``rte_ioat_do_copies()`` API to ``rte_ioat_perform_ops()``,
372     and renamed the ``rte_ioat_completed_copies()`` API to ``rte_ioat_completed_ops()``
373     to better reflect the APIs' purposes, and remove the implication that
374     they are limited to copy operations only.
375     Note: The old API is still provided but marked as deprecated in the code.
376   * Added a new API ``rte_ioat_fence()`` to add a fence between operations.
377     This API replaces the ``fence`` flag parameter in the ``rte_ioat_enqueue_copies()`` function,
378     and is clearer as there is no ambiguity as to whether the flag should be
379     set on the last operation before the fence or the first operation after it.
380
381 * **Updated the pipeline library for alignment with the P4 language.**
382
383   Added a new Software Switch (SWX) pipeline type that provides more
384   flexibility through APIs and feature alignment with the P4 language.
385   Some enhancements are:
386
387   * The packet headers, meta-data, actions, tables and pipelines are
388     dynamically defined instead of selected from a pre-defined set.
389   * The actions and the pipeline are defined with instructions.
390   * Extern objects and functions can be plugged into the pipeline.
391   * Transaction-oriented table updates.
392
393 * **Added new AVX512 specific classify algorithms for ACL library.**
394
395   * Added new ``RTE_ACL_CLASSIFY_AVX512X16`` vector implementation,
396     which can process up to 16 flows in parallel. Requires AVX512 support.
397
398   * Added new ``RTE_ACL_CLASSIFY_AVX512X32`` vector implementation,
399     which can process up to 32 flows in parallel. Requires AVX512 support.
400
401 * **Added AVX512 lookup implementation for FIB.**
402
403   Added a AVX512 lookup functions implementation into FIB and FIB6 libraries.
404
405 * **Added support to update subport bandwidth dynamically.**
406
407    * Added new API ``rte_sched_port_subport_profile_add`` to add new
408      subport bandwidth profiles to the subport profile table at runtime.
409
410    * Added support to update the subport rate dynamically.
411
412 * **Updated FIPS validation sample application.**
413
414   * Added scatter gather support.
415   * Added NIST GCMVS complaint GMAC test method support.
416
417 * **Updated l3wfd-acl sample application.**
418
419   * Added new optional parameter ``--eth-dest`` for the ``l3fwd-acl`` to allow
420     the user to specify the destination mac address for each ethernet port
421     used.
422   * Replaced ``--scalar`` command-line option with ``--alg=<value>``, to allow
423     the user to select the desired classify method.
424
425 * **Updated vhost sample application.**
426
427   Added vhost asynchronous APIs support, which demonstrates how the application
428   can leverage IOAT DMA channels with vhost asynchronous APIs.
429   See the :doc:`../sample_app_ug/vhost` for more details.
430
431
432 Removed Items
433 -------------
434
435 .. This section should contain removed items in this release. Sample format:
436
437    * Add a short 1-2 sentence description of the removed item
438      in the past tense.
439
440    This section is a comment. Do not overwrite or remove it.
441    Also, make sure to start the actual text at the margin.
442    =======================================================
443
444 * build: Support for the Make build system has been removed from DPDK.
445   Meson is now the primary build system.
446   Sample applications can still be built with Make standalone, using pkg-config.
447
448 * vhost: Dequeue zero-copy support has been removed.
449
450 * kernel: The module ``igb_uio`` has been moved to the git repository
451   `dpdk-kmods <https://git.dpdk.org/dpdk-kmods/>`_ in a new directory
452   ``linux/igb_uio``.
453
454 * Removed Python 2 support since it was sunsetted in January 2020. See
455   `Sunsetting Python 2 <https://www.python.org/doc/sunset-python-2/>`_
456
457 * Removed TEP termination sample application.
458
459 * Removed the deprecated ``dpdk-setup.sh`` script.
460
461
462 API Changes
463 -----------
464
465 .. This section should contain API changes. Sample format:
466
467    * sample: Add a short 1-2 sentence description of the API change
468      which was announced in the previous releases and made in this release.
469      Start with a scope label like "ethdev:".
470      Use fixed width quotes for ``function_names`` or ``struct_names``.
471      Use the past tense.
472
473    This section is a comment. Do not overwrite or remove it.
474    Also, make sure to start the actual text at the margin.
475    =======================================================
476
477 * build macros: The macros defining ``RTE_MACHINE_CPUFLAG_*`` have been removed.
478   The information provided by these macros is now available through standard
479   compiler macros.
480
481 * eal: Replaced the function ``rte_get_master_lcore()`` with
482   ``rte_get_main_lcore()``. The old function is deprecated.
483
484   The iterator for worker lcores is also changed:
485   ``RTE_LCORE_FOREACH_SLAVE`` is replaced with
486   ``RTE_LCORE_FOREACH_WORKER``.
487
488 * eal: The definitions related to including and excluding devices
489   have been changed from blacklist/whitelist to block/allow list.
490   There are compatibility macros and command line mapping to accept
491   the old values but applications and scripts are strongly encouraged
492   to migrate to the new names.
493
494 * eal: The ``rte_logs`` struct and global symbol was made private
495   and is no longer part of the API.
496
497 * eal: Made the ``rte_dev_event`` structure private to the EAL as no public API
498   used it.
499
500 * eal: ``rte_cio_rmb()`` and ``rte_cio_wmb()`` were deprecated since 20.08
501   and are removed in this release.
502
503 * mem: Removed the unioned field ``phys_addr`` from
504   the structures ``rte_memseg`` and ``rte_memzone``.
505   The field ``iova`` remains from the old unions.
506
507 * mempool: Removed the unioned fields ``phys_addr`` and ``physaddr`` from
508   the structures ``rte_mempool_memhdr`` and ``rte_mempool_objhdr``.
509   The field ``iova`` remains from the old unions.
510   The flag name ``MEMPOOL_F_NO_PHYS_CONTIG`` is removed,
511   while the aliased flag ``MEMPOOL_F_NO_IOVA_CONTIG`` is kept.
512
513 * mbuf: Removed the functions ``rte_mbuf_data_dma_addr*``
514   and the macros ``rte_pktmbuf_mtophys*``.
515   The same functionality is still available with the functions and macros
516   having ``iova`` in their names instead of ``dma_addr`` or ``mtophys``.
517
518 * mbuf: Removed the unioned field ``buf_physaddr`` from ``rte_mbuf``.
519   The field ``buf_iova`` remains from the old union.
520
521 * mbuf: Removed the unioned field ``refcnt_atomic`` from
522   the structures ``rte_mbuf`` and ``rte_mbuf_ext_shared_info``.
523   The field ``refcnt`` remains from the old unions.
524
525 * mbuf: Removed the unioned fields ``userdata`` and ``udata64``
526   from the structure ``rte_mbuf``. It is replaced with dynamic fields.
527
528 * mbuf: Removed the field ``seqn`` from the structure ``rte_mbuf``.
529   It is replaced with dynamic fields.
530
531 * mbuf: Removed the field ``timestamp`` from the structure ``rte_mbuf``.
532   It is replaced with the dynamic field RTE_MBUF_DYNFIELD_TIMESTAMP_NAME
533   which was previously used only for Tx.
534
535 * pci: Removed the ``rte_kernel_driver`` enum defined in rte_dev.h and
536   replaced with a private enum in the PCI subsystem.
537
538 * pci: Removed the PCI resources map API from the public API
539   (``pci_map_resource`` and ``pci_unmap_resource``) and moved it to the
540   PCI bus driver along with the PCI resources lists and associated structures
541   (``pci_map``, ``pci_msix_table``, ``mapped_pci_resource`` and
542   ``mapped_pci_res_list``).
543
544 * ethdev: Removed the ``kdrv`` field in the ethdev ``rte_eth_dev_data``
545   structure as it gave no useful abstracted information to the applications.
546
547 * ethdev: ``rte_eth_rx_descriptor_done()`` API has been deprecated.
548
549 * ethdev: Renamed basic statistics per queue. An underscore is inserted
550   between the queue number and the rest of the xstat name:
551
552   * ``rx_qN*`` -> ``rx_qN_*``
553   * ``tx_qN*`` -> ``tx_qN_*``
554
555 * ethdev: Added capability to query age flow action.
556
557 * ethdev: Changed ``rte_eth_dev_stop`` return value from ``void`` to
558   ``int`` to provide a way to report various error conditions.
559
560 * ethdev: Added ``int`` return type to ``rte_eth_dev_close()``.
561
562 * ethdev: Renamed internal functions:
563
564   * ``_rte_eth_dev_callback_process()`` -> ``rte_eth_dev_callback_process()``
565   * ``_rte_eth_dev_reset`` -> ``rte_eth_dev_internal_reset()``
566
567 * ethdev: Modified field type of ``base`` and ``nb_queue`` in struct
568   ``rte_eth_dcb_tc_queue_mapping`` from ``uint8_t`` to ``uint16_t``.
569   As the data of ``uint8_t`` will be truncated when queue number in
570   a TC is greater than 256.
571
572 * ethdev: Removed the legacy filter API, including
573   ``rte_eth_dev_filter_supported()`` and ``rte_eth_dev_filter_ctrl()``.
574
575 * ethdev: Removed the legacy L2 tunnel configuration API, including
576   ``rte_eth_dev_l2_tunnel_eth_type_conf()`` and
577   ``rte_eth_dev_l2_tunnel_offload_set()``..
578
579 * vhost: Moved vDPA APIs from experimental to stable.
580
581 * vhost: Add a new function ``rte_vhost_crypto_driver_start`` to be called
582   instead of ``rte_vhost_driver_start`` by crypto applications.
583
584 * cryptodev: The structure ``rte_crypto_sym_vec`` is updated to support both
585   cpu_crypto synchronous operations and asynchronous raw data-path APIs.
586
587 * cryptodev: ``RTE_CRYPTO_AEAD_LIST_END`` from ``enum rte_crypto_aead_algorithm``,
588   ``RTE_CRYPTO_CIPHER_LIST_END`` from ``enum rte_crypto_cipher_algorithm`` and
589   ``RTE_CRYPTO_AUTH_LIST_END`` from ``enum rte_crypto_auth_algorithm``
590   are removed to avoid future ABI breakage while adding new algorithms.
591
592 * scheduler: Renamed functions ``rte_cryptodev_scheduler_slave_attach``,
593   ``rte_cryptodev_scheduler_slave_detach`` and
594   ``rte_cryptodev_scheduler_slaves_get`` to
595   ``rte_cryptodev_scheduler_worker_attach``,
596   ``rte_cryptodev_scheduler_worker_detach`` and
597   ``rte_cryptodev_scheduler_workers_get`` accordingly.
598
599 * scheduler: Renamed the configuration value
600   ``RTE_CRYPTODEV_SCHEDULER_MAX_NB_SLAVES`` to
601   ``RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKERS``.
602
603 * security: The ``hfn_ovrd`` field in ``rte_security_pdcp_xform`` is changed from
604   ``uint32_t`` to ``uint8_t`` so that a new field ``sdap_enabled`` can be added
605   to support SDAP.
606
607 * security: The API ``rte_security_session_create`` is updated to take two
608   mempool objects: one for session and other for session private data.
609   So the application need to create two mempools and get the size of session
610   private data using API ``rte_security_session_get_size`` for private session
611   mempool.
612
613 * ipsec: ``RTE_SATP_LOG2_NUM`` has been dropped from ``enum`` and
614   subsequently moved ``rte_ipsec`` lib from experimental to stable.
615
616 * baseband/fpga_lte_fec: Renamed function ``fpga_lte_fec_configure`` to
617   ``rte_fpga_lte_fec_configure`` and structure ``fpga_lte_fec_conf`` to
618   ``rte_fpga_lte_fec_conf``.
619
620 * baseband/fpga_5gnr_fec: Renamed function ``fpga_5gnr_fec_configure`` to
621   ``rte_fpga_5gnr_fec_configure`` and structure ``fpga_5gnr_fec_conf`` to
622   ``rte_fpga_5gnr_fec_conf``.
623
624 * rawdev: Added a structure size parameter to the functions
625   ``rte_rawdev_queue_setup()``, ``rte_rawdev_queue_conf_get()``,
626   ``rte_rawdev_info_get()`` and ``rte_rawdev_configure()``,
627   allowing limited driver type-checking and ABI compatibility.
628
629 * rawdev: Changed the return type of the function ``rte_dev_info_get()``
630   and the function ``rte_rawdev_queue_conf_get()``
631   from ``void`` to ``int`` allowing the return of error codes from drivers.
632
633 * rawdev: The running of a drivers ``selftest()`` function can now be done
634   using the ``rawdev_autotest`` command in the ``dpdk-test`` binary. This
635   command now calls the self-test function for each rawdev found on the
636   system, and does not require a specific command per device type.
637   Following this change, the ``ioat_rawdev_autotest`` command has been
638   removed as no longer needed.
639
640 * raw/ioat: As noted above, the ``rte_ioat_do_copies()`` and
641   ``rte_ioat_completed_copies()`` functions have been renamed to
642   ``rte_ioat_perform_ops()`` and ``rte_ioat_completed_ops()`` respectively.
643
644 * stack: the experimental tag has been dropped from the stack library, and its
645   interfaces are considered stable as of DPDK 20.11.
646
647 * bpf: ``RTE_BPF_XTYPE_NUM`` has been dropped from ``rte_bpf_xtype``.
648
649 * gso: Changed ``rte_gso_segment`` behaviour and return value:
650
651   * ``pkt`` is not saved to ``pkts_out[0]`` if not GSOed.
652   * Return 0 instead of 1 for the above case.
653   * ``pkt`` is not freed, no matter whether it is GSOed, leaving to the caller.
654
655 * acl: ``RTE_ACL_CLASSIFY_NUM`` enum value has been removed.
656   This enum value was not used inside DPDK, while it prevented the addition of new
657   classify algorithms without causing an ABI breakage.
658
659 * sched: Added ``subport_profile_id`` as an argument
660   to function ``rte_sched_subport_config``.
661
662 * sched: Removed ``tb_rate``, ``tc_rate``, ``tc_period`` and ``tb_size``
663   from ``struct rte_sched_subport_params``.
664
665
666 ABI Changes
667 -----------
668
669 .. This section should contain ABI changes. Sample format:
670
671    * sample: Add a short 1-2 sentence description of the ABI change
672      which was announced in the previous releases and made in this release.
673      Start with a scope label like "ethdev:".
674      Use fixed width quotes for ``function_names`` or ``struct_names``.
675      Use the past tense.
676
677    This section is a comment. Do not overwrite or remove it.
678    Also, make sure to start the actual text at the margin.
679    =======================================================
680
681 * eal: Removed the unimplemented function ``rte_dump_registers()``.
682
683 * ``ethdev`` changes
684
685   * The following device operation function pointers moved
686     from ``struct eth_dev_ops`` to ``struct rte_eth_dev``:
687
688     * ``eth_rx_queue_count_t       rx_queue_count;``
689     * ``eth_rx_descriptor_done_t   rx_descriptor_done;``
690     * ``eth_rx_descriptor_status_t rx_descriptor_status;``
691     * ``eth_tx_descriptor_status_t tx_descriptor_status;``
692
693   * ``struct eth_dev_ops`` is no longer accessible by applications,
694     which was already an internal data structure.
695
696   * ``ethdev`` internal functions are marked with ``__rte_internal`` tag.
697
698   * Added extensions' attributes to struct ``rte_flow_item_ipv6``.
699     A set of additional values added to struct, indicating the existence of
700     every defined extension header type.
701     Applications should use the new values for identification of existing
702     extensions in the packet header.
703
704   * Added fields ``rx_seg`` and ``rx_nseg`` to ``rte_eth_rxconf`` structure
705     to provide extended description of the receiving buffer.
706
707   * ``struct rte_eth_hairpin_conf`` has two new members:
708
709     * ``uint32_t tx_explicit:1;``
710     * ``uint32_t manual_bind:1;``
711
712   * Added new field ``has_vlan`` to structure ``rte_flow_item_eth``,
713     indicating that packet header contains at least one VLAN.
714
715   * Added new field ``has_more_vlan`` to the structure
716     ``rte_flow_item_vlan``, indicating that packet header contains
717     at least one more VLAN, after this VLAN.
718
719 * eventdev: The following structures are modified to support DLB/DLB2 PMDs
720   and future extensions:
721
722   * ``rte_event_dev_info``
723   * ``rte_event_dev_config``
724   * ``rte_event_port_conf``
725
726 * sched: Added new fields to ``struct rte_sched_subport_port_params``.
727
728 * lpm: Removed fields other than ``tbl24`` and ``tbl8`` from the struct
729   ``rte_lpm``. The removed fields were made internal.
730
731
732 Tested Platforms
733 ----------------
734
735 .. This section should contain a list of platforms that were tested
736    with this release.
737
738    The format is:
739
740    * <vendor> platform with <vendor> <type of devices> combinations
741
742      * List of CPU
743      * List of OS
744      * List of devices
745      * Other relevant details...
746
747    This section is a comment. Do not overwrite or remove it.
748    Also, make sure to start the actual text at the margin.
749    =======================================================
750
751 * Intel\ |reg| platforms with Intel\ |reg| NICs combinations
752
753   * CPU
754
755     * Intel\ |reg| Atom\ |trade| CPU C3758 @ 2.20GHz
756     * Intel\ |reg| Atom\ |trade| CPU C3858 @ 2.00GHz
757     * Intel\ |reg| Atom\ |trade| CPU C3958 @ 2.00GHz
758     * Intel\ |reg| Xeon\ |reg| CPU D-1541 @ 2.10GHz
759     * Intel\ |reg| Xeon\ |reg| CPU D-1553N @ 2.30GHz
760     * Intel\ |reg| Xeon\ |reg| CPU E5-2680 0 @ 2.70GHz
761     * Intel\ |reg| Xeon\ |reg| CPU E5-2680 v2 @ 2.80GHz
762     * Intel\ |reg| Xeon\ |reg| CPU E5-2699 v3 @ 2.30GHz
763     * Intel\ |reg| Xeon\ |reg| CPU E5-2699 v4 @ 2.20GHz
764     * Intel\ |reg| Xeon\ |reg| Gold 5218N CPU @ 2.30GHz
765     * Intel\ |reg| Xeon\ |reg| Gold 6139 CPU @ 2.30GHz
766     * Intel\ |reg| Xeon\ |reg| Gold 6252N CPU @ 2.30GHz
767     * Intel\ |reg| Xeon\ |reg| Platinum 8180 CPU @ 2.50GHz
768     * Intel\ |reg| Xeon\ |reg| Platinum 8280M CPU @ 2.70GHz
769
770   * OS:
771
772     * CentOS 8.2
773     * Fedora 33
774     * FreeBSD 12.1
775     * OpenWRT 19.07.3
776     * Red Hat Enterprise Linux Server release 8.2
777     * Suse 15 SP1
778     * Ubuntu 18.04
779     * Ubuntu 20.04
780     * Ubuntu 20.10
781
782   * NICs:
783
784     * Intel\ |reg| Ethernet Controller E810-C for SFP (4x25G)
785
786       * Firmware version: 2.30 0x80004dcf 1.2839.0
787       * Device id (pf/vf): 8086:1593 / 8086:1889
788       * Driver version: 1.3.0 (ice)
789       * OS Default DDP: 1.3.20.0
790       * COMMS DDP: 1.3.24.0
791
792     * Intel\ |reg| Ethernet Controller E810-C for QSFP (2x100G)
793
794       * Firmware version: 2.30 0x80004dd0 1.2839.0
795       * Device id (pf/vf): 8086:1592 / 8086:1889
796       * Driver version: 1.3.0 (ice)
797       * OS Default DDP: 1.3.20.0
798       * COMMS DDP: 1.3.24.0
799
800     * Intel\ |reg| 82599ES 10 Gigabit Ethernet Controller
801
802       * Firmware version: 0x61bf0001
803       * Device id (pf/vf): 8086:10fb / 8086:10ed
804       * Driver version: 5.7.1 (ixgbe)
805
806     * Intel\ |reg| Corporation Ethernet Connection X552/X557-AT 10GBASE-T
807
808       * Firmware version: 0x800003e7
809       * Device id (pf/vf): 8086:15ad / 8086:15a8
810       * Driver version: 5.1.0-k (ixgbe)
811
812     * Intel\ |reg| Corporation Ethernet Controller 10G X550T
813
814       * Firmware version: 0x80000482
815       * Device id (pf): 8086:1563
816       * Driver version: 5.7.1 (ixgbe)
817
818     * Intel\ |reg| Ethernet Converged Network Adapter X710-DA4 (4x10G)
819
820       * Firmware version: 8.00 0x80008b82 1.2766.0
821       * Device id (pf/vf): 8086:1572 / 8086:154c
822       * Driver version: 2.13.10 (i40e)
823
824     * Intel\ |reg| Corporation Ethernet Connection X722 for 10GbE SFP+ (4x10G)
825
826       * Firmware version: 5.00 0x800023c3 1.2766.0
827       * Device id (pf/vf): 8086:37d0 / 8086:37cd
828       * Driver version: 2.13.10 (i40e)
829
830     * Intel\ |reg| Corporation Ethernet Connection X722 for 10GBASE-T (2x10G)
831
832       * Firmware version: 4.10 0x80001a7a
833       * Device id (pf/vf): 8086:37d2 / 8086:37cd
834       * Driver version: 2.13.10 (i40e)
835
836     * Intel\ |reg| Ethernet Converged Network Adapter XXV710-DA2 (2x25G)
837
838       * Firmware version: 8.00 0x80008c1a 1.2766.0
839       * Device id (pf/vf): 8086:158b / 8086:154c
840       * Driver version: 2.13.10 (i40e)
841
842     * Intel\ |reg| Ethernet Converged Network Adapter XL710-QDA2 (2X40G)
843
844       * Firmware version: 8.00 0x80008b82 1.2766.0
845       * Device id (pf/vf): 8086:1583 / 8086:154c
846       * Driver version: 2.13.10 (i40e)
847
848     * Intel\ |reg| Corporation I350 Gigabit Network Connection
849
850       * Firmware version: 1.63, 0x80000cbc
851       * Device id (pf/vf): 8086:1521 / 8086:1520
852       * Driver version: 5.4.0-k (igb)
853
854     * Intel\ |reg| Corporation I210 Gigabit Network Connection
855
856       * Firmware version: 3.25, 0x800006eb
857       * Device id (pf): 8086:1533
858       * Driver version: 5.4.0-k (igb)
859
860     * Intel\ |reg| Ethernet Controller 10-Gigabit X540-AT2
861
862       * Firmware version: 0x800005f9
863       * Device id (pf): 8086:1528
864       * Driver version: 5.1.0-k (ixgbe)
865
866     * Intel\ |reg| Ethernet Converged Network Adapter X710-T2L
867
868       * Firmware version: 8.00 0x80008d10 1.2766.0
869       * Device id (pf): 8086:15ff
870       * Driver version: 2.13.10 (i40e)
871
872 * Intel\ |reg| platforms with Mellanox\ |reg| NICs combinations
873
874   * CPU:
875
876     * Intel\ |reg| Xeon\ |reg| Gold 6154 CPU @ 3.00GHz
877     * Intel\ |reg| Xeon\ |reg| CPU E5-2697A v4 @ 2.60GHz
878     * Intel\ |reg| Xeon\ |reg| CPU E5-2697 v3 @ 2.60GHz
879     * Intel\ |reg| Xeon\ |reg| CPU E5-2680 v2 @ 2.80GHz
880     * Intel\ |reg| Xeon\ |reg| CPU E5-2670 0 @ 2.60GHz
881     * Intel\ |reg| Xeon\ |reg| CPU E5-2650 v4 @ 2.20GHz
882     * Intel\ |reg| Xeon\ |reg| CPU E5-2640 @ 2.50GHz
883     * Intel\ |reg| Xeon\ |reg| CPU E5-2650 0 @ 2.00GHz
884     * Intel\ |reg| Xeon\ |reg| CPU E5-2620 v4 @ 2.10GHz
885
886   * OS:
887
888     * Red Hat Enterprise Linux release 8.2 (Ootpa)
889     * Red Hat Enterprise Linux Server release 7.8 (Maipo)
890     * Red Hat Enterprise Linux Server release 7.6 (Maipo)
891     * Red Hat Enterprise Linux Server release 7.5 (Maipo)
892     * Red Hat Enterprise Linux Server release 7.4 (Maipo)
893     * Red Hat Enterprise Linux Server release 7.3 (Maipo)
894     * Red Hat Enterprise Linux Server release 7.2 (Maipo)
895     * Ubuntu 20.04
896     * Ubuntu 18.04
897     * Ubuntu 16.04
898     * SUSE Enterprise Linux 15 SP2
899     * SUSE Enterprise Linux 12 SP4
900
901   * OFED:
902
903     * MLNX_OFED 5.2-0.3.3.0 and above
904     * MLNX_OFED 5.1-2.5.8.0
905
906   * upstream kernel:
907
908     * Linux 5.10.0-rc2 and above
909
910   * rdma-core:
911
912     * rdma-core-31.0-1 and above
913
914   * NICs:
915
916     * Mellanox\ |reg| ConnectX\ |reg|-3 Pro 40G MCX354A-FCC_Ax (2x40G)
917
918       * Host interface: PCI Express 3.0 x8
919       * Device ID: 15b3:1007
920       * Firmware version: 2.42.5000
921
922     * Mellanox\ |reg| ConnectX\ |reg|-3 Pro 40G MCX354A-FCCT (2x40G)
923
924       * Host interface: PCI Express 3.0 x8
925       * Device ID: 15b3:1007
926       * Firmware version: 2.42.5000
927
928     * Mellanox\ |reg| ConnectX\ |reg|-4 Lx 25G MCX4121A-ACAT (2x25G)
929
930       * Host interface: PCI Express 3.0 x8
931       * Device ID: 15b3:1015
932       * Firmware version: 14.29.0476 and above
933
934     * Mellanox\ |reg| ConnectX\ |reg|-4 Lx 50G MCX4131A-GCAT (1x50G)
935
936       * Host interface: PCI Express 3.0 x8
937       * Device ID: 15b3:1015
938       * Firmware version: 14.29.0476 and above
939
940     * Mellanox\ |reg| ConnectX\ |reg|-5 100G MCX516A-CCAT (2x100G)
941
942       * Host interface: PCI Express 3.0 x16
943       * Device ID: 15b3:1017
944       * Firmware version: 16.29.0476 and above
945
946     * Mellanox\ |reg| ConnectX\ |reg|-5 100G MCX556A-ECAT (2x100G)
947
948       * Host interface: PCI Express 3.0 x16
949       * Device ID: 15b3:1017
950       * Firmware version: 16.29.0476 and above
951
952     * Mellanox\ |reg| ConnectX\ |reg|-5 100G MCX556A-EDAT (2x100G)
953
954       * Host interface: PCI Express 3.0 x16
955       * Device ID: 15b3:1017
956       * Firmware version: 16.29.0476 and above
957
958     * Mellanox\ |reg| ConnectX\ |reg|-5 Ex EN 100G MCX516A-CDAT (2x100G)
959
960       * Host interface: PCI Express 4.0 x16
961       * Device ID: 15b3:1019
962       * Firmware version: 16.29.0476 and above
963
964     * Mellanox\ |reg| ConnectX\ |reg|-6 Dx EN 100G MCX623106AN-CDAT (2x100G)
965
966       * Host interface: PCI Express 4.0 x16
967       * Device ID: 15b3:101d
968       * Firmware version: 22.29.0476 and above
969
970     * Mellanox\ |reg| ConnectX\ |reg|-6 Lx EN 25G MCX631102AN-ADAT (2x25G)
971
972       * Host interface: PCI Express 4.0 x8
973       * Device ID: 15b3:101f
974       * Firmware version: 26.29.0470 and above
975
976 * Mellanox\ |reg| BlueField\ |reg| SmartNIC
977
978   * Mellanox\ |reg| BlueField\ |reg| 2 SmartNIC MT41686 - MBF2H332A-AEEOT (2x25G)
979
980     * Host interface: PCI Express 3.0 x16
981     * Device ID: 15b3:a2d2
982     * Firmware version: 24.29.0476 and above
983
984   * Embedded software:
985
986     * CentOS Linux release 7.6.1810 (AltArch)
987     * MLNX_OFED 5.2-0.3.2 and above
988     * DPDK application running on Arm cores
989
990 * Intel\ |reg| platforms with Broadcom\ |reg| NICs combinations
991
992   * CPU:
993
994     * Intel\ |reg| Xeon\ |reg| Gold 6154 CPU @ 3.00GHz
995     * Intel\ |reg| Xeon\ |reg| CPU E5-2667 v3 @ 3.20GHz
996     * Intel\ |reg| Xeon\ |reg| CPU E5-2650 v2 @ 2.60GHz
997     * Intel\ |reg| Xeon\ |reg| Gold 6142 CPU @ 2.60GHz
998     * Intel\ |reg| Xeon\ |reg| Silver 4110 CPU @ 2.10GHz
999     * Intel\ |reg| Xeon\ |reg| CPU E3-1270 v3 @ 3.50GHz
1000     * Intel\ |reg| Xeon\ |reg| Gold 6134M CPU @ 3.20GHz
1001
1002   * OS:
1003
1004     * Red Hat Enterprise Linux Server release 8.1
1005     * Red Hat Enterprise Linux Server release 7.6
1006     * Red Hat Enterprise Linux Server release 7.5
1007     * Ubuntu 16.04
1008     * Centos 8.1
1009     * Centos 7.8
1010     * Centos 7.7
1011
1012   * upstream kernel:
1013
1014     * Linux 5.3.4
1015
1016   * NICs:
1017
1018     * Broadcom\ |reg| NetXtreme-E\ |reg| Series P225p (2x25G)
1019
1020       * Host interface: PCI Express 3.0 x8
1021       * Firmware version: 214.4.114.0 and above
1022
1023     * Broadcom\ |reg| NetXtreme-E\ |reg| Series P425p (4x25G)
1024
1025       * Host interface: PCI Express 3.0 x16
1026       * Firmware version: 216.4.259.0 and above
1027
1028     * Broadcom\ |reg| NetXtreme-E\ |reg| Series P2100G (2x100G)
1029
1030       * Host interface: PCI Express 3.0 x16
1031       * Firmware version: 216.1.259.0 and above
1032
1033     * Broadcom\ |reg| NetXtreme-E\ |reg| Series P425p (4x25G)
1034
1035       * Host interface: PCI Express 4.0 x16
1036       * Firmware version: 216.1.259.0 and above
1037
1038     * Broadcom\ |reg| NetXtreme-E\ |reg| Series P2100G (2x100G)
1039
1040       * Host interface: PCI Express 4.0 x16
1041       * Firmware version: 216.1.259.0 and above
1042
1043 * Broadcom\ |reg| NetXtreme-S\ |reg| Series SmartNIC
1044
1045   * Broadcom\ |reg| NetXtreme-S\ |reg| Series PS225-H16 SmartNIC (2x25G)
1046
1047     * Host interface: PCI Express 3.0 x8
1048     * Firmware version: 217.0.59.0, 218.1.63.0
1049
1050   * Embedded software:
1051
1052     * Broadcom Yocto Linux
1053     * Kernel version: 4.14.174
1054     * DPDK application running on 8 Arm Cortex-A72 cores