21ddb0d3871cb4ed0ee88b10c0a0db8520dbbb26
[dpdk.git] / doc / guides / rel_notes / release_21_08.rst
1 .. SPDX-License-Identifier: BSD-3-Clause
2    Copyright 2021 The DPDK contributors
3
4 .. include:: <isonum.txt>
5
6 DPDK Release 21.08
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_21_08.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 (ordered alphabetically by vendor name)
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 auxiliary bus support.**
59
60   Auxiliary bus provides a way to split function into child-devices
61   representing sub-domains of functionality. Each auxiliary device
62   represents a part of its parent functionality.
63
64 * **Added XZ compressed firmware support.**
65
66   Using ``rte_firmware_read``, a driver can now handle XZ compressed firmware
67   in a transparent way, with EAL uncompressing using libarchive if this library
68   is available when building DPDK.
69
70 * **Updated Amazon ENA PMD.**
71
72   The new driver version (v2.4.0) introduced bug fixes and improvements,
73   including:
74
75   * Added Rx interrupt support.
76   * RSS hash function key reconfiguration support.
77
78 * **Updated Intel iavf driver.**
79
80   * Added Tx QoS VF queue TC mapping.
81   * Added FDIR and RSS for GTPoGRE, support filter based on GTPU TEID/QFI,
82     outer most L3 or inner most l3/l4. 
83
84 * **Updated Intel ice driver.**
85
86   * In AVX2 code, added the new RX and TX paths to use the HW offload
87     features. When the HW offload features are configured to be used, the
88     offload paths are chosen automatically. In parallel the support for HW
89     offload features was removed from the legacy AVX2 paths.
90   * Added Tx QoS TC bandwidth configuration in DCF.
91
92 * **Added support for Marvell CN10K SoC ethernet device.**
93
94   * Added net/cnxk driver which provides the support for the integrated ethernet
95     device.
96
97 * **Updated Mellanox mlx5 driver.**
98
99   * Added Sub-Function support based on auxiliary bus.
100   * Added support for meter hierarchy.
101   * Added support for metering policy actions of yellow color.
102   * Added support for metering trTCM RFC2698 and RFC4115.
103   * Added devargs options ``allow_duplicate_pattern``.
104   * Added matching on IPv4 Internet Header Length (IHL).
105   * Added support for matching on VXLAN header last 8-bits reserved field.
106   * Optimized multi-thread flow rule insertion rate.
107
108 * **Added Wangxun ngbe PMD.**
109
110   Added a new PMD driver for Wangxun 1 Gigabit Ethernet NICs.
111   See the :doc:`../nics/ngbe` for more details.
112
113 * **Updated Solarflare network PMD.**
114
115   Updated the Solarflare ``sfc_efx`` driver with changes including:
116
117   * Added COUNT action support for SN1000 NICs
118
119 * **Added inflight packets clear API in vhost library.**
120
121   Added an API which can clear the inflight packets submitted to DMA
122   engine in vhost async data path.
123
124 * **Updated Intel QuickAssist crypto PMD.**
125
126   Added fourth generation of QuickAssist Technology(QAT) devices support.
127   Only symmetric crypto has been currently enabled, compression and asymmetric
128   crypto PMD will fail to create.
129
130 * **Added support for Marvell CNXK crypto driver.**
131
132   * Added cnxk crypto PMD which provides support for an integrated
133     crypto driver for CN9K and CN10K series of SOCs. Support for
134     symmetric crypto algorithms is added to both the PMDs.
135   * Added support for lookaside protocol (IPsec) offload in cn10k PMD.
136   * Added support for asymmetric crypto operations in cn9k and cn10k PMD.
137
138 * **Updated Marvell OCTEON TX crypto PMD.**
139
140   Added support for crypto adapter OP_FORWARD mode.
141
142 * **Added support for Nvidia crypto device driver.**
143
144   Added mlx5 crypto driver to support AES-XTS cipher operations.
145   The first device to support it is ConnectX-6.
146
147 * **Updated ISAL compress device PMD.**
148
149   The ISAL compress device PMD now supports Arm platforms.
150
151 * **Added Baseband PHY CNXK PMD.**
152
153   Added Baseband PHY PMD which allows to configure BPHY hardware block
154   comprising accelerators and DSPs specifically tailored for 5G/LTE inline
155   use cases. Configuration happens via standard rawdev enq/deq operations. See
156   the :doc:`../rawdevs/cnxk_bphy` rawdev guide for more details on this driver.
157
158 * **Added support for Marvell CN10K, CN9K, event Rx/Tx adapter.**
159
160   * Added Rx/Tx adapter support for event/cnxk when the ethernet device requested
161     is net/cnxk.
162   * Added support for event vectorization for Rx/Tx adapter.
163
164 * **Added cppc_cpufreq support to Power Management library.**
165
166   Added support for cppc_cpufreq driver which works on most arm64 platforms.
167
168 * **Added multi-queue support to Ethernet PMD Power Management**
169
170   The experimental PMD power management API now supports managing
171   multiple Ethernet Rx queues per lcore.
172
173 * **Updated testpmd to log errors to stderr.**
174
175   Updated testpmd application to log errors and warnings to stderr
176   instead of stdout used before.
177
178
179 Removed Items
180 -------------
181
182 .. This section should contain removed items in this release. Sample format:
183
184    * Add a short 1-2 sentence description of the removed item
185      in the past tense.
186
187    This section is a comment. Do not overwrite or remove it.
188    Also, make sure to start the actual text at the margin.
189    =======================================================
190
191
192 API Changes
193 -----------
194
195 .. This section should contain API changes. Sample format:
196
197    * sample: Add a short 1-2 sentence description of the API change
198      which was announced in the previous releases and made in this release.
199      Start with a scope label like "ethdev:".
200      Use fixed width quotes for ``function_names`` or ``struct_names``.
201      Use the past tense.
202
203    This section is a comment. Do not overwrite or remove it.
204    Also, make sure to start the actual text at the margin.
205    =======================================================
206
207 * eal: ``rte_strscpy`` sets ``rte_errno`` to ``E2BIG`` in case of string
208   truncation.
209
210 * eal: ``rte_bsf32_safe`` now takes a 32-bit value for its first argument.
211   This fixes warnings about loss of precision
212   when used with some compilers settings.
213
214 * eal: ``rte_power_monitor`` and the ``rte_power_monitor_cond`` struct changed
215   to use a callback mechanism.
216
217 * rte_power: The experimental PMD power management API is no longer considered
218   to be thread safe; all Rx queues affected by the API will now need to be
219   stopped before making any changes to the power management scheme.
220
221
222 ABI Changes
223 -----------
224
225 .. This section should contain ABI changes. Sample format:
226
227    * sample: Add a short 1-2 sentence description of the ABI change
228      which was announced in the previous releases and made in this release.
229      Start with a scope label like "ethdev:".
230      Use fixed width quotes for ``function_names`` or ``struct_names``.
231      Use the past tense.
232
233    This section is a comment. Do not overwrite or remove it.
234    Also, make sure to start the actual text at the margin.
235    =======================================================
236
237 * No ABI change that would break compatibility with 20.11.
238
239
240 Known Issues
241 ------------
242
243 .. This section should contain new known issues in this release. Sample format:
244
245    * **Add title in present tense with full stop.**
246
247      Add a short 1-2 sentence description of the known issue
248      in the present tense. Add information on any known workarounds.
249
250    This section is a comment. Do not overwrite or remove it.
251    Also, make sure to start the actual text at the margin.
252    =======================================================
253
254 * **Last mbuf segment not implicitly reset.**
255
256   It is expected that free mbufs have their field ``nb_seg`` set to 1,
257   so that when it is allocated, the user does not need to set its value.
258   The mbuf free functions are responsible of resetting this field to 1
259   before returning the mbuf to the pool.
260
261   When a multi-segment mbuf is freed, the field ``nb_seg`` is not reset
262   to 1 for the last segment of the chain. On next allocation of this segment,
263   if the field is not explicitly reset by the user,
264   an invalid mbuf can be created, and can cause an undefined behavior.
265
266   This issue has a root cause in DPDK 17.05, meaning it is 4 years old.
267   A fix is available and discussed but not merged in DPDK 21.08:
268   https://patches.dpdk.org/patch/86458/
269
270
271 Tested Platforms
272 ----------------
273
274 .. This section should contain a list of platforms that were tested
275    with this release.
276
277    The format is:
278
279    * <vendor> platform with <vendor> <type of devices> combinations
280
281      * List of CPU
282      * List of OS
283      * List of devices
284      * Other relevant details...
285
286    This section is a comment. Do not overwrite or remove it.
287    Also, make sure to start the actual text at the margin.
288    =======================================================
289
290 * Intel\ |reg| platforms with Intel\ |reg| NICs combinations
291
292   * CPU
293
294     * Intel\ |reg| Atom\ |trade| CPU C3958 @ 2.00GHz
295     * Intel\ |reg| Atom\ |trade| CPU C3758 @ 2.20GHz
296     * Intel\ |reg| Xeon\ |reg| CPU D-1541 @ 2.10GHz
297     * Intel\ |reg| Xeon\ |reg| CPU D-1553N @ 2.30GHz
298     * Intel\ |reg| Xeon\ |reg| CPU E5-2680 v2 @ 2.80GHz
299     * Intel\ |reg| Xeon\ |reg| CPU E5-2699 v3 @ 2.30GHz
300     * Intel\ |reg| Xeon\ |reg| CPU E5-2699 v4 @ 2.20GHz
301     * Intel\ |reg| Xeon\ |reg| Gold 6140M CPU @ 2.30GHz
302     * Intel\ |reg| Xeon\ |reg| Gold 6139 CPU @ 2.30GHz
303     * Intel\ |reg| Xeon\ |reg| Gold 6252N CPU @ 2.30GHz
304     * Intel\ |reg| Xeon\ |reg| Platinum 8180 CPU @ 2.50GHz
305     * Intel\ |reg| Xeon\ |reg| Platinum 8180M CPU @ 2.50GHz
306     * Intel\ |reg| Xeon\ |reg| Platinum 8280M CPU @ 2.70GHz
307
308   * OS:
309
310     * Fedora 34
311     * OpenWRT 19.07.4
312     * FreeBSD 12.1
313     * Red Hat Enterprise Linux Server release 8.3
314     * Suse 15 SP2
315     * Ubuntu 20.04
316     * Ubuntu 21.04
317
318   * NICs:
319
320     * Intel\ |reg| Ethernet Controller E810-C for SFP (4x25G)
321
322       * Firmware version: 3.10
323       * Device id (pf/vf): 8086:1593 / 8086:1889
324       * Driver version: 1.7.0 (ice)
325       * OS Default DDP: 1.3.27.0
326       * COMMS DDP: 1.3.31.0
327       * Wireless Edge DDP: 1.3.7.0
328
329     * Intel\ |reg| Ethernet Controller E810-C for QSFP (2x100G)
330
331       * Firmware version: 3.10
332       * Device id (pf/vf): 8086:1592 / 8086:1889
333       * Driver version: 1.7.0 (ice)
334       * OS Default DDP: 1.3.27.0
335       * COMMS DDP: 1.3.31.0
336       * Wireless Edge DDP: 1.3.7.0
337
338     * Intel\ |reg| 82599ES 10 Gigabit Ethernet Controller
339
340       * Firmware version: 0x61bf0001
341       * Device id (pf/vf): 8086:10fb / 8086:10ed
342       * Driver version: 5.1.0-k (ixgbe)
343
344     * Intel\ |reg| Corporation Ethernet Connection X552/X557-AT 10GBASE-T
345
346       * Firmware version: 0x800003e7
347       * Device id (pf/vf): 8086:15ad / 8086:15a8
348       * Driver version: 5.1.0-k (ixgbe)
349
350     * Intel\ |reg| Corporation Ethernet Controller 10G X550T
351
352       * Firmware version: 0x8000113b
353       * Device id (pf): 8086:1563
354       * Driver version: 5.11.3 (ixgbe)
355
356     * Intel\ |reg| Ethernet Controller 10-Gigabit X540-AT2
357
358       * Firmware version: 0x800005f9
359       * Device id (pf): 8086:1528
360       * Driver version: 4.18.0-305.7.1.el8_4.x86_64 (ixgbe)
361
362     * Intel\ |reg| Ethernet Converged Network Adapter X710-DA4 (4x10G)
363
364       * Firmware version: 8.30 0x8000a49d 1.2926.0
365       * Device id (pf/vf): 8086:1572 / 8086:154c
366       * Driver version: 2.15.9 (i40e)
367
368     * Intel\ |reg| Corporation Ethernet Connection X722 for 10GbE SFP+ (4x10G)
369
370       * Firmware version: 5.30 0x80002a29 1.2926.0
371       * Device id (pf/vf): 8086:37d0 / 8086:37cd
372       * Driver version: 2.15.9 (i40e)
373
374     * Intel\ |reg| Corporation Ethernet Connection X722 for 10GBASE-T (2x10G)
375
376       * Firmware version: 4.10 0x80001a7a 1.2154.0
377       * Device id (pf/vf): 8086:37d2 / 8086:37cd
378       * Driver version: 2.15.9 (i40e)
379
380     * Intel\ |reg| Ethernet Converged Network Adapter XXV710-DA2 (2x25G)
381
382       * Firmware version: 8.30 0x8000a485 1.2926.0
383       * Device id (pf/vf): 8086:158b / 8086:154c
384       * Driver version: 2.15.9 (i40e)
385
386     * Intel\ |reg| Ethernet Converged Network Adapter XL710-QDA2 (2X40G)
387
388       * Firmware version: 8.30 0x8000a4ae 1.2926.0
389       * Device id (pf/vf): 8086:1583 / 8086:154c
390       * Driver version: 2.15.9 (i40e)
391
392     * Intel\ |reg| Ethernet Converged Network Adapter X710-T2L
393
394       * Firmware version: 8.30 0x8000a489 1.2926.0
395       * Device id (pf): 8086:15ff
396       * Driver version: 2.15.9 (i40e)
397
398 * Intel\ |reg| platforms with Mellanox\ |reg| NICs combinations
399
400   * CPU:
401
402     * Intel\ |reg| Xeon\ |reg| Gold 6154 CPU @ 3.00GHz
403     * Intel\ |reg| Xeon\ |reg| CPU E5-2697A v4 @ 2.60GHz
404     * Intel\ |reg| Xeon\ |reg| CPU E5-2697 v3 @ 2.60GHz
405     * Intel\ |reg| Xeon\ |reg| CPU E5-2680 v2 @ 2.80GHz
406     * Intel\ |reg| Xeon\ |reg| CPU E5-2670 0 @ 2.60GHz
407     * Intel\ |reg| Xeon\ |reg| CPU E5-2650 v4 @ 2.20GHz
408     * Intel\ |reg| Xeon\ |reg| CPU E5-2650 v3 @ 2.30GHz
409     * Intel\ |reg| Xeon\ |reg| CPU E5-2640 @ 2.50GHz
410     * Intel\ |reg| Xeon\ |reg| CPU E5-2650 0 @ 2.00GHz
411     * Intel\ |reg| Xeon\ |reg| CPU E5-2620 v4 @ 2.10GHz
412
413   * OS:
414
415     * Red Hat Enterprise Linux release 8.2 (Ootpa)
416     * Red Hat Enterprise Linux Server release 7.8 (Maipo)
417     * Red Hat Enterprise Linux Server release 7.6 (Maipo)
418     * Red Hat Enterprise Linux Server release 7.5 (Maipo)
419     * Red Hat Enterprise Linux Server release 7.4 (Maipo)
420     * Red Hat Enterprise Linux Server release 7.3 (Maipo)
421     * Red Hat Enterprise Linux Server release 7.2 (Maipo)
422     * Ubuntu 20.04
423     * Ubuntu 18.04
424     * Ubuntu 16.04
425     * SUSE Enterprise Linux 15 SP2
426     * SUSE Enterprise Linux 12 SP4
427
428   * OFED:
429
430     * MLNX_OFED 5.4-1.0.3.0 and above
431     * MLNX_OFED 5.3-1.0.0.1
432
433   * upstream kernel:
434
435     * Linux 5.14.0-rc3 and above
436
437   * rdma-core:
438
439     * rdma-core-36.0 and above
440
441   * NICs:
442
443     * Mellanox\ |reg| ConnectX\ |reg|-3 Pro 40G MCX354A-FCC_Ax (2x40G)
444
445       * Host interface: PCI Express 3.0 x8
446       * Device ID: 15b3:1007
447       * Firmware version: 2.42.5000
448
449     * Mellanox\ |reg| ConnectX\ |reg|-3 Pro 40G MCX354A-FCCT (2x40G)
450
451       * Host interface: PCI Express 3.0 x8
452       * Device ID: 15b3:1007
453       * Firmware version: 2.42.5000
454
455     * Mellanox\ |reg| ConnectX\ |reg|-4 Lx 25G MCX4121A-ACAT (2x25G)
456
457       * Host interface: PCI Express 3.0 x8
458       * Device ID: 15b3:1015
459       * Firmware version: 14.31.1014 and above
460
461     * Mellanox\ |reg| ConnectX\ |reg|-4 Lx 50G MCX4131A-GCAT (1x50G)
462
463       * Host interface: PCI Express 3.0 x8
464       * Device ID: 15b3:1015
465       * Firmware version: 14.31.1014 and above
466
467     * Mellanox\ |reg| ConnectX\ |reg|-5 100G MCX516A-CCAT (2x100G)
468
469       * Host interface: PCI Express 3.0 x16
470       * Device ID: 15b3:1017
471       * Firmware version: 16.31.1014 and above
472
473     * Mellanox\ |reg| ConnectX\ |reg|-5 100G MCX556A-ECAT (2x100G)
474
475       * Host interface: PCI Express 3.0 x16
476       * Device ID: 15b3:1017
477       * Firmware version: 16.31.1014 and above
478
479     * Mellanox\ |reg| ConnectX\ |reg|-5 100G MCX556A-EDAT (2x100G)
480
481       * Host interface: PCI Express 3.0 x16
482       * Device ID: 15b3:1017
483       * Firmware version: 16.31.1014 and above
484
485     * Mellanox\ |reg| ConnectX\ |reg|-5 Ex EN 100G MCX516A-CDAT (2x100G)
486
487       * Host interface: PCI Express 4.0 x16
488       * Device ID: 15b3:1019
489       * Firmware version: 16.31.1014 and above
490
491     * Mellanox\ |reg| ConnectX\ |reg|-6 Dx EN 100G MCX623106AN-CDAT (2x100G)
492
493       * Host interface: PCI Express 4.0 x16
494       * Device ID: 15b3:101d
495       * Firmware version: 22.31.1014 and above
496
497     * Mellanox\ |reg| ConnectX\ |reg|-6 Lx EN 25G MCX631102AN-ADAT (2x25G)
498
499       * Host interface: PCI Express 4.0 x8
500       * Device ID: 15b3:101f
501       * Firmware version: 26.31.1014 and above
502
503 * Mellanox\ |reg| BlueField\ |reg| SmartNIC
504
505   * Mellanox\ |reg| BlueField\ |reg| 2 SmartNIC MT41686 - MBF2H332A-AEEOT_A1 (2x25G)
506
507     * Host interface: PCI Express 3.0 x16
508     * Device ID: 15b3:a2d6
509     * Firmware version: 24.31.1014 and above
510
511   * Embedded software:
512
513     * CentOS Linux release 7.6.1810 (AltArch)
514     * MLNX_OFED 5.4-1.0.3.0 and above
515     * DPDK application running on Arm cores