[v2] eventdev/crypto: fix missing crypto vec limits
Checks
Commit Message
Add missing function `rte_event_crypto_adapter_vector_limits_get` to
version.map.
Fixes: c1749bc5ee10 ("eventdev: introduce event cryptodev vector type")
Signed-off-by: Volodymyr Fialko <vfialko@marvell.com>
---
v2:
- mark function as experimental
lib/eventdev/rte_event_crypto_adapter.h | 4 ++++
lib/eventdev/version.map | 1 +
2 files changed, 5 insertions(+)
Comments
Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
> -----Original Message-----
> From: Volodymyr Fialko <vfialko@marvell.com>
> Sent: Wednesday, January 18, 2023 11:22 AM
> To: dev@dpdk.org; Gujjar, Abhinandan S <abhinandan.gujjar@intel.com>;
> Jerin Jacob <jerinj@marvell.com>; Akhil Goyal <gakhil@marvell.com>;
> Volodymyr Fialko <vfialko@marvell.com>
> Cc: anoobj@marvell.com
> Subject: [PATCH v2] eventdev/crypto: fix missing crypto vec limits
>
> Add missing function `rte_event_crypto_adapter_vector_limits_get` to
> version.map.
> Fixes: c1749bc5ee10 ("eventdev: introduce event cryptodev vector type")
>
> Signed-off-by: Volodymyr Fialko <vfialko@marvell.com>
> ---
> v2:
> - mark function as experimental
>
> lib/eventdev/rte_event_crypto_adapter.h | 4 ++++
> lib/eventdev/version.map | 1 +
> 2 files changed, 5 insertions(+)
>
> diff --git a/lib/eventdev/rte_event_crypto_adapter.h
> b/lib/eventdev/rte_event_crypto_adapter.h
> index 83d154a6ce..2a69290097 100644
> --- a/lib/eventdev/rte_event_crypto_adapter.h
> +++ b/lib/eventdev/rte_event_crypto_adapter.h
> @@ -595,6 +595,9 @@ int
> rte_event_crypto_adapter_event_port_get(uint8_t id, uint8_t
> *event_port_id);
>
> /**
> + * @warning
> + * @b EXPERIMENTAL: this API may change without prior notice
> + *
> * Retrieve vector limits for a given event dev and crypto dev pair.
> * @see rte_event_crypto_adapter_vector_limits
> *
> @@ -610,6 +613,7 @@ rte_event_crypto_adapter_event_port_get(uint8_t id,
> uint8_t *event_port_id);
> * - 0: Success.
> * - <0: Error code on failure.
> */
> +__rte_experimental
> int rte_event_crypto_adapter_vector_limits_get(
> uint8_t dev_id, uint16_t cdev_id,
> struct rte_event_crypto_adapter_vector_limits *limits); diff --git
> a/lib/eventdev/version.map b/lib/eventdev/version.map index
> dd63ec6f68..c155af6d50 100644
> --- a/lib/eventdev/version.map
> +++ b/lib/eventdev/version.map
> @@ -110,6 +110,7 @@ EXPERIMENTAL {
> rte_event_eth_rx_adapter_event_port_get;
>
> # added in 22.07
> + rte_event_crypto_adapter_vector_limits_get;
> rte_event_port_quiesce;
> rte_event_queue_attr_set;
>
> --
> 2.34.1
On Mon, Jan 23, 2023 at 3:05 PM Gujjar, Abhinandan S
<abhinandan.gujjar@intel.com> wrote:
>
> Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
Updated the git commit as follows and applied to
dpdk-next-net-eventdev/for-main. Thanks
eventdev/crypto: fix missing symbol in map file
>
> > -----Original Message-----
> > From: Volodymyr Fialko <vfialko@marvell.com>
> > Sent: Wednesday, January 18, 2023 11:22 AM
> > To: dev@dpdk.org; Gujjar, Abhinandan S <abhinandan.gujjar@intel.com>;
> > Jerin Jacob <jerinj@marvell.com>; Akhil Goyal <gakhil@marvell.com>;
> > Volodymyr Fialko <vfialko@marvell.com>
> > Cc: anoobj@marvell.com
> > Subject: [PATCH v2] eventdev/crypto: fix missing crypto vec limits
> >
> > Add missing function `rte_event_crypto_adapter_vector_limits_get` to
> > version.map.
> > Fixes: c1749bc5ee10 ("eventdev: introduce event cryptodev vector type")
> >
> > Signed-off-by: Volodymyr Fialko <vfialko@marvell.com>
> > ---
> > v2:
> > - mark function as experimental
> >
> > lib/eventdev/rte_event_crypto_adapter.h | 4 ++++
> > lib/eventdev/version.map | 1 +
> > 2 files changed, 5 insertions(+)
> >
> > diff --git a/lib/eventdev/rte_event_crypto_adapter.h
> > b/lib/eventdev/rte_event_crypto_adapter.h
> > index 83d154a6ce..2a69290097 100644
> > --- a/lib/eventdev/rte_event_crypto_adapter.h
> > +++ b/lib/eventdev/rte_event_crypto_adapter.h
> > @@ -595,6 +595,9 @@ int
> > rte_event_crypto_adapter_event_port_get(uint8_t id, uint8_t
> > *event_port_id);
> >
> > /**
> > + * @warning
> > + * @b EXPERIMENTAL: this API may change without prior notice
> > + *
> > * Retrieve vector limits for a given event dev and crypto dev pair.
> > * @see rte_event_crypto_adapter_vector_limits
> > *
> > @@ -610,6 +613,7 @@ rte_event_crypto_adapter_event_port_get(uint8_t id,
> > uint8_t *event_port_id);
> > * - 0: Success.
> > * - <0: Error code on failure.
> > */
> > +__rte_experimental
> > int rte_event_crypto_adapter_vector_limits_get(
> > uint8_t dev_id, uint16_t cdev_id,
> > struct rte_event_crypto_adapter_vector_limits *limits); diff --git
> > a/lib/eventdev/version.map b/lib/eventdev/version.map index
> > dd63ec6f68..c155af6d50 100644
> > --- a/lib/eventdev/version.map
> > +++ b/lib/eventdev/version.map
> > @@ -110,6 +110,7 @@ EXPERIMENTAL {
> > rte_event_eth_rx_adapter_event_port_get;
> >
> > # added in 22.07
> > + rte_event_crypto_adapter_vector_limits_get;
> > rte_event_port_quiesce;
> > rte_event_queue_attr_set;
> >
> > --
> > 2.34.1
>
@@ -595,6 +595,9 @@ int
rte_event_crypto_adapter_event_port_get(uint8_t id, uint8_t *event_port_id);
/**
+ * @warning
+ * @b EXPERIMENTAL: this API may change without prior notice
+ *
* Retrieve vector limits for a given event dev and crypto dev pair.
* @see rte_event_crypto_adapter_vector_limits
*
@@ -610,6 +613,7 @@ rte_event_crypto_adapter_event_port_get(uint8_t id, uint8_t *event_port_id);
* - 0: Success.
* - <0: Error code on failure.
*/
+__rte_experimental
int rte_event_crypto_adapter_vector_limits_get(
uint8_t dev_id, uint16_t cdev_id,
struct rte_event_crypto_adapter_vector_limits *limits);
@@ -110,6 +110,7 @@ EXPERIMENTAL {
rte_event_eth_rx_adapter_event_port_get;
# added in 22.07
+ rte_event_crypto_adapter_vector_limits_get;
rte_event_port_quiesce;
rte_event_queue_attr_set;