linux-generic declares but missing odp_crypto_get_operation_compl_packet
function implementation. Add simple one that just convert buffer to
packet.

Signed-off-by: Victor Kamensky <[email protected]>
---
 platform/linux-generic/odp_crypto.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/platform/linux-generic/odp_crypto.c 
b/platform/linux-generic/odp_crypto.c
index fae546c..8782d99 100644
--- a/platform/linux-generic/odp_crypto.c
+++ b/platform/linux-generic/odp_crypto.c
@@ -463,3 +463,9 @@ odp_crypto_get_ses_create_compl_session(odp_buffer_t 
completion_event,
        result = odp_buffer_addr(completion_event);
        *session = result->session;
 }
+
+odp_packet_t
+odp_crypto_get_operation_compl_packet(odp_buffer_t completion_event)
+{
+       return odp_packet_from_buffer(completion_event);
+}
-- 
1.8.1.4


_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to