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 91E1FA0C41; Thu, 30 Sep 2021 14:58:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0AD9340DDA; Thu, 30 Sep 2021 14:58:47 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 2EC934067E for ; Thu, 30 Sep 2021 14:58:46 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18U2Z1J5027760; Thu, 30 Sep 2021 05:58:45 -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=bd6ZzNB/CQ2oE+GmNYPfRpPqArweVWvqJHhMdXbnU6Y=; b=AJoouGzEuWvleP/0AuXzQkAUjgEsepcvdp8Kk1QhGsergupT5cS7SZtmx0DgjpFH9xYZ t8cmdrc26UCA9sC0trc1mhHZIM/H4SRgRRA+0i5YbYUHvSxoA4c9I0UuLBSfmyN3yBGQ ZoiXGvFdlqTQfte5stWo4F1PqBb9awa6qBf/1tOn8rh/zJAfYfe4+r69zZCeGlydfA7A lChZVrYwdduDDOpXAc34oK89KLg4LafLIGXz/S91stFB9dWx3nVF/ZNTEfAAO0kdCsvX Zq5Zlg87Uv4mI0nvDmfTmblOWk8YaX7loMeEEzvdOfyAq8iBHc0YjKmjq8pv6Aqb88hR yg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 3bd47dt9jb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 30 Sep 2021 05:58:45 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 30 Sep 2021 05:58:43 -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; Thu, 30 Sep 2021 05:58:43 -0700 Received: from hyd1409.caveonetworks.com.com (unknown [10.29.45.15]) by maili.marvell.com (Postfix) with ESMTP id C3E793F706B; Thu, 30 Sep 2021 05:58:40 -0700 (PDT) From: Archana Muniganti To: , , , , CC: Archana Muniganti , , , , , Date: Thu, 30 Sep 2021 18:28:29 +0530 Message-ID: <20210930125832.15807-1-marchana@marvell.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: v5HaoyzSsx1RPzzzAfelPo5hOi84AAGj X-Proofpoint-ORIG-GUID: v5HaoyzSsx1RPzzzAfelPo5hOi84AAGj 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-30_04,2021-09-30_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH v4 0/3] add SA config option for inner pkt csum 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" Add inner packet IPv4 hdr and L4 checksum enable options in conf. These will be used in case of protocol offload. Per SA, application could specify whether the checksum(compute/verify) can be offloaded to security device. Changes in v4: - Rebased to ToT - Added documentation for per packet checksum(comment from Konstantin) Changes in v3: - Removed code unrelated to this series. Changes in v2: - Fixed release notes - Added feature flag in default.ini and cn10k.ini - Fixed test patch subject Archana Muniganti (3): security: add SA config option for inner pkt csum crypto/cnxk: add inner checksum test/crypto: add inner checksum cases app/test/test_cryptodev.c | 34 +++ app/test/test_cryptodev_security_ipsec.c | 195 ++++++++++++++++++ app/test/test_cryptodev_security_ipsec.h | 2 + ...st_cryptodev_security_ipsec_test_vectors.h | 6 + doc/guides/cryptodevs/features/cn10k.ini | 1 + doc/guides/cryptodevs/features/default.ini | 1 + doc/guides/rel_notes/deprecation.rst | 4 +- doc/guides/rel_notes/release_21_11.rst | 6 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 65 ++++-- drivers/crypto/cnxk/cn10k_ipsec.c | 49 ++++- drivers/crypto/cnxk/cn10k_ipsec.h | 1 + drivers/crypto/cnxk/cn10k_ipsec_la_ops.h | 9 +- drivers/crypto/cnxk/cnxk_cryptodev.c | 3 + .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 2 + lib/cryptodev/rte_cryptodev.h | 2 + lib/security/rte_security.h | 31 +++ 16 files changed, 391 insertions(+), 20 deletions(-) -- 2.22.0