cryptodev: remove device id from session
[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 support for generic flow API (rte_flow) on igb NIC.**
45
46   This API provides a generic means to configure hardware to match specific
47   ingress or egress traffic, alter its behavior and query related counters
48   according to any number of user-defined rules.
49
50   * Generic flow API support for Ethernet, IPv4, UDP, TCP and
51     RAW pattern items with QUEUE actions. There are four
52     type of filter support for this feature on igb.
53
54 * **Added Generic Flow API support to enic.**
55
56   Flow API support for outer Ethernet, VLAN, IPv4, IPv6, UDP, TCP, SCTP, VxLAN
57   and inner Ethernet, VLAN, IPv4, IPv6, UDP and TCP pattern items with QUEUE,
58   MARK, FLAG and VOID actions for ingress traffic.
59
60 * **Added support for Chelsio T6 family of adapters**
61
62   CXGBE PMD updated to run Chelsio T6 family of adapters.
63
64 * **Added latency and performance improvements for cxgbe**
65
66   TX and RX path reworked to improve performance.  Also reduced latency
67   for slow traffic.
68
69 * **Updated bnxt PMD.**
70
71   Major enhancements include:
72   * Support MTU modification.
73   * Support LRO.
74   * Support VLAN filter and strip functionality.
75   * Other enhancements to add support for more dev_ops.
76   * Add PMD specific APIs mainly to control VF from PF.
77   * Update HWRM version to 1.7.7
78
79 * **Added support for Rx interrupts on mlx4 driver.**
80
81   Rx queues can be armed with an interrupt which will trigger on the
82   next packet arrival.
83
84 * **Updated szedata2 PMD.**
85
86   Added support for firmwares with multiple Ethernet ports per physical port.
87
88 * **Reorganized the symmetric crypto operation structure.**
89
90   The crypto operation (``rte_crypto_sym_op``) has been reorganized as follows:
91
92   * Removed field ``rte_crypto_sym_op_sess_type``.
93   * Replaced pointer and physical address of IV with offset from the start
94     of the crypto operation.
95   * Moved length and offset of cipher IV to ``rte_crypto_cipher_xform``.
96   * Removed Additional Authentication Data (AAD) length.
97   * Removed digest length.
98   * Removed AAD pointer and physical address from ``auth`` structure.
99   * Added ``aead`` structure, containing parameters for AEAD algorithms.
100
101 * **Reorganized the crypto operation structure.**
102
103   The crypto operation (``rte_crypto_op``) has been reorganized as follows:
104
105   * Added field ``rte_crypto_op_sess_type``.
106   * Enumerations ``rte_crypto_op_status`` and ``rte_crypto_op_type``
107     have been modified to be uint8_t values.
108   * Removed the field ``opaque_data``.
109   * Pointer to ``rte_crypto_sym_op`` has been replaced with a zero length array.
110
111 * **Reorganized the crypto symmetric session structure.**
112
113   The crypto symmetric session structure (``rte_cryptodev_sym_session``) has
114   been reorganized as follows:
115
116   * ``dev_id`` field has been removed.
117
118 * **Updated cryptodev library.**
119
120   * Added AEAD algorithm specific functions and structures, so it is not
121     necessary to use a combination of cipher and authentication
122     structures anymore.
123   * Added helper functions for crypto device driver identification.
124
125 * **Updated dpaa2_sec crypto PMD.**
126
127   Added support for AES-GCM and AES-CTR
128
129 * **Updated the AESNI MB PMD.**
130
131   The AESNI MB PMD has been updated with additional support for:
132
133     * 12-byte IV on AES Counter Mode, apart from the previous 16-byte IV.
134
135 * **Updated the AES-NI GCM PMD.**
136
137   The AES-NI GCM PMD was migrated from the ISA-L library to the Multi Buffer
138   library, as the latter library has Scatter Gather List support
139   now. The migration entailed adding additional support for:
140
141   * 192-bit key.
142
143 * **Updated the Cryptodev Scheduler PMD.**
144
145   Added a multicore based distribution mode, which distributes the enqueued
146   crypto operations among several slaves, running on different logical cores.
147
148
149 Resolved Issues
150 ---------------
151
152 .. This section should contain bug fixes added to the relevant
153    sections. Sample format:
154
155    * **code/section Fixed issue in the past tense with a full stop.**
156
157      Add a short 1-2 sentence description of the resolved issue in the past
158      tense.
159
160      The title should contain the code/lib section like a commit message.
161
162      Add the entries in alphabetic order in the relevant sections below.
163
164    This section is a comment. do not overwrite or remove it.
165    Also, make sure to start the actual text at the margin.
166    =========================================================
167
168
169 EAL
170 ~~~
171
172
173 Drivers
174 ~~~~~~~
175
176
177 Libraries
178 ~~~~~~~~~
179
180
181 Examples
182 ~~~~~~~~
183
184
185 Other
186 ~~~~~
187
188
189 Known Issues
190 ------------
191
192 .. This section should contain new known issues in this release. Sample format:
193
194    * **Add title in present tense with full stop.**
195
196      Add a short 1-2 sentence description of the known issue in the present
197      tense. Add information on any known workarounds.
198
199    This section is a comment. do not overwrite or remove it.
200    Also, make sure to start the actual text at the margin.
201    =========================================================
202
203
204 API Changes
205 -----------
206
207 .. This section should contain API changes. Sample format:
208
209    * Add a short 1-2 sentence description of the API change. Use fixed width
210      quotes for ``rte_function_names`` or ``rte_struct_names``. Use the past
211      tense.
212
213    This section is a comment. do not overwrite or remove it.
214    Also, make sure to start the actual text at the margin.
215    =========================================================
216
217 * **Reworked rte_cryptodev library.**
218
219   The rte_cryptodev library has been reworked and updated. The following changes
220   have been made to it:
221
222   * The crypto device type enumeration has been removed from cryptodev library.
223   * The function ``rte_crypto_count_devtype()`` has been removed, and replaced
224     by the new function ``rte_crypto_count_by_driver()``.
225   * Moved crypto device driver names definitions to the particular PMDs.
226     These names are not public anymore.
227   * ``rte_cryptodev_configure()`` does not create the session mempool
228     for the device anymore.
229   * ``rte_cryptodev_queue_pair_attach_sym_session()`` and
230     ``rte_cryptodev_queue_pair_dettach_sym_session()`` functions require
231     the new parameter ``device id``.
232
233
234 ABI Changes
235 -----------
236
237 .. This section should contain ABI changes. Sample format:
238
239    * Add a short 1-2 sentence description of the ABI change that was announced
240      in the previous releases and made in this release. Use fixed width quotes
241      for ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
242
243    This section is a comment. do not overwrite or remove it.
244    Also, make sure to start the actual text at the margin.
245    =========================================================
246
247 * **Reorganized the crypto operation structures.**
248
249   Some fields have been modified in the ``rte_crypto_op`` and ``rte_crypto_sym_op``
250   structures, as described in the `New Features`_ section.
251
252 * **Reorganized the crypto symmetric session structure.**
253
254   Some fields have been modified in the ``rte_cryptodev_sym_session``
255   structure, as described in the `New Features`_ section.
256
257 * **Reorganized the ``rte_crypto_sym_cipher_xform`` structure.**
258
259   * Added cipher IV length and offset parameters.
260
261 * **Reorganized the ``rte_crypto_sym_auth_xform`` structure.**
262
263   * Added authentication IV length and offset parameters.
264   * Changed field size of AAD length from uint32_t to uint16_t.
265   * Changed field size of digest length from uint32_t to uint16_t.
266   * Removed AAD length.
267
268 * Replaced ``dev_type`` enumeration with uint8_t ``driver_id`` in
269   ``rte_cryptodev_info`` and  ``rte_cryptodev`` structures.
270
271 * Removed ``session_mp`` from ``rte_cryptodev_config``.
272
273
274 Shared Library Versions
275 -----------------------
276
277 .. Update any library version updated in this release and prepend with a ``+``
278    sign, like this:
279
280      librte_acl.so.2
281    + librte_cfgfile.so.2
282      librte_cmdline.so.2
283
284    This section is a comment. do not overwrite or remove it.
285    =========================================================
286
287
288 The libraries prepended with a plus sign were incremented in this version.
289
290 .. code-block:: diff
291
292      librte_acl.so.2
293      librte_bitratestats.so.1
294      librte_cfgfile.so.2
295      librte_cmdline.so.2
296    + librte_cryptodev.so.3
297      librte_distributor.so.1
298      librte_eal.so.4
299      librte_ethdev.so.6
300      librte_hash.so.2
301      librte_ip_frag.so.1
302      librte_jobstats.so.1
303      librte_kni.so.2
304      librte_kvargs.so.1
305      librte_latencystats.so.1
306      librte_lpm.so.2
307      librte_mbuf.so.3
308      librte_mempool.so.2
309      librte_meter.so.1
310      librte_metrics.so.1
311      librte_net.so.1
312      librte_pdump.so.1
313      librte_pipeline.so.3
314      librte_pmd_bond.so.1
315      librte_pmd_ring.so.2
316      librte_port.so.3
317      librte_power.so.1
318      librte_reorder.so.1
319      librte_ring.so.1
320      librte_sched.so.1
321      librte_table.so.2
322      librte_timer.so.1
323      librte_vhost.so.3
324
325
326 Tested Platforms
327 ----------------
328
329 .. This section should contain a list of platforms that were tested with this
330    release.
331
332    The format is:
333
334    * <vendor> platform with <vendor> <type of devices> combinations
335
336      * List of CPU
337      * List of OS
338      * List of devices
339      * Other relevant details...
340
341    This section is a comment. do not overwrite or remove it.
342    Also, make sure to start the actual text at the margin.
343    =========================================================