2016-04-12 12:55:10 +00:00
|
|
|
DPDK Release 16.07
|
|
|
|
==================
|
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
.. **Read this first.**
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
The text below explains how to update the release notes.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
Use proper spelling, capitalization and punctuation in all sections.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
Variable and config names should be quoted as fixed width text: ``LIKE_THIS``.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
Build the docs and view the output file to ensure the changes are correct::
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
make doc-guides-html
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
firefox build/doc/html/guides/rel_notes/release_16_07.html
|
2016-04-12 12:55:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
New Features
|
|
|
|
------------
|
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
.. This section should contain new features added in this release. Sample format:
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
* **Add a title in the past tense with a full stop.**
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
Add a short 1-2 sentence description in the past tense. The description
|
|
|
|
should be enough to allow someone scanning the release notes to understand
|
|
|
|
the new feature.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
If the feature adds a lot of sub-features you can use a bullet list like this.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
* Added feature foo to do something.
|
|
|
|
* Enhanced feature bar to do something else.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
Refer to the previous release notes for examples.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-04-14 09:42:36 +00:00
|
|
|
* **Removed mempool cache if not needed.**
|
|
|
|
|
|
|
|
The size of the mempool structure is reduced if the per-lcore cache is disabled.
|
|
|
|
|
2016-05-18 11:04:56 +00:00
|
|
|
* **Changed the memory allocation in mempool library.**
|
|
|
|
|
|
|
|
* Added ability to allocate a large mempool in virtually fragmented memory.
|
|
|
|
* Added new APIs to populate a mempool with memory.
|
|
|
|
* Added an API to free a mempool.
|
|
|
|
* Modified the API of rte_mempool_obj_iter() function.
|
|
|
|
* Dropped specific Xen Dom0 code.
|
|
|
|
* Dropped specific anonymous mempool code in testpmd.
|
|
|
|
|
2016-05-17 09:59:52 +00:00
|
|
|
* **Supported virtio on IBM POWER8.**
|
|
|
|
|
|
|
|
The ioports are mapped in memory when using Linux UIO.
|
|
|
|
|
2016-05-06 21:26:03 +00:00
|
|
|
* **Added vhost-user client mode.**
|
|
|
|
|
|
|
|
DPDK vhost-user could be the server as well as the client. It supports
|
|
|
|
server mode only before, now it also supports client mode. Client mode
|
|
|
|
is enabled when ``RTE_VHOST_USER_CLIENT`` flag is set while calling
|
|
|
|
``rte_vhost_driver_register``.
|
|
|
|
|
|
|
|
When DPDK vhost-user restarts from normal or abnormal quit (say crash),
|
|
|
|
the client mode would allow DPDK to establish the connect again. Note
|
|
|
|
that a brand new QEMU version (v2.7 or above) is needed, otherwise, the
|
|
|
|
reconnect won't work.
|
|
|
|
|
2016-05-12 23:14:19 +00:00
|
|
|
DPDK vhost-user will also try to reconnect by default when
|
|
|
|
|
|
|
|
* the first connect fails (when QEMU is not started yet)
|
|
|
|
* the connection is broken (when QEMU restarts)
|
|
|
|
|
|
|
|
It can be turned off if flag ``RTE_VHOST_USER_NO_RECONNECT`` is set.
|
|
|
|
|
2016-06-03 10:11:57 +00:00
|
|
|
* **Added AES-CTR support to AESNI MB PMD.**
|
|
|
|
|
|
|
|
Now AESNI MB PMD supports 128/192/256-bit counter mode AES encryption and
|
|
|
|
decryption.
|
|
|
|
|
2016-05-06 10:22:15 +00:00
|
|
|
* **Added support of AES counter mode for Intel QuickAssist devices.**
|
|
|
|
|
|
|
|
Enabled support for the AES CTR algorithm for Intel QuickAssist devices.
|
|
|
|
Provided support for algorithm-chaining operations.
|
|
|
|
|
2016-06-20 14:40:04 +00:00
|
|
|
* **Added KASUMI SW PMD.**
|
|
|
|
|
|
|
|
A new Crypto PMD has been added, which provides KASUMI F8 (UEA1) ciphering
|
|
|
|
and KASUMI F9 (UIA1) hashing.
|
|
|
|
|
2016-05-30 17:14:49 +00:00
|
|
|
* **Improved IP Pipeline Application.**
|
|
|
|
|
|
|
|
The following features have been added to ip_pipeline application:
|
|
|
|
|
2016-06-01 14:01:01 +00:00
|
|
|
* Configure the MAC address in the routing pipeline and automatic routes
|
|
|
|
updates with change in link state.
|
2016-05-30 17:14:49 +00:00
|
|
|
* Enable RSS per network interface through the configuration file.
|
|
|
|
* Streamline the CLI code.
|
|
|
|
|
2016-06-15 15:25:50 +00:00
|
|
|
* **Added keepalive enhancements.**
|
|
|
|
|
|
|
|
Adds support for reporting of core states other than dead to
|
|
|
|
monitoring applications, enabling the support of broader liveness
|
|
|
|
reporting to external processes.
|
|
|
|
|
pdump: add new library for packet capture
The librte_pdump library provides a framework for
packet capturing in dpdk. The library provides set of
APIs to initialize the packet capture framework, to
enable or disable the packet capture, and to uninitialize
it.
The librte_pdump library works on a client/server model.
The server is responsible for enabling or disabling the
packet capture and the clients are responsible
for requesting the enabling or disabling of the packet
capture.
Enabling APIs are supported with port, queue, ring and
mempool parameters. Applications should pass on this information
to get the packets from the dpdk ports.
For enabling requests from applications, library creates the client
request containing the mempool, ring, port and queue information and
sends the request to the server. After receiving the request, server
registers the Rx and Tx callbacks for all the port and queues.
After the callbacks registration, registered callbacks will get the
Rx and Tx packets. Packets then will be copied to the new mbufs that
are allocated from the user passed mempool. These new mbufs then will
be enqueued to the application passed ring. Applications need to dequeue
the mbufs from the rings and direct them to the devices like
pcap vdev for viewing the packets outside of the dpdk
using the packet capture tools.
For disabling requests, library creates the client request containing
the port and queue information and sends the request to the server.
After receiving the request, server removes the Rx and Tx callback
for all the port and queues.
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-06-15 14:06:22 +00:00
|
|
|
* **Added packet capture framework.**
|
|
|
|
|
|
|
|
* A new library ``librte_pdump`` is added to provide packet capture API.
|
2016-06-15 14:06:23 +00:00
|
|
|
* A new ``app/pdump`` tool is added to capture packets in DPDK.
|
pdump: add new library for packet capture
The librte_pdump library provides a framework for
packet capturing in dpdk. The library provides set of
APIs to initialize the packet capture framework, to
enable or disable the packet capture, and to uninitialize
it.
The librte_pdump library works on a client/server model.
The server is responsible for enabling or disabling the
packet capture and the clients are responsible
for requesting the enabling or disabling of the packet
capture.
Enabling APIs are supported with port, queue, ring and
mempool parameters. Applications should pass on this information
to get the packets from the dpdk ports.
For enabling requests from applications, library creates the client
request containing the mempool, ring, port and queue information and
sends the request to the server. After receiving the request, server
registers the Rx and Tx callbacks for all the port and queues.
After the callbacks registration, registered callbacks will get the
Rx and Tx packets. Packets then will be copied to the new mbufs that
are allocated from the user passed mempool. These new mbufs then will
be enqueued to the application passed ring. Applications need to dequeue
the mbufs from the rings and direct them to the devices like
pcap vdev for viewing the packets outside of the dpdk
using the packet capture tools.
For disabling requests, library creates the client request containing
the port and queue information and sends the request to the server.
After receiving the request, server removes the Rx and Tx callback
for all the port and queues.
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-06-15 14:06:22 +00:00
|
|
|
|
2016-04-12 12:55:10 +00:00
|
|
|
|
|
|
|
Resolved Issues
|
|
|
|
---------------
|
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
.. This section should contain bug fixes added to the relevant sections. Sample format:
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
* **code/section Fixed issue in the past tense with a full stop.**
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
Add a short 1-2 sentence description of the resolved issue in the past tense.
|
|
|
|
The title should contain the code/lib section like a commit message.
|
|
|
|
Add the entries in alphabetic order in the relevant sections below.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
EAL
|
|
|
|
~~~
|
|
|
|
|
|
|
|
|
|
|
|
Drivers
|
|
|
|
~~~~~~~
|
|
|
|
|
2016-05-04 05:42:25 +00:00
|
|
|
* **i40e: Fixed vlan stripping from inner header.**
|
|
|
|
|
|
|
|
Previously, for tunnel packets, such as VXLAN/NVGRE, the vlan
|
|
|
|
tags of the inner header will be stripped without putting vlan
|
|
|
|
info to descriptor.
|
|
|
|
Now this issue is fixed by disabling vlan stripping from inner header.
|
|
|
|
|
2016-04-12 12:55:10 +00:00
|
|
|
|
|
|
|
Libraries
|
|
|
|
~~~~~~~~~
|
|
|
|
|
2016-05-18 14:41:03 +00:00
|
|
|
* **mbuf: Fixed refcnt update when detaching.**
|
|
|
|
|
|
|
|
Fix the ``rte_pktmbuf_detach()`` function to decrement the direct
|
|
|
|
mbuf's reference counter. The previous behavior was not to affect
|
|
|
|
the reference counter. It lead a memory leak of the direct mbuf.
|
|
|
|
|
2016-04-12 12:55:10 +00:00
|
|
|
|
|
|
|
Examples
|
|
|
|
~~~~~~~~
|
|
|
|
|
|
|
|
|
|
|
|
Other
|
|
|
|
~~~~~
|
|
|
|
|
|
|
|
|
|
|
|
Known Issues
|
|
|
|
------------
|
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
.. This section should contain new known issues in this release. Sample format:
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
* **Add title in present tense with full stop.**
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
Add a short 1-2 sentence description of the known issue in the present
|
|
|
|
tense. Add information on any known workarounds.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
API Changes
|
|
|
|
-----------
|
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
.. This section should contain API changes. Sample format:
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
* Add a short 1-2 sentence description of the API change. Use fixed width
|
|
|
|
quotes for ``rte_function_names`` or ``rte_struct_names``. Use the past tense.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-04-15 09:01:51 +00:00
|
|
|
* The following counters are removed from ``rte_eth_stats`` structure:
|
|
|
|
ibadcrc, ibadlen, imcasts, fdirmatch, fdirmiss,
|
|
|
|
tx_pause_xon, rx_pause_xon, tx_pause_xoff, rx_pause_xoff.
|
|
|
|
|
2016-06-15 15:25:33 +00:00
|
|
|
* The extended statistics are fetched by ids with ``rte_eth_xstats_get``
|
|
|
|
after a lookup by name ``rte_eth_xstats_get_names``.
|
|
|
|
|
2016-06-15 14:06:20 +00:00
|
|
|
* The function ``rte_eth_dev_info_get`` fill the new fields ``nb_rx_queues``
|
|
|
|
and ``nb_tx_queues`` in the structure ``rte_eth_dev_info``.
|
|
|
|
|
2016-05-10 22:46:24 +00:00
|
|
|
* The vhost function ``rte_vring_available_entries`` is renamed to
|
|
|
|
``rte_vhost_avail_entries``.
|
|
|
|
|
2016-06-13 09:55:49 +00:00
|
|
|
* All existing vhost APIs and callbacks with ``virtio_net`` struct pointer
|
|
|
|
as the parameter have been changed due to the ABI refactoring mentioned
|
|
|
|
below: it's replaced by ``int vid``.
|
|
|
|
|
2016-06-13 11:52:12 +00:00
|
|
|
* The function ``rte_vhost_enqueue_burst`` no longer supports concurrent enqueuing
|
|
|
|
packets to the same queue.
|
|
|
|
|
2016-04-12 12:55:10 +00:00
|
|
|
|
|
|
|
ABI Changes
|
|
|
|
-----------
|
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
.. * Add a short 1-2 sentence description of the ABI change that was announced in
|
|
|
|
the previous releases and made in this release. Use fixed width quotes for
|
|
|
|
``rte_function_names`` or ``rte_struct_names``. Use the past tense.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-04-14 17:15:13 +00:00
|
|
|
* The ``rte_port_source_params`` structure has new fields to support PCAP file.
|
|
|
|
It was already in release 16.04 with ``RTE_NEXT_ABI`` flag.
|
|
|
|
|
2016-06-15 14:06:20 +00:00
|
|
|
* The ``rte_eth_dev_info`` structure has new fields ``nb_rx_queues`` and ``nb_tx_queues``
|
|
|
|
to support number of queues configured by software.
|
|
|
|
|
2016-06-13 09:55:49 +00:00
|
|
|
* vhost ABI refactoring has been made: ``virtio_net`` structure is never
|
|
|
|
exported to application any more. Instead, a handle, ``vid``, has been
|
|
|
|
used to represent this structure internally.
|
|
|
|
|
2016-04-12 12:55:10 +00:00
|
|
|
|
|
|
|
Shared Library Versions
|
|
|
|
-----------------------
|
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
.. Update any library version updated in this release and prepend with a ``+`` sign.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
|
|
|
The libraries prepended with a plus sign were incremented in this version.
|
|
|
|
|
|
|
|
.. code-block:: diff
|
|
|
|
|
2016-04-15 09:01:51 +00:00
|
|
|
+ libethdev.so.4
|
2016-04-12 12:55:10 +00:00
|
|
|
librte_acl.so.2
|
|
|
|
librte_cfgfile.so.2
|
|
|
|
librte_cmdline.so.2
|
|
|
|
librte_distributor.so.1
|
|
|
|
librte_eal.so.2
|
|
|
|
librte_hash.so.2
|
|
|
|
librte_ip_frag.so.1
|
|
|
|
librte_ivshmem.so.1
|
|
|
|
librte_jobstats.so.1
|
|
|
|
librte_kni.so.2
|
|
|
|
librte_kvargs.so.1
|
|
|
|
librte_lpm.so.2
|
|
|
|
librte_mbuf.so.2
|
2016-04-14 09:42:36 +00:00
|
|
|
+ librte_mempool.so.2
|
2016-04-12 12:55:10 +00:00
|
|
|
librte_meter.so.1
|
|
|
|
librte_pipeline.so.3
|
|
|
|
librte_pmd_bond.so.1
|
|
|
|
librte_pmd_ring.so.2
|
2016-04-14 17:15:13 +00:00
|
|
|
+ librte_port.so.3
|
2016-04-12 12:55:10 +00:00
|
|
|
librte_power.so.1
|
|
|
|
librte_reorder.so.1
|
|
|
|
librte_ring.so.1
|
|
|
|
librte_sched.so.1
|
|
|
|
librte_table.so.2
|
|
|
|
librte_timer.so.1
|
2016-06-13 09:55:49 +00:00
|
|
|
+ librte_vhost.so.3
|
2016-04-12 12:55:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
Tested Platforms
|
|
|
|
----------------
|
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
.. This section should contain a list of platforms that were tested with this
|
|
|
|
release.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
The format is:
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
#. Platform name.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
- Platform details.
|
|
|
|
- Platform details.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
Tested NICs
|
|
|
|
-----------
|
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
.. This section should contain a list of NICs that were tested with this release.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
The format is:
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
#. NIC name.
|
2016-04-12 12:55:10 +00:00
|
|
|
|
2016-05-13 13:27:59 +00:00
|
|
|
- NIC details.
|
|
|
|
- NIC details.
|