b5987569b5155f1c35304dec21e016ab8feaffbb
[dpdk.git] / doc / guides / rel_notes / release_16_04.rst
1 DPDK Release 16.04
2 ==================
3
4
5 **Read this first**
6
7 The text below explains how to update the release notes.
8
9 Use proper spelling, capitalization and punctuation in all sections.
10
11 Variable and config names should be quoted as fixed width text: ``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    firefox build/doc/html/guides/rel_notes/release_16_04.html
18
19
20 New Features
21 ------------
22
23 This section should contain new features added in this release. Sample format:
24
25 * **Add a title in the past tense with a full stop.**
26
27   Add a short 1-2 sentence description in the past tense. The description
28   should be enough to allow someone scanning the release notes to understand
29   the new feature.
30
31   If the feature adds a lot of sub-features you can use a bullet list like this.
32
33   * Added feature foo to do something.
34   * Enhanced feature bar to do something else.
35
36   Refer to the previous release notes for examples.
37
38 * **Added function to check primary process state.**
39
40   A new function ``rte_eal_primary_proc_alive()`` has been added
41   to allow the user to detect if a primary process is running.
42   Use cases for this feature include fault detection, and monitoring
43   using secondary processes.
44
45 * **Enabled bulk allocation of mbufs.**
46
47   A new function ``rte_pktmbuf_alloc_bulk()`` has been added to allow the user
48   to allocate a bulk of mbufs.
49
50 * **Virtio 1.0.**
51
52   Enabled virtio 1.0 support for virtio pmd driver.
53
54 * **Supported virtio for ARM.**
55
56   Enabled virtio support for armv7/v8. Tested for arm64.
57   Virtio for arm support VFIO-noiommu mode only.
58   Virtio can work with other non-x86 arch too like powerpc.
59
60 * **Supported virtio offload in vhost-user.**
61
62   Add the offload and negotiation of checksum and TSO between vhost-user and
63   vanilla Linux virtio guest.
64
65 * **Added vhost-user live migration support.**
66
67 * **Added multicast promiscuous mode support on VF for ixgbe.**
68
69   Added multicast promiscuous mode support on ixgbe VF driver. So all the VFs
70   can receive the multicast packets.
71
72   Please note if we want to use this promiscuous mode, we need both PF and VF
73   driver to support it. The reason is this VF feature is configured on PF.
74   If use kernel PF driver + dpdk VF driver, make sure kernel PF driver support
75   VF multicast promiscuous mode. If use dpdk PF + dpdk VF, better make sure PF
76   driver is the same version as VF.
77
78 * **Added support for E-tag on X550.**
79
80   E-tag is defined in 802.1br. Please reference
81   http://www.ieee802.org/1/pages/802.1br.html.
82
83   This feature is for VF, but the settings are on PF. It means
84   the CLIs should be used on PF, but some of their effects will be shown on VF.
85   The forwarding of E-tag packets based on GRP and E-CID_base will have effect
86   on PF. Theoretically the E-tag packets can be forwarded to any pool/queue.
87   But normally we'd like to forward the packets to the pools/queues belonging
88   to the VFs. And E-tag insertion and stripping will have effect on VFs. When
89   VF receives E-tag packets, it should strip the E-tag. When VF transmits
90   packets, it should insert the E-tag. Both can be offloaded.
91
92   When we want to use this E-tag support feature, the forwarding should be
93   enabled to forward the packets received by PF to indicated VFs. And insertion
94   and stripping should be enabled for VFs to offload the effort to HW.
95
96   * Support E-tag offloading of insertion and stripping.
97   * Support Forwarding E-tag packets to pools based on
98     GRP and E-CID_base.
99
100 * **Added support for VxLAN & NVGRE checksum off-load on X550.**
101
102   * Added support for VxLAN & NVGRE RX/TX checksum off-load on
103     X550. RX/TX checksum off-load is provided on both inner and
104     outer IP header and TCP header.
105   * Added functions to support VxLAN port configuration. The
106     default VxLAN port number is 4789 but this can be updated
107     programmatically.
108
109 * **Added new X550EM_a devices.**
110
111   Added new X550EM_a devices and their mac types, X550EM_a and X550EM_a_vf.
112   Updated the code to use the new devices and mac types.
113
114 * **Added x550em_x V2 device support.**
115
116   Only x550em_x V1 was supported before. Now V2 is supported.
117   A mask for V1 and V2 is defined and used to support both.
118
119 * **Supported link speed auto-negotiation on X550EM_X**
120
121   Normally the auto-negotiation is supported by FW. SW need not care about
122   that. But on x550em_x, FW doesn't support auto-neg. As the ports of x550em_x
123   are 10G, if we connect the port with a peer which is 1G, the link will always
124   be down.
125   We added the support of auto-neg by SW to avoid this link down issue.
126
127 * **Added sw-firmware sync on X550EM_a.**
128
129   Added support for sw-firmware sync for resource sharing.
130   Use the PHY token, shared between sw-fw for PHY access on X550EM_a.
131
132 * **Updated the i40e base driver.**
133
134   The i40e base driver was updated with changes including the
135   following:
136
137   * Use Rx control AQ commands to read/write Rx control registers.
138   * Add new X722 device IDs, and removed X710 one was never used.
139   * Expose registers for HASH/FD input set configuring.
140
141 * **Enabled PCI extended tag for i40e.**
142
143   It enabled extended tag by checking and writing corresponding PCI config
144   space bytes, to boost the performance. In the meanwhile, it deprecated the
145   legacy way via reading/writing sysfile supported by kernel module igb_uio.
146
147 * **Added i40e support for setting VF mac addresses.**
148
149 * **Added dump of i40e registers and EEPROM.**
150
151 * **Supported ether type setting of single and double VLAN for i40e**
152
153 * **Added VMDQ DCB mode in i40e.**
154
155   Added support for DCB in VMDQ mode to i40e driver.
156
157 * **Added i40e VEB switching support.**
158
159 * **Increased number of next hops for LPM IPv4 to 2^24.**
160
161   The next_hop field is extended from 8 bits to 24 bits for IPv4.
162
163 * **Added support of SNOW 3G (UEA2 and UIA2) for Intel Quick Assist devices.**
164
165   Enabled support for SNOW 3G wireless algorithm for Intel Quick Assist devices.
166   Support for cipher only, hash only is also provided
167   along with alg-chaining operations.
168
169 * **Added SNOW3G SW PMD.**
170
171   A new Crypto PMD has been added, which provides SNOW 3G UEA2 ciphering
172   and SNOW3G UIA2 hashing.
173
174 * **Added AES GCM PMD.**
175
176   Added new Crypto PMD to support AES-GCM authenticated encryption and
177   authenticated decryption in SW.
178
179 * **Added NULL Crypto PMD**
180
181   Added new Crypto PMD to support null crypto operations in SW.
182
183 * **Added IPsec security gateway example.**
184
185   New application implementing an IPsec Security Gateway.
186
187
188 Resolved Issues
189 ---------------
190
191 This section should contain bug fixes added to the relevant sections. Sample format:
192
193 * **code/section: Fixed issue in the past tense with a full stop.**
194
195   Add a short 1-2 sentence description of the resolved issue in the past tense.
196   The title should contain the code/lib section like a commit message.
197   Add the entries in alphabetic order in the relevant sections below.
198
199
200 EAL
201 ~~~
202
203
204 Drivers
205 ~~~~~~~
206
207 * **ethdev: Fixed byte order consistency between fdir flow and mask.**
208
209   Fixed issue in ethdev library that the structure for setting
210   fdir's mask and flow entry was not consistent in byte ordering.
211
212 * **cxgbe: Fixed crash due to incorrect size allocated for RSS table.**
213
214   Fixed a segfault that occurs when accessing part of port 0's RSS
215   table that gets overwritten by subsequent port 1's part of the RSS
216   table due to incorrect size allocated for each entry in the table.
217
218 * **cxgbe: Fixed setting wrong device MTU.**
219
220   Fixed an incorrect device MTU being set due to ethernet header and
221   CRC lengths being added twice.
222
223 * **ixgbe: Fixed zeroed VF mac address.**
224
225   Resolved an issue where VF mac address is zeroed out in cases where the VF
226   driver is loaded while the PF interface is down.
227   The solution is to only set it when we get an ACK from the PF.
228
229 * **ixgbe: Fixed setting flow director flag twice.**
230
231   Resolved an issue where packets were being dropped when switching to perfect
232   filters mode.
233
234 * **ixgbe: Set MDIO speed after MAC reset.**
235
236   The MDIO clock speed must be reconfigured after the MAC reset. The MDIO clock
237   speed becomes invalid, therefore the driver reads invalid PHY register values.
238   The driver now set the MDIO clock speed prior to initializing PHY ops and
239   again after the MAC reset.
240
241 * **i40e: Generated MAC address for each VFs.**
242
243   It generates a MAC address for each VFs during PF host initialization,
244   and keeps the VF MAC address the same among different VF launch.
245
246 * **i40e: Fixed failure of reading/writing Rx control registers.**
247
248   Fixed i40e issue of failing to read/write rx control registers when
249   under stress with traffic, which might result in application launch
250   failure.
251
252 * **aesni_mb: Fixed wrong return value when creating a device.**
253
254   cryptodev_aesni_mb_init() was returning the device id of the device created,
255   instead of 0 (when success), that rte_eal_vdev_init() expects.
256   This made impossible the creation of more than one aesni_mb device
257   from command line.
258
259 * **qat: Fixed AES GCM decryption.**
260
261   Allowed AES GCM on the cryptodev API, but in some cases gave invalid results
262   due to incorrect IV setting.
263
264
265 Libraries
266 ~~~~~~~~~
267
268 * **hash: Fixed CRC32c hash computation for non multiple of 4 bytes sizes.**
269
270   Fix crc32c hash functions to return a valid crc32c value for data lengths
271   not multiple of 4 bytes.
272
273
274 Examples
275 ~~~~~~~~
276
277 * **examples/vhost: Fixed frequent mbuf allocation failure.**
278
279   vhost-switch often fails to allocate mbuf when dequeue from vring because it
280   wrongly calculates the number of mbufs needed.
281
282
283 Other
284 ~~~~~
285
286
287 Known Issues
288 ------------
289
290 This section should contain new known issues in this release. Sample format:
291
292 * **Add title in present tense with full stop.**
293
294   Add a short 1-2 sentence description of the known issue in the present
295   tense. Add information on any known workarounds.
296
297
298 API Changes
299 -----------
300
301 This section should contain API changes. Sample format:
302
303 * Add a short 1-2 sentence description of the API change. Use fixed width
304   quotes for ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
305
306 * The functions ``rte_eth_dev_udp_tunnel_add`` and ``rte_eth_dev_udp_tunnel_delete``
307   have been renamed into ``rte_eth_dev_udp_tunnel_port_add`` and
308   ``rte_eth_dev_udp_tunnel_port_delete``.
309
310 * The ``outer_mac`` and ``inner_mac`` fields in structure
311   ``rte_eth_tunnel_filter_conf`` are changed from pointer to struct in order
312   to keep code's readability.
313
314 * The fields in ethdev structure ``rte_eth_fdir_masks`` were changed
315   to be in big endian.
316
317 * A parameter ``vlan_type`` has been added to the function
318   ``rte_eth_dev_set_vlan_ether_type``.
319
320 * The LPM ``next_hop`` field is extended from 8 bits to 24 bits for IPv4
321   while keeping ABI compatibility.
322
323 * A new ``rte_lpm_config`` structure is used so LPM library will allocate
324   exactly the amount of memory which is necessary to hold application’s rules.
325   The previous ABI is kept for compatibility.
326
327 * The prototype for the pipeline input port, output port and table action
328   handlers are updated: the pipeline parameter is added,
329   the packets mask parameter has been either removed or made input-only.
330
331
332 ABI Changes
333 -----------
334
335 * Add a short 1-2 sentence description of the ABI change that was announced in
336   the previous releases and made in this release. Use fixed width quotes for
337   ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
338
339 * The RETA entry size in ``rte_eth_rss_reta_entry64`` has been increased
340   from 8-bit to 16-bit.
341
342 * The cmdline buffer size has been increase from 256 to 512.
343
344
345 Shared Library Versions
346 -----------------------
347
348 Update any library version updated in this release and prepend with a ``+`` sign.
349
350 The libraries prepended with a plus sign were incremented in this version.
351
352 .. code-block:: diff
353
354    + libethdev.so.3
355      librte_acl.so.2
356      librte_cfgfile.so.2
357    + librte_cmdline.so.2
358      librte_distributor.so.1
359      librte_eal.so.2
360      librte_hash.so.2
361      librte_ip_frag.so.1
362      librte_ivshmem.so.1
363      librte_jobstats.so.1
364      librte_kni.so.2
365      librte_kvargs.so.1
366      librte_lpm.so.2
367      librte_mbuf.so.2
368      librte_mempool.so.1
369      librte_meter.so.1
370    + librte_pipeline.so.3
371      librte_pmd_bond.so.1
372      librte_pmd_ring.so.2
373      librte_port.so.2
374      librte_power.so.1
375      librte_reorder.so.1
376      librte_ring.so.1
377      librte_sched.so.1
378      librte_table.so.2
379      librte_timer.so.1
380      librte_vhost.so.2