cryptodev: remove AAD size in auth capabilities
[dpdk.git] / doc / guides / rel_notes / release_17_08.rst
1 DPDK Release 17.08
2 ==================
3
4 .. **Read this first.**
5
6    The text in the sections below explains how to update the release notes.
7
8    Use proper spelling, capitalization and punctuation in all sections.
9
10    Variable and config names should be quoted as fixed width text:
11    ``LIKE_THIS``.
12
13    Build the docs and view the output file to ensure the changes are correct::
14
15       make doc-guides-html
16
17       xdg-open build/doc/html/guides/rel_notes/release_17_08.html
18
19
20 New Features
21 ------------
22
23 .. This section should contain new features added in this release. Sample
24    format:
25
26    * **Add a title in the past tense with a full stop.**
27
28      Add a short 1-2 sentence description in the past tense. The description
29      should be enough to allow someone scanning the release notes to
30      understand the new feature.
31
32      If the feature adds a lot of sub-features you can use a bullet list like
33      this:
34
35      * Added feature foo to do something.
36      * Enhanced feature bar to do something else.
37
38      Refer to the previous release notes for examples.
39
40      This section is a comment. do not overwrite or remove it.
41      Also, make sure to start the actual text at the margin.
42      =========================================================
43
44 * **Added Service Core functionality.**
45
46   The service core functionality added to EAL allows DPDK to run services such
47   as SW PMDs on lcores without the application manually running them. The
48   service core infrastructure allows flexibility of running multiple services
49   on the same service lcore, and provides the application with powerful APIs to
50   configure the mapping from service lcores to services.
51
52 * **Added Generic Receive Offload API.**
53
54   Generic Receive Offload (GRO) API supports to reassemble TCP/IPv4
55   packets. GRO API assumes all inputted packets are with correct
56   checksums. GRO API doesn't update checksums for merged packets. If
57   inputted packets are IP fragmented, GRO API assumes they are complete
58   packets (i.e. with L4 headers).
59
60 * **Added support for generic flow API (rte_flow) on igb NIC.**
61
62   This API provides a generic means to configure hardware to match specific
63   ingress or egress traffic, alter its behavior and query related counters
64   according to any number of user-defined rules.
65
66   * Generic flow API support for Ethernet, IPv4, UDP, TCP and
67     RAW pattern items with QUEUE actions. There are four
68     type of filter support for this feature on igb.
69
70 * **Added Generic Flow API support to enic.**
71
72   Flow API support for outer Ethernet, VLAN, IPv4, IPv6, UDP, TCP, SCTP, VxLAN
73   and inner Ethernet, VLAN, IPv4, IPv6, UDP and TCP pattern items with QUEUE,
74   MARK, FLAG and VOID actions for ingress traffic.
75
76 * **Added support for Chelsio T6 family of adapters**
77
78   CXGBE PMD updated to run Chelsio T6 family of adapters.
79
80 * **Added latency and performance improvements for cxgbe**
81
82   TX and RX path reworked to improve performance.  Also reduced latency
83   for slow traffic.
84
85 * **Updated bnxt PMD.**
86
87   Major enhancements include:
88   * Support MTU modification.
89   * Support LRO.
90   * Support VLAN filter and strip functionality.
91   * Other enhancements to add support for more dev_ops.
92   * Add PMD specific APIs mainly to control VF from PF.
93   * Update HWRM version to 1.7.7
94
95 * **Added support for Rx interrupts on mlx4 driver.**
96
97   Rx queues can be armed with an interrupt which will trigger on the
98   next packet arrival.
99
100 * **Updated szedata2 PMD.**
101
102   Added support for firmwares with multiple Ethernet ports per physical port.
103
104 * **Reorganized the symmetric crypto operation structure.**
105
106   The crypto operation (``rte_crypto_sym_op``) has been reorganized as follows:
107
108   * Removed field ``rte_crypto_sym_op_sess_type``.
109   * Replaced pointer and physical address of IV with offset from the start
110     of the crypto operation.
111   * Moved length and offset of cipher IV to ``rte_crypto_cipher_xform``.
112   * Removed Additional Authentication Data (AAD) length.
113   * Removed digest length.
114   * Removed AAD pointer and physical address from ``auth`` structure.
115   * Added ``aead`` structure, containing parameters for AEAD algorithms.
116
117 * **Reorganized the crypto operation structure.**
118
119   The crypto operation (``rte_crypto_op``) has been reorganized as follows:
120
121   * Added field ``rte_crypto_op_sess_type``.
122   * Enumerations ``rte_crypto_op_status`` and ``rte_crypto_op_type``
123     have been modified to be uint8_t values.
124   * Removed the field ``opaque_data``.
125   * Pointer to ``rte_crypto_sym_op`` has been replaced with a zero length array.
126
127 * **Reorganized the crypto symmetric session structure.**
128
129   The crypto symmetric session structure (``rte_cryptodev_sym_session``) has
130   been reorganized as follows:
131
132   * ``dev_id`` field has been removed.
133   * ``driver_id`` field has been removed.
134   * Mempool pointer ``mp`` has been removed.
135   * Replaced ``private`` marker with array of pointers to private data sessions
136     ``sess_private_data``.
137
138 * **Updated cryptodev library.**
139
140   * Added AEAD algorithm specific functions and structures, so it is not
141     necessary to use a combination of cipher and authentication
142     structures anymore.
143   * Added helper functions for crypto device driver identification.
144   * Added support for multi-device sessions, so a single session can be
145     used in multiple drivers.
146   * Added functions to initialize and free individual driver private data
147     with a same session.
148
149 * **Updated dpaa2_sec crypto PMD.**
150
151   Added support for AES-GCM and AES-CTR
152
153 * **Updated the AESNI MB PMD.**
154
155   The AESNI MB PMD has been updated with additional support for:
156
157     * 12-byte IV on AES Counter Mode, apart from the previous 16-byte IV.
158
159 * **Updated the AES-NI GCM PMD.**
160
161   The AES-NI GCM PMD was migrated from the ISA-L library to the Multi Buffer
162   library, as the latter library has Scatter Gather List support
163   now. The migration entailed adding additional support for:
164
165   * 192-bit key.
166
167 * **Updated the Cryptodev Scheduler PMD.**
168
169   Added a multicore based distribution mode, which distributes the enqueued
170   crypto operations among several slaves, running on different logical cores.
171
172 * **Added dpdk-test-eventdev test application.**
173
174   The dpdk-test-eventdev tool is a Data Plane Development Kit (DPDK) application
175   that allows exercising various eventdev use cases.
176   This application has a generic framework to add new eventdev based test cases
177   to verify functionality and measure the performance parameters of DPDK
178   eventdev devices.
179
180
181 Resolved Issues
182 ---------------
183
184 .. This section should contain bug fixes added to the relevant
185    sections. Sample format:
186
187    * **code/section Fixed issue in the past tense with a full stop.**
188
189      Add a short 1-2 sentence description of the resolved issue in the past
190      tense.
191
192      The title should contain the code/lib section like a commit message.
193
194      Add the entries in alphabetic order in the relevant sections below.
195
196    This section is a comment. do not overwrite or remove it.
197    Also, make sure to start the actual text at the margin.
198    =========================================================
199
200
201 EAL
202 ~~~
203
204
205 Drivers
206 ~~~~~~~
207
208
209 Libraries
210 ~~~~~~~~~
211
212
213 Examples
214 ~~~~~~~~
215
216
217 Other
218 ~~~~~
219
220
221 Known Issues
222 ------------
223
224 .. This section should contain new known issues in this release. Sample format:
225
226    * **Add title in present tense with full stop.**
227
228      Add a short 1-2 sentence description of the known issue in the present
229      tense. Add information on any known workarounds.
230
231    This section is a comment. do not overwrite or remove it.
232    Also, make sure to start the actual text at the margin.
233    =========================================================
234
235
236 API Changes
237 -----------
238
239 .. This section should contain API changes. Sample format:
240
241    * Add a short 1-2 sentence description of the API change. Use fixed width
242      quotes for ``rte_function_names`` or ``rte_struct_names``. Use the past
243      tense.
244
245    This section is a comment. do not overwrite or remove it.
246    Also, make sure to start the actual text at the margin.
247    =========================================================
248
249 * **Moved bypass functions from the rte_ethdev library to ixgbe PMD**
250
251   * The following rte_ethdev library functions were removed:
252
253     * ``rte_eth_dev_bypass_event_show``
254     * ``rte_eth_dev_bypass_event_store``
255     * ``rte_eth_dev_bypass_init``
256     * ``rte_eth_dev_bypass_state_set``
257     * ``rte_eth_dev_bypass_state_show``
258     * ``rte_eth_dev_bypass_ver_show``
259     * ``rte_eth_dev_bypass_wd_reset``
260     * ``rte_eth_dev_bypass_wd_timeout_show``
261     * ``rte_eth_dev_wd_timeout_store``
262
263   * The following ixgbe PMD functions were added:
264
265     * ``rte_pmd_ixgbe_bypass_event_show``
266     * ``rte_pmd_ixgbe_bypass_event_store``
267     * ``rte_pmd_ixgbe_bypass_init``
268     * ``rte_pmd_ixgbe_bypass_state_set``
269     * ``rte_pmd_ixgbe_bypass_state_show``
270     * ``rte_pmd_ixgbe_bypass_ver_show``
271     * ``rte_pmd_ixgbe_bypass_wd_reset``
272     * ``rte_pmd_ixgbe_bypass_wd_timeout_show``
273     * ``rte_pmd_ixgbe_bypass_wd_timeout_store``
274
275 * **Reworked rte_cryptodev library.**
276
277   The rte_cryptodev library has been reworked and updated. The following changes
278   have been made to it:
279
280   * The crypto device type enumeration has been removed from cryptodev library.
281   * The function ``rte_crypto_count_devtype()`` has been removed, and replaced
282     by the new function ``rte_crypto_count_by_driver()``.
283   * Moved crypto device driver names definitions to the particular PMDs.
284     These names are not public anymore.
285   * ``rte_cryptodev_configure()`` does not create the session mempool
286     for the device anymore.
287   * ``rte_cryptodev_queue_pair_attach_sym_session()`` and
288     ``rte_cryptodev_queue_pair_dettach_sym_session()`` functions require
289     the new parameter ``device id``.
290   * Modified parameters of ``rte_cryptodev_sym_session_create()``, to accept
291     ``mempool``, instead of ``device id`` and ``rte_crypto_sym_xform``.
292   * Remove ``device id`` parameter from ``rte_cryptodev_sym_session_free()``.
293   * Added new field ``session_pool`` to ``rte_cryptodev_queue_pair_setup()``.
294   * Removed ``aad_size`` parameter from ``rte_cryptodev_sym_capability_check_auth()``.
295   * Added ``iv_size`` parameter to ``rte_cryptodev_sym_capability_check_auth()``.
296
297
298 ABI Changes
299 -----------
300
301 .. This section should contain ABI changes. Sample format:
302
303    * Add a short 1-2 sentence description of the ABI change that was announced
304      in the previous releases and made in this release. Use fixed width quotes
305      for ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
306
307    This section is a comment. do not overwrite or remove it.
308    Also, make sure to start the actual text at the margin.
309    =========================================================
310
311 * **Reorganized the crypto operation structures.**
312
313   Some fields have been modified in the ``rte_crypto_op`` and ``rte_crypto_sym_op``
314   structures, as described in the `New Features`_ section.
315
316 * **Reorganized the crypto symmetric session structure.**
317
318   Some fields have been modified in the ``rte_cryptodev_sym_session``
319   structure, as described in the `New Features`_ section.
320
321 * **Reorganized the ``rte_crypto_sym_cipher_xform`` structure.**
322
323   * Added cipher IV length and offset parameters.
324
325 * **Reorganized the ``rte_crypto_sym_auth_xform`` structure.**
326
327   * Added authentication IV length and offset parameters.
328   * Changed field size of AAD length from uint32_t to uint16_t.
329   * Changed field size of digest length from uint32_t to uint16_t.
330   * Removed AAD length.
331
332 * Replaced ``dev_type`` enumeration with uint8_t ``driver_id`` in
333   ``rte_cryptodev_info`` and  ``rte_cryptodev`` structures.
334
335 * Removed ``session_mp`` from ``rte_cryptodev_config``.
336
337
338 Shared Library Versions
339 -----------------------
340
341 .. Update any library version updated in this release and prepend with a ``+``
342    sign, like this:
343
344      librte_acl.so.2
345    + librte_cfgfile.so.2
346      librte_cmdline.so.2
347
348    This section is a comment. do not overwrite or remove it.
349    =========================================================
350
351
352 The libraries prepended with a plus sign were incremented in this version.
353
354 .. code-block:: diff
355
356      librte_acl.so.2
357      librte_bitratestats.so.1
358      librte_cfgfile.so.2
359      librte_cmdline.so.2
360    + librte_cryptodev.so.3
361      librte_distributor.so.1
362      librte_eal.so.4
363      librte_ethdev.so.6
364    + librte_gro.so.1
365      librte_hash.so.2
366      librte_ip_frag.so.1
367      librte_jobstats.so.1
368      librte_kni.so.2
369      librte_kvargs.so.1
370      librte_latencystats.so.1
371      librte_lpm.so.2
372      librte_mbuf.so.3
373      librte_mempool.so.2
374      librte_meter.so.1
375      librte_metrics.so.1
376      librte_net.so.1
377      librte_pdump.so.1
378      librte_pipeline.so.3
379      librte_pmd_bond.so.1
380      librte_pmd_ring.so.2
381      librte_port.so.3
382      librte_power.so.1
383      librte_reorder.so.1
384      librte_ring.so.1
385      librte_sched.so.1
386      librte_table.so.2
387      librte_timer.so.1
388      librte_vhost.so.3
389
390
391 Tested Platforms
392 ----------------
393
394 .. This section should contain a list of platforms that were tested with this
395    release.
396
397    The format is:
398
399    * <vendor> platform with <vendor> <type of devices> combinations
400
401      * List of CPU
402      * List of OS
403      * List of devices
404      * Other relevant details...
405
406    This section is a comment. do not overwrite or remove it.
407    Also, make sure to start the actual text at the margin.
408    =========================================================