From dd451ad1520fd79c2c892c84c368e7b278168a9e Mon Sep 17 00:00:00 2001 From: Shijith Thotton Date: Mon, 27 Sep 2021 20:52:44 +0530 Subject: [PATCH] doc: remove event crypto metadata deprecation note Proposed change to event crypto metadata is not done as per deprecation note. Instead, comments are updated in spec to improve readability. Signed-off-by: Shijith Thotton Acked-by: Abhinandan Gujjar --- doc/guides/rel_notes/deprecation.rst | 6 ------ lib/eventdev/rte_event_crypto_adapter.h | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 309f1056cf..97823a9564 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -235,12 +235,6 @@ Deprecation Notices values to the function ``rte_event_eth_rx_adapter_queue_add`` using the structure ``rte_event_eth_rx_adapter_queue_add``. -* eventdev: Reserved bytes of ``rte_event_crypto_request`` is a space holder - for ``response_info``. Both should be decoupled for better clarity. - New space for ``response_info`` can be made by changing - ``rte_event_crypto_metadata`` type to structure from union. - This change is targeted for DPDK 21.11. - * metrics: The function ``rte_metrics_init`` will have a non-void return in order to notify errors instead of calling ``rte_exit``. diff --git a/lib/eventdev/rte_event_crypto_adapter.h b/lib/eventdev/rte_event_crypto_adapter.h index f8c6cca87c..30596ed136 100644 --- a/lib/eventdev/rte_event_crypto_adapter.h +++ b/lib/eventdev/rte_event_crypto_adapter.h @@ -227,6 +227,7 @@ union rte_event_crypto_metadata { struct rte_event_crypto_request request_info; /**< Request information to be filled in by application * for RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD mode. + * First 8 bytes of request_info is reserved for response_info. */ struct rte_event response_info; /**< Response information to be filled in by application -- 2.20.1