crypto/qat: add SGL capability
[dpdk.git] / doc / guides / rel_notes / release_17_02.rst
1 DPDK Release 17.02
2 ==================
3
4 .. **Read this first.**
5
6    The text 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: ``LIKE_THIS``.
11
12    Build the docs and view the output file to ensure the changes are correct::
13
14       make doc-guides-html
15
16       firefox build/doc/html/guides/rel_notes/release_17_02.html
17
18
19 New Features
20 ------------
21
22 .. This section should contain new features added in this release. Sample format:
23
24    * **Add a title in the past tense with a full stop.**
25
26      Add a short 1-2 sentence description in the past tense. The description
27      should be enough to allow someone scanning the release notes to understand
28      the new feature.
29
30      If the feature adds a lot of sub-features you can use a bullet list like this.
31
32      * Added feature foo to do something.
33      * Enhanced feature bar to do something else.
34
35      Refer to the previous release notes for examples.
36
37      This section is a comment. do not overwrite or remove it.
38      Also, make sure to start the actual text at the margin.
39      =========================================================
40
41 * **Added generic flow API (rte_flow).**
42
43   This API provides a generic means to configure hardware to match specific
44   ingress or egress traffic, alter its fate and query related counters
45   according to any number of user-defined rules.
46
47   It is slightly higher-level than the legacy filtering framework which it
48   encompasses and supersedes (including all functions and filter types) in
49   order to expose a single interface with an unambiguous behavior that is
50   common to all poll-mode drivers (PMDs).
51
52   See the :ref:`Generic flow API <Generic_flow_API>` documentation for more
53   information.
54
55 * **Added firmware version get API.**
56
57   Added a new function ``rte_eth_dev_fw_version_get()`` to fetch firmware
58   version by a given device.
59
60 * **Added APIs for MACsec offload support to the ixgbe PMD.**
61
62   Six new APIs have been added to the ixgbe PMD for MACsec offload support.
63   The declarations for the APIs can be found in ``rte_pmd_ixgbe.h``.
64
65 * **Added I219 NICs support.**
66
67   Added support for I219 Intel 1GbE NICs.
68
69 * **Added VF Daemon (VFD) on i40e. - EXPERIMENTAL**
70
71   This's an EXPERIMENTAL feature to enhance the capability of DPDK PF as many
72   VF management features are not supported by kernel PF driver.
73   Some new private APIs are implemented in PMD without abstrction layer.
74   They can be used directly by some users who have the need.
75
76   The new APIs to control VFs directly from PF include,
77   1) set VF MAC anti-spoofing
78   2) set VF VLAN anti-spoofing
79   3) set TX loopback
80   4) set VF unicast promiscuous mode
81   5) set VF multicast promiscuous mode
82   6) set VF MTU
83   7) get/reset VF stats
84   8) set VF MAC address
85   9) set VF VLAN stripping
86   10) VF VLAN insertion
87   12) set VF broadcast mode
88   13) set VF VLAN tag
89   14) set VF VLAN filter
90   VFD also includes VF to PF mailbox message management by APP.
91   When PF receives mailbox messages from VF, PF should call the callback
92   provided by APP to know if they're permitted to be processed.
93
94   As an EXPERIMENTAL feature, please aware it can be changed or even
95   removed without prior notice.
96
97 * **Updated the i40e base driver.**
98
99   updated the i40e base driver, including the following changes:
100
101   * replace existing legacy memcpy() calls with i40e_memcpy() calls.
102   * use BIT() macro instead of bit fields
103   * add clear all WoL filters implementation
104   * add broadcast promiscuous control per VLAN
105   * remove unused X722_SUPPORT and I40E_NDIS_SUPPORT MARCOs
106
107 * **Added Solarflare libefx-based network PMD.**
108
109   A new network PMD which supports Solarflare SFN7xxx and SFN8xxx family
110   of 10/40 Gbps adapters has been added.
111
112 * **Added support for Mellanox ConnectX-5 adapters (mlx5).**
113
114   Support for Mellanox ConnectX-5 family of 10/25/40/50/100 Gbps adapters
115   has been added to the existing mlx5 PMD.
116
117 * **virtio-user with vhost-kernel as another exceptional path.**
118
119   Previously, we upstreamed a virtual device, virtio-user with vhost-user
120   as the backend, as a way for IPC (Inter-Process Communication) and user
121   space container networking.
122
123   Virtio-user with vhost-kernel as the backend is a solution for exceptional
124   path, such as KNI, which exchanges packets with kernel networking stack.
125   This solution is very promising in:
126
127   * maintenance: vhost and vhost-net (kernel) is upstreamed and extensively
128     used kernel module.
129   * features: vhost-net is born to be a networking solution, which has
130     lots of networking related features, like multi-queue, TSO, multi-seg
131     mbuf, etc.
132   * performance: similar to KNI, this solution would use one or more
133     kthreads to send/receive packets from user space DPDK applications,
134     which has little impact on user space polling thread (except that
135     it might enter into kernel space to wake up those kthreads if
136     necessary).
137
138 * **Added virtio Rx interrupt suppprt.**
139
140   This feature enables Rx interrupt mode for virtio pci net devices as
141   binded to VFIO (noiommu mode) and drived by virtio PMD.
142
143   With this feature, virtio PMD can switch between polling mode and
144   interrupt mode, to achieve best performance, and at the same time save
145   power. It can work on both legacy and modern virtio devices. At this mode,
146   each rxq is mapped with an exluded MSIx interrupt.
147
148   See the :ref:`Virtio Interrupt Mode <virtio_interrupt_mode>` documentation
149   for more information.
150
151 * **Updated the QAT PMD.**
152
153   The QAT PMD was updated with additional support for:
154
155   * DES algorithm.
156   * Scatter-gather list (SGL) support.
157
158 * **Added Elastic Flow Distributor library (rte_efd).**
159
160   This new library uses perfect hashing to determine a target/value for a
161   given incoming flow key.
162
163   It does not store the key itself for lookup operations, and therefore,
164   lookup performance is not dependent on the key size. Also, the target/value
165   can be any arbitrary value (8 bits by default). Finally, the storage requirement
166   is much smaller than a hash-based flow table and therefore, it can better fit for
167   CPU cache, being able to scale to millions of flow keys.
168
169   See the :ref:`Elastic Flow Distributor Library <Efd_Library>` documentation in
170   the Programmers Guide document, for more information.
171
172
173 Resolved Issues
174 ---------------
175
176 .. This section should contain bug fixes added to the relevant sections. Sample format:
177
178    * **code/section Fixed issue in the past tense with a full stop.**
179
180      Add a short 1-2 sentence description of the resolved issue in the past tense.
181      The title should contain the code/lib section like a commit message.
182      Add the entries in alphabetic order in the relevant sections below.
183
184    This section is a comment. do not overwrite or remove it.
185    Also, make sure to start the actual text at the margin.
186    =========================================================
187
188
189 EAL
190 ~~~
191
192
193 Drivers
194 ~~~~~~~
195
196 * **net/virtio: Fixed multiple process support.**
197
198   Fixed few regressions introduced in recent releases that break the virtio
199   multiple process support.
200
201
202 Libraries
203 ~~~~~~~~~
204
205
206 Examples
207 ~~~~~~~~
208
209 * **examples/ethtool: Fixed crash with non-PCI devices.**
210
211   Querying a non-PCI device was dereferencing non-existent PCI data
212   resulting in a segmentation fault.
213
214
215 Other
216 ~~~~~
217
218
219 Known Issues
220 ------------
221
222 .. This section should contain new known issues in this release. Sample format:
223
224    * **Add title in present tense with full stop.**
225
226      Add a short 1-2 sentence description of the known issue in the present
227      tense. Add information on any known workarounds.
228
229    This section is a comment. do not overwrite or remove it.
230    Also, make sure to start the actual text at the margin.
231    =========================================================
232
233
234 API Changes
235 -----------
236
237 .. This section should contain API changes. Sample format:
238
239    * Add a short 1-2 sentence description of the API change. Use fixed width
240      quotes for ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
241
242    This section is a comment. do not overwrite or remove it.
243    Also, make sure to start the actual text at the margin.
244    =========================================================
245
246 * **Moved five APIs for VF management from the ethdev to the ixgbe PMD.**
247
248   The following five APIs for VF management from the PF have been removed from the ethdev,
249   renamed and added to the ixgbe PMD::
250
251     rte_eth_dev_set_vf_rate_limit
252     rte_eth_dev_set_vf_rx
253     rte_eth_dev_set_vf_rxmode
254     rte_eth_dev_set_vf_tx
255     rte_eth_dev_set_vf_vlan_filter
256
257   The API's have been renamed to the following::
258
259     rte_pmd_ixgbe_set_vf_rate_limit
260     rte_pmd_ixgbe_set_vf_rx
261     rte_pmd_ixgbe_set_vf_rxmode
262     rte_pmd_ixgbe_set_vf_tx
263     rte_pmd_ixgbe_set_vf_vlan_filter
264
265   The declarations for the API’s can be found in ``rte_pmd_ixgbe.h``.
266
267 ABI Changes
268 -----------
269
270 .. This section should contain ABI changes. Sample format:
271
272    * Add a short 1-2 sentence description of the ABI change that was announced in
273      the previous releases and made in this release. Use fixed width quotes for
274      ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
275
276    This section is a comment. do not overwrite or remove it.
277    Also, make sure to start the actual text at the margin.
278    =========================================================
279
280
281
282 Shared Library Versions
283 -----------------------
284
285 .. Update any library version updated in this release and prepend with a ``+``
286    sign, like this:
287
288      librte_acl.so.2
289    + librte_cfgfile.so.2
290      librte_cmdline.so.2
291
292    This section is a comment. do not overwrite or remove it.
293    =========================================================
294
295
296 The libraries prepended with a plus sign were incremented in this version.
297
298 .. code-block:: diff
299
300      librte_acl.so.2
301      librte_cfgfile.so.2
302      librte_cmdline.so.2
303      librte_cryptodev.so.2
304      librte_distributor.so.1
305      librte_eal.so.3
306    + librte_ethdev.so.6
307      librte_hash.so.2
308      librte_ip_frag.so.1
309      librte_jobstats.so.1
310      librte_kni.so.2
311      librte_kvargs.so.1
312      librte_lpm.so.2
313      librte_mbuf.so.2
314      librte_mempool.so.2
315      librte_meter.so.1
316      librte_net.so.1
317      librte_pdump.so.1
318      librte_pipeline.so.3
319      librte_pmd_bond.so.1
320      librte_pmd_ring.so.2
321      librte_port.so.3
322      librte_power.so.1
323      librte_reorder.so.1
324      librte_ring.so.1
325      librte_sched.so.1
326      librte_table.so.2
327      librte_timer.so.1
328      librte_vhost.so.3
329
330
331 Tested Platforms
332 ----------------
333
334 .. This section should contain a list of platforms that were tested with this release.
335
336    The format is:
337
338    #. Platform name.
339
340       * Platform details.
341       * Platform details.
342
343    This section is a comment. do not overwrite or remove it.
344    Also, make sure to start the actual text at the margin.
345    =========================================================
346
347
348 Tested NICs
349 -----------
350
351 .. This section should contain a list of NICs that were tested with this release.
352
353    The format is:
354
355    #. NIC name.
356
357       * NIC details.
358       * NIC details.
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
365 Tested OSes
366 -----------
367
368 .. This section should contain a list of OSes that were tested with this release.
369    The format is as follows, in alphabetical order:
370
371    * CentOS 7.0
372    * Fedora 23
373    * Fedora 24
374    * FreeBSD 10.3
375    * Red Hat Enterprise Linux 7.2
376    * SUSE Enterprise Linux 12
377    * Ubuntu 15.10
378    * Ubuntu 16.04 LTS
379    * Wind River Linux 8
380
381    This section is a comment. do not overwrite or remove it.
382    Also, make sure to start the actual text at the margin.
383    =========================================================