cryptodev: remove crypto device type enumeration
[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 * **Updated cryptodev library.**
112
113   * Added AEAD algorithm specific functions and structures, so it is not
114     necessary to use a combination of cipher and authentication
115     structures anymore.
116   * Added helper functions for crypto device driver identification.
117
118 * **Updated dpaa2_sec crypto PMD.**
119
120   Added support for AES-GCM and AES-CTR
121
122 * **Updated the AESNI MB PMD.**
123
124   The AESNI MB PMD has been updated with additional support for:
125
126     * 12-byte IV on AES Counter Mode, apart from the previous 16-byte IV.
127
128 * **Updated the AES-NI GCM PMD.**
129
130   The AES-NI GCM PMD was migrated from the ISA-L library to the Multi Buffer
131   library, as the latter library has Scatter Gather List support
132   now. The migration entailed adding additional support for:
133
134   * 192-bit key.
135
136
137 Resolved Issues
138 ---------------
139
140 .. This section should contain bug fixes added to the relevant
141    sections. Sample format:
142
143    * **code/section Fixed issue in the past tense with a full stop.**
144
145      Add a short 1-2 sentence description of the resolved issue in the past
146      tense.
147
148      The title should contain the code/lib section like a commit message.
149
150      Add the entries in alphabetic order in the relevant sections below.
151
152    This section is a comment. do not overwrite or remove it.
153    Also, make sure to start the actual text at the margin.
154    =========================================================
155
156
157 EAL
158 ~~~
159
160
161 Drivers
162 ~~~~~~~
163
164
165 Libraries
166 ~~~~~~~~~
167
168
169 Examples
170 ~~~~~~~~
171
172
173 Other
174 ~~~~~
175
176
177 Known Issues
178 ------------
179
180 .. This section should contain new known issues in this release. Sample format:
181
182    * **Add title in present tense with full stop.**
183
184      Add a short 1-2 sentence description of the known issue in the present
185      tense. Add information on any known workarounds.
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    * Add a short 1-2 sentence description of the API change. Use fixed width
198      quotes for ``rte_function_names`` or ``rte_struct_names``. Use the past
199      tense.
200
201    This section is a comment. do not overwrite or remove it.
202    Also, make sure to start the actual text at the margin.
203    =========================================================
204
205 * **Reworked rte_cryptodev library.**
206
207   The rte_cryptodev library has been reworked and updated. The following changes
208   have been made to it:
209
210   * The crypto device type enumeration has been removed from cryptodev library.
211   * The function ``rte_crypto_count_devtype()`` has been removed, and replaced
212     by the new function ``rte_crypto_count_by_driver()``.
213
214
215 ABI Changes
216 -----------
217
218 .. This section should contain ABI changes. Sample format:
219
220    * Add a short 1-2 sentence description of the ABI change that was announced
221      in the previous releases and made in this release. Use fixed width quotes
222      for ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
223
224    This section is a comment. do not overwrite or remove it.
225    Also, make sure to start the actual text at the margin.
226    =========================================================
227
228 * **Reorganized the crypto operation structures.**
229
230   Some fields have been modified in the ``rte_crypto_op`` and ``rte_crypto_sym_op``
231   structures, as described in the `New Features`_ section.
232
233 * **Reorganized the ``rte_crypto_sym_cipher_xform`` structure.**
234
235   * Added cipher IV length and offset parameters.
236
237 * **Reorganized the ``rte_crypto_sym_auth_xform`` structure.**
238
239   * Added authentication IV length and offset parameters.
240   * Changed field size of AAD length from uint32_t to uint16_t.
241   * Changed field size of digest length from uint32_t to uint16_t.
242   * Removed AAD length.
243
244 * Replaced ``dev_type`` enumeration with uint8_t ``driver_id`` in
245   ``rte_cryptodev_info``, ``rte_cryptodev`` and ``rte_cryptodev_sym_session``
246   structures.
247
248
249 Shared Library Versions
250 -----------------------
251
252 .. Update any library version updated in this release and prepend with a ``+``
253    sign, like this:
254
255      librte_acl.so.2
256    + librte_cfgfile.so.2
257      librte_cmdline.so.2
258
259    This section is a comment. do not overwrite or remove it.
260    =========================================================
261
262
263 The libraries prepended with a plus sign were incremented in this version.
264
265 .. code-block:: diff
266
267      librte_acl.so.2
268      librte_bitratestats.so.1
269      librte_cfgfile.so.2
270      librte_cmdline.so.2
271    + librte_cryptodev.so.3
272      librte_distributor.so.1
273      librte_eal.so.4
274      librte_ethdev.so.6
275      librte_hash.so.2
276      librte_ip_frag.so.1
277      librte_jobstats.so.1
278      librte_kni.so.2
279      librte_kvargs.so.1
280      librte_latencystats.so.1
281      librte_lpm.so.2
282      librte_mbuf.so.3
283      librte_mempool.so.2
284      librte_meter.so.1
285      librte_metrics.so.1
286      librte_net.so.1
287      librte_pdump.so.1
288      librte_pipeline.so.3
289      librte_pmd_bond.so.1
290      librte_pmd_ring.so.2
291      librte_port.so.3
292      librte_power.so.1
293      librte_reorder.so.1
294      librte_ring.so.1
295      librte_sched.so.1
296      librte_table.so.2
297      librte_timer.so.1
298      librte_vhost.so.3
299
300
301 Tested Platforms
302 ----------------
303
304 .. This section should contain a list of platforms that were tested with this
305    release.
306
307    The format is:
308
309    * <vendor> platform with <vendor> <type of devices> combinations
310
311      * List of CPU
312      * List of OS
313      * List of devices
314      * Other relevant details...
315
316    This section is a comment. do not overwrite or remove it.
317    Also, make sure to start the actual text at the margin.
318    =========================================================