mbuf_offload: mark experimental state
Cryptodev was marked experimental and mbuf_offload depends on it. The mbuf_offload library is one of the crypto area which requires some discussions before having a stable API. The experimental mark is also added to rte_cryptodev_configure() to be sure one cannot miss it. Fixes: 66874e55f550 ("cryptodev: mark experimental state") Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
parent
b700090c8c
commit
d0228ccbe2
@ -217,7 +217,7 @@ F: lib/librte_mbuf/
|
|||||||
F: doc/guides/prog_guide/mbuf_lib.rst
|
F: doc/guides/prog_guide/mbuf_lib.rst
|
||||||
F: app/test/test_mbuf.c
|
F: app/test/test_mbuf.c
|
||||||
|
|
||||||
Packet buffer offload
|
Packet buffer offload - EXPERIMENTAL
|
||||||
M: Declan Doherty <declan.doherty@intel.com>
|
M: Declan Doherty <declan.doherty@intel.com>
|
||||||
F: lib/librte_mbuf_offload/
|
F: lib/librte_mbuf_offload/
|
||||||
|
|
||||||
|
@ -362,6 +362,7 @@ CONFIG_RTE_PKTMBUF_HEADROOM=128
|
|||||||
|
|
||||||
#
|
#
|
||||||
# Compile librte_mbuf_offload
|
# Compile librte_mbuf_offload
|
||||||
|
# EXPERIMENTAL: API may change without prior notice
|
||||||
#
|
#
|
||||||
CONFIG_RTE_LIBRTE_MBUF_OFFLOAD=y
|
CONFIG_RTE_LIBRTE_MBUF_OFFLOAD=y
|
||||||
CONFIG_RTE_LIBRTE_MBUF_OFFLOAD_DEBUG=n
|
CONFIG_RTE_LIBRTE_MBUF_OFFLOAD_DEBUG=n
|
||||||
|
@ -379,6 +379,7 @@ CONFIG_RTE_PKTMBUF_HEADROOM=128
|
|||||||
|
|
||||||
#
|
#
|
||||||
# Compile librte_mbuf_offload
|
# Compile librte_mbuf_offload
|
||||||
|
# EXPERIMENTAL: API may change without prior notice
|
||||||
#
|
#
|
||||||
CONFIG_RTE_LIBRTE_MBUF_OFFLOAD=y
|
CONFIG_RTE_LIBRTE_MBUF_OFFLOAD=y
|
||||||
CONFIG_RTE_LIBRTE_MBUF_OFFLOAD_DEBUG=n
|
CONFIG_RTE_LIBRTE_MBUF_OFFLOAD_DEBUG=n
|
||||||
|
@ -243,6 +243,8 @@ struct rte_cryptodev_config {
|
|||||||
/**
|
/**
|
||||||
* Configure a device.
|
* Configure a device.
|
||||||
*
|
*
|
||||||
|
* EXPERIMENTAL: this API file may change without prior notice
|
||||||
|
*
|
||||||
* This function must be invoked first before any other function in the
|
* This function must be invoked first before any other function in the
|
||||||
* API. This function can also be re-invoked when a device is in the
|
* API. This function can also be re-invoked when a device is in the
|
||||||
* stopped state.
|
* stopped state.
|
||||||
|
@ -51,6 +51,9 @@
|
|||||||
* operations, with supporting allocate and free functions. It also provides
|
* operations, with supporting allocate and free functions. It also provides
|
||||||
* APIs for attaching an offload to a mbuf, as well as an API to retrieve a
|
* APIs for attaching an offload to a mbuf, as well as an API to retrieve a
|
||||||
* specified offload type from an mbuf offload chain.
|
* specified offload type from an mbuf offload chain.
|
||||||
|
*
|
||||||
|
* @warning
|
||||||
|
* @b EXPERIMENTAL: this API may change without prior notice
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rte_mbuf.h>
|
#include <rte_mbuf.h>
|
||||||
@ -92,6 +95,8 @@ struct rte_pktmbuf_offload_pool_private {
|
|||||||
/**
|
/**
|
||||||
* Creates a mempool of rte_mbuf_offload objects
|
* Creates a mempool of rte_mbuf_offload objects
|
||||||
*
|
*
|
||||||
|
* EXPERIMENTAL: this API file may change without prior notice
|
||||||
|
*
|
||||||
* @param name mempool name
|
* @param name mempool name
|
||||||
* @param size number of objects in mempool
|
* @param size number of objects in mempool
|
||||||
* @param cache_size cache size of objects for each core
|
* @param cache_size cache size of objects for each core
|
||||||
|
Loading…
x
Reference in New Issue
Block a user