efd: new Elastic Flow Distributor library
[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 * **Added Elastic Flow Distributor library (rte_efd).**
152
153   This new library uses perfect hashing to determine a target/value for a
154   given incoming flow key.
155
156   It does not store the key itself for lookup operations, and therefore,
157   lookup performance is not dependent on the key size. Also, the target/value
158   can be any arbitrary value (8 bits by default). Finally, the storage requirement
159   is much smaller than a hash-based flow table and therefore, it can better fit for
160   CPU cache, being able to scale to millions of flow keys.
161
162
163 Resolved Issues
164 ---------------
165
166 .. This section should contain bug fixes added to the relevant sections. Sample format:
167
168    * **code/section Fixed issue in the past tense with a full stop.**
169
170      Add a short 1-2 sentence description of the resolved issue in the past tense.
171      The title should contain the code/lib section like a commit message.
172      Add the entries in alphabetic order in the relevant sections below.
173
174    This section is a comment. do not overwrite or remove it.
175    Also, make sure to start the actual text at the margin.
176    =========================================================
177
178
179 EAL
180 ~~~
181
182
183 Drivers
184 ~~~~~~~
185
186 * **net/virtio: Fixed multiple process support.**
187
188   Fixed few regressions introduced in recent releases that break the virtio
189   multiple process support.
190
191
192 Libraries
193 ~~~~~~~~~
194
195
196 Examples
197 ~~~~~~~~
198
199 * **examples/ethtool: Fixed crash with non-PCI devices.**
200
201   Querying a non-PCI device was dereferencing non-existent PCI data
202   resulting in a segmentation fault.
203
204
205 Other
206 ~~~~~
207
208
209 Known Issues
210 ------------
211
212 .. This section should contain new known issues in this release. Sample format:
213
214    * **Add title in present tense with full stop.**
215
216      Add a short 1-2 sentence description of the known issue in the present
217      tense. Add information on any known workarounds.
218
219    This section is a comment. do not overwrite or remove it.
220    Also, make sure to start the actual text at the margin.
221    =========================================================
222
223
224 API Changes
225 -----------
226
227 .. This section should contain API changes. Sample format:
228
229    * Add a short 1-2 sentence description of the API change. Use fixed width
230      quotes for ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
231
232    This section is a comment. do not overwrite or remove it.
233    Also, make sure to start the actual text at the margin.
234    =========================================================
235
236 * **Moved five APIs for VF management from the ethdev to the ixgbe PMD.**
237
238   The following five APIs for VF management from the PF have been removed from the ethdev,
239   renamed and added to the ixgbe PMD::
240
241     rte_eth_dev_set_vf_rate_limit
242     rte_eth_dev_set_vf_rx
243     rte_eth_dev_set_vf_rxmode
244     rte_eth_dev_set_vf_tx
245     rte_eth_dev_set_vf_vlan_filter
246
247   The API's have been renamed to the following::
248
249     rte_pmd_ixgbe_set_vf_rate_limit
250     rte_pmd_ixgbe_set_vf_rx
251     rte_pmd_ixgbe_set_vf_rxmode
252     rte_pmd_ixgbe_set_vf_tx
253     rte_pmd_ixgbe_set_vf_vlan_filter
254
255   The declarations for the API’s can be found in ``rte_pmd_ixgbe.h``.
256
257 ABI Changes
258 -----------
259
260 .. This section should contain ABI changes. Sample format:
261
262    * Add a short 1-2 sentence description of the ABI change that was announced in
263      the previous releases and made in this release. Use fixed width quotes for
264      ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
265
266    This section is a comment. do not overwrite or remove it.
267    Also, make sure to start the actual text at the margin.
268    =========================================================
269
270
271
272 Shared Library Versions
273 -----------------------
274
275 .. Update any library version updated in this release and prepend with a ``+``
276    sign, like this:
277
278      librte_acl.so.2
279    + librte_cfgfile.so.2
280      librte_cmdline.so.2
281
282    This section is a comment. do not overwrite or remove it.
283    =========================================================
284
285
286 The libraries prepended with a plus sign were incremented in this version.
287
288 .. code-block:: diff
289
290      librte_acl.so.2
291      librte_cfgfile.so.2
292      librte_cmdline.so.2
293      librte_cryptodev.so.2
294      librte_distributor.so.1
295      librte_eal.so.3
296    + librte_ethdev.so.6
297      librte_hash.so.2
298      librte_ip_frag.so.1
299      librte_jobstats.so.1
300      librte_kni.so.2
301      librte_kvargs.so.1
302      librte_lpm.so.2
303      librte_mbuf.so.2
304      librte_mempool.so.2
305      librte_meter.so.1
306      librte_net.so.1
307      librte_pdump.so.1
308      librte_pipeline.so.3
309      librte_pmd_bond.so.1
310      librte_pmd_ring.so.2
311      librte_port.so.3
312      librte_power.so.1
313      librte_reorder.so.1
314      librte_ring.so.1
315      librte_sched.so.1
316      librte_table.so.2
317      librte_timer.so.1
318      librte_vhost.so.3
319
320
321 Tested Platforms
322 ----------------
323
324 .. This section should contain a list of platforms that were tested with this release.
325
326    The format is:
327
328    #. Platform name.
329
330       * Platform details.
331       * Platform details.
332
333    This section is a comment. do not overwrite or remove it.
334    Also, make sure to start the actual text at the margin.
335    =========================================================
336
337
338 Tested NICs
339 -----------
340
341 .. This section should contain a list of NICs that were tested with this release.
342
343    The format is:
344
345    #. NIC name.
346
347       * NIC details.
348       * NIC details.
349
350    This section is a comment. do not overwrite or remove it.
351    Also, make sure to start the actual text at the margin.
352    =========================================================
353
354
355 Tested OSes
356 -----------
357
358 .. This section should contain a list of OSes that were tested with this release.
359    The format is as follows, in alphabetical order:
360
361    * CentOS 7.0
362    * Fedora 23
363    * Fedora 24
364    * FreeBSD 10.3
365    * Red Hat Enterprise Linux 7.2
366    * SUSE Enterprise Linux 12
367    * Ubuntu 15.10
368    * Ubuntu 16.04 LTS
369    * Wind River Linux 8
370
371    This section is a comment. do not overwrite or remove it.
372    Also, make sure to start the actual text at the margin.
373    =========================================================