From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5744E45695; Tue, 23 Jul 2024 15:05:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 445FD4281D; Tue, 23 Jul 2024 15:05:32 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id B1B5542707 for ; Tue, 23 Jul 2024 15:05:26 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46NCODA3017935; Tue, 23 Jul 2024 06:05:26 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=pfpt0220; bh=PXZIAfiH107fn1UAnmsHL+Q LTROjLdTz+1O+hPhMxgU=; b=Dn70zuKUXll4alAzceMysGbEVxKTxlEhHxO4mpK kYy7v8KEbO2QQDMPVoTY/KurH/Il8cEkDyVFnz+fSmuZ5kxG/nS1SPxwudNsceuw aIjUjk2+BH55ZwPvnGkwaIYqegCsPAqyU/SijAe9DTYsEJkrhKPZHqUYt53NwAwD cvUg3FcF5v2aKrQf5X8plsXBi17ZEj5iddB7B8Qv19ITQqUpgaDj1wmEXp8qspgj bYu7vcYMsvQtiOhYq4G2+UJbizk7NSZ80txg9V9D9bJtOY0zai/Q5uKgImjvOeyH Gncvh7JZS+KV6Znc5og8PTUvFLW0EP2Vx6dETbFPLx/Uang== Received: from dc5-exch05.marvell.com ([199.233.59.128]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 40j02nm2x5-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Jul 2024 06:05:25 -0700 (PDT) Received: from DC5-EXCH05.marvell.com (10.69.176.209) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 23 Jul 2024 06:05:24 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH05.marvell.com (10.69.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Tue, 23 Jul 2024 06:05:24 -0700 Received: from localhost.localdomain (unknown [10.28.36.177]) by maili.marvell.com (Postfix) with ESMTP id 559763F706F; Tue, 23 Jul 2024 06:05:22 -0700 (PDT) From: Aakash Sasidharan To: CC: , , , , , , , Subject: [PATCH] doc: announce rte_ipsec API changes Date: Tue, 23 Jul 2024 18:35:21 +0530 Message-ID: <20240723130521.2130119-1-asasidharan@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: wlnlIQ9sfJsO53fX95uOulsFDpNc4nhv X-Proofpoint-GUID: wlnlIQ9sfJsO53fX95uOulsFDpNc4nhv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-23_02,2024-07-23_01,2024-05-17_01 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 In case of event mode operations where event device can help in atomic sequence number increment across cores, sequence number need to be provided by the application instead of being updated in rte_ipsec or the PMD. To support this, a new flag ``RTE_IPSEC_SAFLAG_SQN_ASSIGN_DISABLE`` will be added to disable sequence number update inside IPsec library and the API rte_ipsec_pkt_crypto_prepare will be extended to include ``sqn`` as an additional parameter to specify sequence number to be used for IPsec from the application. Signed-off-by: Aakash Sasidharan --- doc/guides/rel_notes/deprecation.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 6948641ff6..bc1d93cca7 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -133,6 +133,13 @@ Deprecation Notices Since these functions are not called directly by the application, the API remains unaffected. +* ipsec: The rte_ipsec library is updated to support sequence number provided + by application. A new flag ``RTE_IPSEC_SAFLAG_SQN_ASSIGN_DISABLE`` is introduced + to disable sequence number assignment in lib IPsec. + The API rte_ipsec_pkt_crypto_prepare is extended to include ``sqn`` as an + additional parameter allowing application to specify the sequence number to be + used for the IPsec operation. + * pipeline: The pipeline library legacy API (functions rte_pipeline_*) will be deprecated and subsequently removed in DPDK 24.11 release. Before this, the new pipeline library API (functions rte_swx_pipeline_*) -- 2.25.1