crypto/qat: add ECPM algorithm
[dpdk.git] / doc / guides / rel_notes / release_22_03.rst
1 .. SPDX-License-Identifier: BSD-3-Clause
2    Copyright 2021 The DPDK contributors
3
4 .. include:: <isonum.txt>
5
6 DPDK Release 22.03
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       ninja -C build doc
21       xdg-open build/doc/guides/html/rel_notes/release_22_03.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 ability to reuse hugepages in Linux.**
59
60   It is possible to reuse files in hugetlbfs to speed up hugepage mapping,
61   which may be useful for fast restart and large allocations.
62   The new mode is activated with ``--huge-unlink=never``
63   and has security implications, refer to the user and programmer guides.
64
65 * **Added functions to calculate UDP/TCP checksum in mbuf.**
66
67   * Added the following functions to calculate UDP/TCP checksum of packets
68     which can be over multi-segments:
69     - ``rte_ipv4_udptcp_cksum_mbuf()``
70     - ``rte_ipv4_udptcp_cksum_mbuf_verify()``
71     - ``rte_ipv6_udptcp_cksum_mbuf()``
72     - ``rte_ipv6_udptcp_cksum_mbuf_verify()``
73
74 * **Added rte_flow support for matching GRE optional fields.**
75
76   Added ``gre_option`` item in rte_flow to support checksum/key/sequence
77   matching in GRE packets.
78
79 * **Added new RSS offload types for L2TPv2 in RSS flow.**
80
81   Added macro RTE_ETH_RSS_L2TPV2, now L2TPv2 session ID field can be used as
82   input set for RSS.
83
84 * **Added IP reassembly Ethernet offload API, to get and set config.**
85
86   Added IP reassembly offload APIs which provide functions to query IP
87   reassembly capabilities, to set configuration and to get currently set
88   reassembly configuration.
89
90 * **Added an API to enable queue based priority flow ctrl(PFC).**
91
92   New APIs, ``rte_eth_dev_priority_flow_ctrl_queue_info_get()`` and
93   ``rte_eth_dev_priority_flow_ctrl_queue_configure()``, was added.
94
95 * **Added a private dump API, to dump private info from device.**
96
97   Added the private dump API which provides querying private info from device.
98   There exists many private properties in different PMD drivers.
99   The information of these properties is important for debug.
100   As the information is private, a dump function is introduced.
101
102 * **Updated AF_XDP PMD**
103
104   * Added support for libxdp >=v1.2.2.
105   * Re-enabled secondary process support. RX/TX is not supported.
106
107 * **Updated Cisco enic driver.**
108
109   * Added rte_flow support for matching GENEVE packets.
110   * Added rte_flow support for matching eCPRI packets.
111
112 * **Updated Wangxun ngbe driver.**
113
114   * Added support for devices of custom PHY interfaces.
115     - M88E1512 PHY connects to RJ45
116     - M88E1512 PHY connects to RGMII combo
117     - YT8521S PHY connects to SFP
118   * Added LED OEM support.
119
120 * **Updated Wangxun txgbe driver.**
121
122   * Added LED OEM support.
123
124 * **Added an API for private user data in asymmetric crypto session.**
125
126   An API was added to get/set an asymmetric crypto session's user data.
127
128 * **Updated Marvell cnxk crypto PMD.**
129
130   * Added SHA256-HMAC support in lookaside protocol (IPsec) for CN10K.
131   * Added SHA384-HMAC support in lookaside protocol (IPsec) for CN9K & CN10K.
132   * Added SHA512-HMAC support in lookaside protocol (IPsec) for CN9K & CN10K.
133   * Added AES-CTR support in lookaside protocol (IPsec) for CN9K & CN10K.
134   * Added NULL cipher support in lookaside protocol (IPsec) for CN9K & CN10K.
135   * Added AES-XCBC support in lookaside protocol (IPsec) for CN9K & CN10K.
136   * Added AES-CMAC support in CN9K & CN10K.
137   * Added ESN and anti-replay support in lookaside protocol (IPsec) for CN10K.
138
139 * **Updated Intel QuickAssist Technology crypto PMD.**
140
141   * Added support for CPM2.0b (4942) devices.
142   * Added ECDSA algorithm support.
143   * Added ECPM algorithm support.
144
145 * **Added an API to retrieve event port id of ethdev Rx adapter.**
146
147   The new API ``rte_event_eth_rx_adapter_event_port_get()`` was added.
148
149 * **Added support for Kunpeng930 DMA devices to HiSilicon DMA PMD.**
150
151   * Kunpeng930 DMA devices are now enabled for HiSilicon DMA PMD.
152
153 * **Added CNXK GPIO PMD.**
154
155   Added a new rawdevice PMD which allows to manage userspace GPIOs and install
156   custom GPIO interrupt handlers which bypass kernel. This is especially useful
157   for applications, that besides providing standard dataplane functionality
158   want to have fast and low latency access to GPIO pin state.
159
160   See the :doc:`../rawdevs/cnxk_gpio` rawdev guide for more details on this
161   driver.
162
163 * **Updated testpmd.**
164
165   * Called ``rte_ipv4/6_udptcp_cksum_mbuf()`` functions in testpmd csum mode
166     to support software UDP/TCP checksum over multiple segments.
167
168 * **Added crypto producer mode in test-eventdev.**
169
170   * Crypto producer mode helps to measure performance of OP_NEW and OP_FORWARD
171     modes of event crypto adapter.
172
173
174 Removed Items
175 -------------
176
177 .. This section should contain removed items in this release. Sample format:
178
179    * Add a short 1-2 sentence description of the removed item
180      in the past tense.
181
182    This section is a comment. Do not overwrite or remove it.
183    Also, make sure to start the actual text at the margin.
184    =======================================================
185
186 * **Removed experimental performance thread example application.**
187
188
189 API Changes
190 -----------
191
192 .. This section should contain API changes. Sample format:
193
194    * sample: Add a short 1-2 sentence description of the API change
195      which was announced in the previous releases and made in this release.
196      Start with a scope label like "ethdev:".
197      Use fixed width quotes for ``function_names`` or ``struct_names``.
198      Use the past tense.
199
200    This section is a comment. Do not overwrite or remove it.
201    Also, make sure to start the actual text at the margin.
202    =======================================================
203
204 * net: added experimental functions ``rte_ipv4_udptcp_cksum_mbuf()``,
205   ``rte_ipv4_udptcp_cksum_mbuf_verify()``, ``rte_ipv6_udptcp_cksum_mbuf()``,
206   ``rte_ipv6_udptcp_cksum_mbuf_verify()``
207
208 * ethdev: Old public macros and enumeration constants without ``RTE_ETH_`` prefix,
209   which are kept for backward compatibility, are marked as deprecated.
210
211 * cryptodev: The asymmetric session handling was modified to use a single
212   mempool object. An API ``rte_cryptodev_asym_session_pool_create`` was added
213   to create a mempool with element size big enough to hold the generic asymmetric
214   session header, max size for a device private session data, and user data size.
215   The session structure was moved to ``cryptodev_pmd.h``,
216   hiding it from applications.
217   The API ``rte_cryptodev_asym_session_init`` was removed as the initialization
218   is now moved to ``rte_cryptodev_asym_session_create``, which was updated to
219   return an integer value to indicate initialisation errors.
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 21.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
255 Tested Platforms
256 ----------------
257
258 .. This section should contain a list of platforms that were tested
259    with this release.
260
261    The format is:
262
263    * <vendor> platform with <vendor> <type of devices> combinations
264
265      * List of CPU
266      * List of OS
267      * List of devices
268      * Other relevant details...
269
270    This section is a comment. Do not overwrite or remove it.
271    Also, make sure to start the actual text at the margin.
272    =======================================================