From patchwork Mon Aug 2 11:11:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anoob Joseph X-Patchwork-Id: 96532 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 4906CA0C41; Mon, 2 Aug 2021 13:12:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2DB0040140; Mon, 2 Aug 2021 13:12:54 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 778304003D for ; Mon, 2 Aug 2021 13:12:52 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 172B4tpw028260; Mon, 2 Aug 2021 04:12:51 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=ZSIhs5IiorvOmy2WFmJaMsTyPPMod09J0k6vjP+dIQ8=; b=TFmE7yq66L7wwI9nXel3bemBy29gpnwOy+v3/2JHNqWXCCvtbhftp/p0X6LYRppAN4sI QwhNORpLEia6kPpkJ7XhaH3u/IB7teJHUE1Pp/ST9PdnxjurQlGB2n9ml/rBuuPUlpS2 hA42H7PT6MF3tq4QKQPXhBq6Lux2F8k2JiHtgh0BezIFcYDt35MWZFXDZ8NZb3z+dmfb zH5Hqa6rE9go7J2f9L6Q2UF/J/uppawxIVIYICkBW873llqZp/j4W+14YqNJom6rDqgn R7cH+HUTq0sCutGGNqDsncMggPtwahpxOXAXV26NBlKGz2KnWLJ7QIXt9wdOzlT8WDON Yg== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 3a62651yj3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 02 Aug 2021 04:12:51 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 2 Aug 2021 04:12:50 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Mon, 2 Aug 2021 04:12:50 -0700 Received: from HY-LT1002.marvell.com (unknown [10.193.70.144]) by maili.marvell.com (Postfix) with ESMTP id 0FAD13F709B; Mon, 2 Aug 2021 04:12:45 -0700 (PDT) From: Anoob Joseph To: Akhil Goyal , Declan Doherty , Fan Zhang , "Konstantin Ananyev" CC: Anoob Joseph , Jerin Jacob , Archana Muniganti , Tejasree Kondoj , Hemant Agrawal , Date: Mon, 2 Aug 2021 16:41:24 +0530 Message-ID: <1627902685-130-1-git-send-email-anoobj@marvell.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: ld9zZCSZ-RkbW64cqsBFkOPzcv7yTL52 X-Proofpoint-GUID: ld9zZCSZ-RkbW64cqsBFkOPzcv7yTL52 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-08-02_05:2021-08-02, 2021-08-02 signatures=0 Subject: [dpdk-dev] [PATCH] doc: announce crypto op struct changes 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" One reserved byte in rte_crypto_op struct would be used to indicate warnings and other information from the crypto/security operation. This field will be used to communicate events such as soft expiry with IPsec in lookaside mode. Signed-off-by: Anoob Joseph Acked-by: Akhil Goyal Acked-by: Konstantin Ananyev Acked-by: Hemant Agrawal Acked-by: Konstantin Ananyev Acked-by: Hemant Agrawal --- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 6a35c76..b5f50a4 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -151,3 +151,8 @@ Deprecation Notices * security: The functions ``rte_security_set_pkt_metadata`` and ``rte_security_get_userdata`` will be made inline functions and additional flags will be added in structure ``rte_security_ctx`` in DPDK 21.11. + +* cryptodev: The structure ``rte_crypto_op`` would be updated to reduce + reserved bytes to 2 (from 3), and use 1 byte to indicate warnings and other + information from the crypto/security operation. This field will be used to + communicate events such as soft expiry with IPsec in lookaside mode.