From patchwork Mon Sep 27 15:22:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shijith Thotton X-Patchwork-Id: 99829 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 10E27A0C46; Mon, 27 Sep 2021 17:23:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F793410DA; Mon, 27 Sep 2021 17:23:14 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id C7F6F40E3C for ; Mon, 27 Sep 2021 17:23:13 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18RDdjos027602; Mon, 27 Sep 2021 08:23:12 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=cEb7FSuKzn7e3C0A/ETRT1Sjgg5vvXR4ePcDE9NCqdc=; b=bQ2FlB5VIhYxoFskLRcqMC5Cnw/LdQKm2C4k2OeixhmUUK3W623s+Utdj8npWnU6XYzp zOKXtAFbemuH9FSxiPiseZZb9FqSGi0c6oaptiFsgGgnAnGdQeRPq+7vehyRFp1XWgei eObWHMWRdlMq7RqH48kdY+smqp7VU02oUgR3H8Idwj7Hw4Lgvord90ogKXQ8eFwhzHoX JTamsvUhXXGayIlKLLCp91HRnlyETfI9IdEd9D+BBUht9Wbv4XkyX1XSjeGjHcgPlt33 F429WkEGOuSBogtjBJAirEYJxxOi4Ik4I213wmmu3yTLSnDtWd+wPAathYXt8cv8yD76 DQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com with ESMTP id 3bbdmjrktr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 27 Sep 2021 08:23:12 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 27 Sep 2021 08:23:10 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Mon, 27 Sep 2021 08:23:10 -0700 Received: from localhost.localdomain (unknown [10.28.34.29]) by maili.marvell.com (Postfix) with ESMTP id 2E6E53F709D; Mon, 27 Sep 2021 08:23:07 -0700 (PDT) From: Shijith Thotton To: CC: Shijith Thotton , , , , , , Date: Mon, 27 Sep 2021 20:52:44 +0530 Message-ID: <2c543df71bc79ff363c1aa501e0bf5a88cb448a7.1632731708.git.sthotton@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-GUID: 4U2veO4pIZSIXKunVnhkj9MLufycHB7I X-Proofpoint-ORIG-GUID: 4U2veO4pIZSIXKunVnhkj9MLufycHB7I X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-27_06,2021-09-24_02,2020-04-07_01 Subject: [dpdk-dev] [PATCH v4] doc: remove event crypto metadata deprecation note X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- v4: * Removed changes as per deprecation note. * Updated spec comments. v3: * Updated ABI section of release notes. v2: * Updated deprecation notice. v1: * Rebased. 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 bf1e07c0a8..fae3abd282 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -254,12 +254,6 @@ Deprecation Notices An 8-byte reserved field will be added to the structure ``rte_event_timer`` to support future extensions. -* 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 27fb628eef..edbd5c61a3 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