3b66af013ed72f640d11494cc9b7061b64c87c1d
[dpdk.git] / doc / guides / rel_notes / release_21_05.rst
1 .. SPDX-License-Identifier: BSD-3-Clause
2    Copyright 2021 The DPDK contributors
3
4 .. include:: <isonum.txt>
5
6 DPDK Release 21.05
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_05.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 Alpine Linux with musl libc support**
59
60   The distribution Alpine Linux, using musl libc and busybox,
61   got initial support starting with building DPDK without modification.
62
63 * **Added phase-fair lock.**
64
65   Phase-fair lock provides fairness guarantees.
66   It has two ticket pools, one for readers and one for writers.
67
68 * **Added support for Marvell CN10K SoC drivers.**
69
70   Added Marvell CN10K SoC support. Marvell CN10K SoC are based on Octeon 10
71   family of ARM64 processors with ARM Neoverse N2 core with accelerators for
72   packet processing, timers, cryptography, etc.
73
74   * Added common/cnxk driver consisting of common API to be used by
75     net, crypto and event PMD's.
76   * Added mempool/cnxk driver which provides the support for the integrated
77     mempool device.
78   * Added event/cnxk driver which provides the support for integrated event
79     device.
80
81 * **Enhanced ethdev representor syntax.**
82
83   * Introduced representor type of VF, SF and PF.
84   * Supported sub-function and multi-host in representor syntax::
85
86       representor=#            [0,2-4]      /* Legacy VF compatible.         */
87       representor=[[c#]pf#]vf# c1pf2vf3     /* VF 3 on PF 2 of controller 1. */
88       representor=[[c#]pf#]sf# sf[0,2-1023] /* 1023 SFs.                     */
89       representor=[c#]pf#      c2pf[0,1]    /* 2 PFs on controller 2.        */
90
91 * **Added queue state in queried Rx/Tx queue info.**
92
93   * Added new field ``queue_state`` to ``rte_eth_rxq_info`` structure to
94     provide indicated Rx queue state.
95   * Added new field ``queue_state`` to ``rte_eth_txq_info`` structure to
96     provide indicated Tx queue state.
97
98 * **Updated meter API.**
99
100   * Added packet mode in the meter profile parameters data structures
101     to support metering traffic by packet per second (PPS),
102     in addition to the initial bytes per second (BPS) mode (value 0).
103   * Added support of pre-defined meter policy via flow action list per color.
104
105 * **Added packet integrity match to flow rules.**
106
107   * Added ``RTE_FLOW_ITEM_TYPE_INTEGRITY`` flow item.
108   * Added ``rte_flow_item_integrity`` data structure.
109
110 * **Added TCP connection tracking offload in flow API.**
111
112   * Added conntrack item and action for stateful connection offload.
113
114 * **Updated Arkville PMD driver.**
115
116   Updated Arkville net driver with new features and improvements, including:
117
118   * Generalized passing meta data between PMD and FPGA, allowing up to 20
119     bytes of user specified information in RX and TX paths.
120
121   * Updated dynamic PMD extensions API using standardized names.
122
123   * Added support for new Atomic Rules PCI device IDs ``0x100f, 0x1010, 0x1017,
124     0x1018, 0x1019``.
125
126 * **Updated Broadcom bnxt driver.**
127
128   * Updated HWRM structures to 1.10.2.15 version.
129
130 * **Updated Hisilicon hns3 driver.**
131
132   * Added support for module EEPROM dumping.
133   * Added support for freeing Tx mbuf on demand.
134   * Added support for copper port in Kunpeng930.
135   * Added support for runtime config to select IO burst function.
136   * Added support for outer UDP checksum in Kunpeng930.
137   * Added support for query Tx descriptor status.
138   * Added support for query Rx descriptor status.
139   * Added support for IEEE 1588 PTP.
140
141 * **Updated Intel iavf driver.**
142
143   Updated the Intel iavf driver with new features and improvements, including:
144
145   * Added flow filter to support GTPU inner L3/L4 fields matching.
146   * In AVX512 code, added the new RX and TX paths to use the HW offload
147     features. When the HW offload features are configured to be used, the
148     offload paths are chosen automatically. In parallel the support of HW
149     offload features was removed from the legacy AVX512 paths.
150
151 * **Updated Intel ice driver.**
152
153   * Added Intel ice support on Windows.
154   * Added GTPU TEID support for DCF switch filter.
155   * Added flow priority support for DCF switch filter.
156
157 * **Updated Marvell OCTEON TX2 ethdev driver.**
158
159   * Added support for flow action port id.
160
161 * **Updated Mellanox mlx5 driver.**
162
163   Updated the Mellanox mlx5 driver with new features and improvements, including:
164
165   * Added support for VXLAN and NVGRE encap as sample actions.
166   * Support push VLAN on ingress traffic and pop VLAN on egress traffic in E-Switch mode.
167   * Added support for pre-defined meter policy API.
168   * Added support for ASO (Advanced Steering Operation) meter.
169
170 * **Updated NXP DPAA driver.**
171
172   * Added support for shared ethernet interface.
173   * Added support for external buffers in Tx.
174
175 * **Updated NXP DPAA2 driver.**
176
177   * Added support for traffic management.
178   * Added support for configurable Tx confirmation.
179   * Added support for external buffers in Tx.
180
181 * **Updated Wangxun txgbe driver.**
182
183   * Added support for txgbevf PMD.
184   * Support device arguments to handle AN training for backplane NICs.
185
186 * **Enabled vmxnet3 PMD on Windows.**
187
188 * **Enabled libpcap-based PMD on Windows.**
189
190    A libpcap distribution, such as Npcap or WinPcap, is required to run the PMD.
191
192 * **Updated the AF_XDP driver.**
193
194   * Added support for preferred busy polling.
195
196 * **Added support of multiple data-units in cryptodev API.**
197
198   The cryptodev library has been enhanced to allow operations on multiple
199   data-units for AES-XTS algorithm, the data-unit length should be set in the
200   transformation. A capability for it was added too.
201
202 * **Added a cryptodev feature flag to support cipher wrapped keys.**
203
204   A new feature flag has been added to allow application to provide
205   cipher wrapped keys in session xforms.
206
207 * **Updated the OCTEON TX crypto PMD.**
208
209   * Added support for DIGEST_ENCRYPTED mode in OCTEON TX crypto PMD.
210
211 * **Updated the OCTEON TX2 crypto PMD.**
212
213   * Added support for DIGEST_ENCRYPTED mode in OCTEON TX2 crypto PMD.
214   * Added support in lookaside protocol offload mode for IPsec with
215     UDP encapsulation support for NAT Traversal.
216   * Added support in lookaside protocol offload mode for IPsec with
217     IPv4 transport mode.
218
219 * **Updated Mellanox RegEx PMD.**
220
221   * Added support for multi-segments mbuf.
222
223 * **Introduced period timer mode in eventdev timer adapter.**
224
225   * Added support for periodic timer mode in eventdev timer adapter.
226   * Added support for periodic timer mode in octeontx2 event device driver.
227
228 * **Added event device vector capability.**
229
230   * Added ``rte_event_vector`` data structure which is capable of holding
231     multiple ``uintptr_t`` of the same flow thereby allowing applications
232     to vectorize their pipelines and also reduce the complexity of pipelining
233     the events across multiple stages.
234   * This also reduced the scheduling overhead on a event device.
235
236 * **Updated Intel DLB2 driver.**
237
238   * Added support for v2.5 device.
239
240 * **Added Predictable RSS functionality to the Toeplitz hash library.**
241
242   Added feature for finding collisions of the Toeplitz hash function -
243   the hash function used in NICs to spread the traffic among the queues.
244   It can be used to get predictable mapping of the flows.
245
246 * **Updated testpmd.**
247
248   * Added a command line option to configure forced speed for Ethernet port.
249     ``dpdk-testpmd -- --eth-link-speed N``
250   * Added command to show link flow control info.
251     ``show port (port_id) flow_ctrl``
252   * Added command to display Rx queue used descriptor count.
253     ``show port (port_id) rxq (queue_id) desc used count``
254   * Added command to cleanup a Tx queue's mbuf on a port.
255     ``port cleanup (port_id) txq (queue_id) (free_cnt)``
256   * Added command to dump internal representation information of single flow.
257     ``flow dump (port_id) rule (rule_id)``
258   * Added commands to create and delete meter policy.
259     ``add port meter policy (port_id) (policy_id) ...``
260   * Added commands to construct conntrack context and relevant indirect
261     action handle creation, update for conntrack action as well as conntrack
262     item matching.
263
264 * **Added support for the FIB lookup method in the l3fwd example app.**
265
266   Previously the l3fwd sample app only supported LPM and EM lookup methods,
267   the app now supports the Forwarding Information Base (FIB) lookup method.
268
269 * **Updated ipsec-secgw sample application.**
270
271   * Updated the ``ipsec-secgw`` sample application with UDP encapsulation
272     support for NAT Traversal.
273
274 * **Enhanced crypto adapter forward mode.**
275
276   * Added ``rte_event_crypto_adapter_enqueue()`` API to enqueue events to crypto
277     adapter if forward mode is supported by driver.
278   * Added support for crypto adapter forward mode in octeontx2 event and crypto
279     device driver.
280
281
282 Removed Items
283 -------------
284
285 .. This section should contain removed items in this release. Sample format:
286
287    * Add a short 1-2 sentence description of the removed item
288      in the past tense.
289
290    This section is a comment. Do not overwrite or remove it.
291    Also, make sure to start the actual text at the margin.
292    =======================================================
293
294 * Removed support for Intel DLB V1 hardware. This is not a broad market device,
295   and existing customers already obtain the source code directly from Intel.
296
297
298 API Changes
299 -----------
300
301 .. This section should contain API changes. Sample format:
302
303    * sample: Add a short 1-2 sentence description of the API change
304      which was announced in the previous releases and made in this release.
305      Start with a scope label like "ethdev:".
306      Use fixed width quotes for ``function_names`` or ``struct_names``.
307      Use the past tense.
308
309    This section is a comment. Do not overwrite or remove it.
310    Also, make sure to start the actual text at the margin.
311    =======================================================
312
313 * eal: The experimental TLS API added in ``rte_thread.h`` has been renamed
314   from ``rte_thread_tls_*`` to ``rte_thread_*`` to avoid naming redundancy
315   and confusion with the transport layer security term.
316
317 * pci: The value ``PCI_ANY_ID`` is marked as deprecated
318   and can be replaced with ``RTE_PCI_ANY_ID``.
319
320 * ethdev: Added a ``rte_flow`` pointer parameter to the function
321   ``rte_flow_dev_dump()`` allowing dump for single flow.
322
323 * cryptodev: The experimental raw data path API for dequeue
324   ``rte_cryptodev_raw_dequeue_burst`` got a new parameter
325   ``max_nb_to_dequeue`` to provide flexible control on dequeue.
326
327 * ethdev: The experimental flow API for shared action has been generalized
328   as a flow action handle used in rules through an indirect action.
329   The functions ``rte_flow_shared_action_*`` manipulating the action object
330   are replaced with ``rte_flow_action_handle_*``.
331   The action ``RTE_FLOW_ACTION_TYPE_SHARED`` is deprecated and can be
332   replaced with ``RTE_FLOW_ACTION_TYPE_INDIRECT``.
333
334 * ethdev: The experimental function ``rte_mtr_policer_actions_update()``,
335   the enum ``rte_mtr_policer_action``, and the struct members
336   ``policer_action_recolor_supported`` and ``policer_action_drop_supported``
337   have been removed.
338
339 * stack: Lock-free ``rte_stack`` no longer silently ignores push and pop when
340   it's not supported on the current platform. Instead ``rte_stack_create()``
341   fails and ``rte_errno`` is set to ``ENOTSUP``.
342
343 * raw/ioat: The experimental function ``rte_ioat_completed_ops()`` now
344   supports two additional parameters, ``status`` and ``num_unsuccessful``,
345   to allow the reporting of errors from hardware when performing copy
346   operations.
347
348
349 ABI Changes
350 -----------
351
352 .. This section should contain ABI changes. Sample format:
353
354    * sample: Add a short 1-2 sentence description of the ABI change
355      which was announced in the previous releases and made in this release.
356      Start with a scope label like "ethdev:".
357      Use fixed width quotes for ``function_names`` or ``struct_names``.
358      Use the past tense.
359
360    This section is a comment. Do not overwrite or remove it.
361    Also, make sure to start the actual text at the margin.
362    =======================================================
363
364 * No ABI change that would break compatibility with 20.11.
365
366 * The experimental function ``rte_telemetry_legacy_register`` has been
367   removed from the public API and is now an internal-only function. This
368   function was already marked as internal in the API documentation for it,
369   and was not for use by external applications.
370
371
372 Known Issues
373 ------------
374
375 .. This section should contain new known issues in this release. Sample format:
376
377    * **Add title in present tense with full stop.**
378
379      Add a short 1-2 sentence description of the known issue
380      in the present tense. Add information on any known workarounds.
381
382    This section is a comment. Do not overwrite or remove it.
383    Also, make sure to start the actual text at the margin.
384    =======================================================
385
386
387 Tested Platforms
388 ----------------
389
390 .. This section should contain a list of platforms that were tested
391    with this release.
392
393    The format is:
394
395    * <vendor> platform with <vendor> <type of devices> combinations
396
397      * List of CPU
398      * List of OS
399      * List of devices
400      * Other relevant details...
401
402    This section is a comment. Do not overwrite or remove it.
403    Also, make sure to start the actual text at the margin.
404    =======================================================