build: fix missing crypto vec limits in version
PATCH 1/1 build: fix missing crypto vec limits in version
Add missing function rte_event_crypto_adapter_vector_limits_get to version.map.
--- lib/eventdev/version.map | 1 + 1 file changed, 1 insertion(+)
lib/eventdev/version.map +1 -0
@@ -20,6 +20,7 @@ DPDK_23 { rte_event_crypto_adapter_stats_get; rte_event_crypto_adapter_stats_reset; rte_event_crypto_adapter_stop; + rte_event_crypto_adapter_vector_limits_get; rte_event_dequeue_timeout_ticks; rte_event_dev_attr_get; rte_event_dev_close;
Signature · 1 line
2.25.1
Quoted 15 lines · Volodymyr Fialko
Add missing function
rte_event_crypto_adapter_vector_limits_getto version.map.Fixes c1749bc5ee10 ("eventdev: introduce event cryptodev vector type")Signed-off-by Volodymyr Fialko <[email protected]>--- lib/eventdev/version.map | 1 + 1 file changed, 1 insertion(+)lib/eventdev/version.map +0
-0
lib/eventdev/version.map DPDK_23 { · line 26
Quoted 7 lines
lib/eventdev/version.map +1
-0@@ -20,6 +20,7 @@ DPDK_23 { rte_event_crypto_adapter_stats_get; rte_event_crypto_adapter_stats_reset; rte_event_crypto_adapter_stop; + rte_event_crypto_adapter_vector_limits_get; rte_event_dequeue_timeout_ticks; rte_event_dev_attr_get; rte_event_dev_close;
Quoted 12 lines · Fan
Quoted 10 lines · Volodymyr Fialko
Add missing function
rte_event_crypto_adapter_vector_limits_getto version.map.Fixes c1749bc5ee10 ("eventdev: introduce event cryptodev vector type")Signed-off-by Volodymyr Fialko <[email protected]>--- lib/eventdev/version.map | 1 + 1 file changed, 1 insertion(+)
Quoted 13 lines
lib/eventdev/version.map DPDK_23 { · line 26
Quoted 12 lines
lib/eventdev/version.map +1
-0@@ -20,6 +20,7 @@ DPDK_23 { rte_event_crypto_adapter_stats_get; rte_event_crypto_adapter_stats_reset; rte_event_crypto_adapter_stop; + rte_event_crypto_adapter_vector_limits_get; rte_event_dequeue_timeout_ticks; rte_event_dev_attr_get; rte_event_dev_close;Acked-by Fan Zhang <[email protected]>
+ @Thomas Monjalon @David Marchand
1) Sanity is failing as follows
### [PATCH] build: fix missing crypto vec limits in version
ERROR: symbol rte_event_crypto_adapter_vector_limits_get is added in the DPDK_23 section, but is expected to be added in the EXPERIMENTAL section of the version map
This patch is added in 22.07. New patches should be experimental. Right? If so, Please change to __rte_experimental and move EXPERIMENTAL section. If I am not missing anything.
[1]
[for-main]dell[dpdk-next-eventdev] $ git describe c1749bc5ee1 v22.07-473-gc1749bc5ee
2) Change git log as eventdev/crypto: .....
17/01/2023 17:25, Jerin Jacob:
Quoted 32 lines · Fan
Quoted 12 lines · Volodymyr Fialko
Quoted 10 lines
Add missing function
rte_event_crypto_adapter_vector_limits_getto version.map.Fixes c1749bc5ee10 ("eventdev: introduce event cryptodev vector type")Signed-off-by Volodymyr Fialko <[email protected]>--- lib/eventdev/version.map | 1 + 1 file changed, 1 insertion(+)Quoted 13 lines
lib/eventdev/version.map DPDK_23 { · line 26
Quoted 12 lines
lib/eventdev/version.map +1
-0@@ -20,6 +20,7 @@ DPDK_23 { rte_event_crypto_adapter_stats_get; rte_event_crypto_adapter_stats_reset; rte_event_crypto_adapter_stop; + rte_event_crypto_adapter_vector_limits_get; rte_event_dequeue_timeout_ticks; rte_event_dev_attr_get; rte_event_dev_close;Acked-by Fan Zhang <[email protected]>+ @Thomas Monjalon @David Marchand
1) Sanity is failing as follows
### [PATCH] build: fix missing crypto vec limits in version
Quoted 7 lines
ERROR: symbol
rte_event_crypto_adapter_vector_limits_getis added in theDPDK_23section, but is expected to be added in the EXPERIMENTAL section of the version mapThis patch is added in 22.07. New patches should be experimental. Right? If so, Please change to
__rte_experimentaland move EXPERIMENTAL section. If I am not missing anything.
Yes new functions should be experimental.
You need to add a comment in the .h
and the attribute __rte_experimental.
Such issue would have been seen earlier if the new function was used in a unit test or a test application.
PATCH v2 1/1 eventdev/crypto: fix missing crypto vec limits
In reply to Volodymyr FialkoAdd missing function rte_event_crypto_adapter_vector_limits_get to version.map.
---
v2:
- mark function as experimental
lib/eventdev/rte_event_crypto_adapter.h | 4 ++++ lib/eventdev/version.map | 1 + 2 files changed, 5 insertions(+)
lib/eventdev/rte_event_crypto_adapter.h +4 -0
@@ -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);
lib/eventdev/version.map +1 -0
@@ -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;
Signature · 1 line
2.34.1
RE: [PATCH v2] eventdev/crypto: fix missing crypto vec limits
Quoted 61 lines
-----Original Message-----
From: Volodymyr Fialko <[email protected]>
Sent: Wednesday, January 18, 2023 11:22 AM
To: [email protected]; Gujjar, Abhinandan S <[email protected]>; Jerin Jacob <[email protected]>; Akhil Goyal <[email protected]>; Volodymyr Fialko <[email protected]>
Cc: [email protected]
Subject: [PATCH v2] eventdev/crypto: fix missing crypto vec limitsAdd missing function
rte_event_crypto_adapter_vector_limits_getto version.map.Fixes c1749bc5ee10 ("eventdev: introduce event cryptodev vector type")Signed-off-by Volodymyr Fialko <[email protected]>---
v2:
- mark function as experimentallib/eventdev/rte_event_crypto_adapter.h | 4 ++++ lib/eventdev/version.map | 1 + 2 files changed, 5 insertions(+)lib/eventdev/rte_event_crypto_adapter.h +3
-0@@ -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 *
lib/eventdev/rte_event_crypto_adapter.h +1
-0@@ -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 indexdd63ec6f68..c155af6d50100644lib/eventdev/version.map +1
-1@@ -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
Re: [PATCH v2] eventdev/crypto: fix missing crypto vec limits
Quoted 2 lines · Abhinandan S
Updated the git commit as follows and applied to
dpdk-next-net-eventdev/for-main. Thanks
eventdev/crypto: fix missing symbol in map file
Quoted 63 lines
Quoted 62 lines
-----Original Message-----
From: Volodymyr Fialko <[email protected]>
Sent: Wednesday, January 18, 2023 11:22 AM
To: [email protected]; Gujjar, Abhinandan S <[email protected]>; Jerin Jacob <[email protected]>; Akhil Goyal <[email protected]>; Volodymyr Fialko <[email protected]>
Cc: [email protected]
Subject: [PATCH v2] eventdev/crypto: fix missing crypto vec limitsAdd missing function
rte_event_crypto_adapter_vector_limits_getto version.map.Fixes c1749bc5ee10 ("eventdev: introduce event cryptodev vector type")Signed-off-by Volodymyr Fialko <[email protected]>---
v2:
- mark function as experimentallib/eventdev/rte_event_crypto_adapter.h | 4 ++++ lib/eventdev/version.map | 1 + 2 files changed, 5 insertions(+)lib/eventdev/rte_event_crypto_adapter.h +3
-0@@ -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 *
lib/eventdev/rte_event_crypto_adapter.h +1
-0@@ -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 --gita/lib/eventdev/version.map b/lib/eventdev/version.map index
dd63ec6f68..c155af6d50100644lib/eventdev/version.map +1
-1@@ -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