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 CA35DA0547; Wed, 29 Sep 2021 13:23:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5328B410EB; Wed, 29 Sep 2021 13:23:53 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 12454410E5 for ; Wed, 29 Sep 2021 13:23:50 +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 18T8e7CO008377; Wed, 29 Sep 2021 04:23:50 -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=a/LGC5z2ZM5TI/owvHetOlv6kAfC2Q5zOQJ+XARGHe8=; b=gAMQK8fHRWAAryMgCmOVRbB8GoIQkxtSfajY3b7O15K+PRlNerNYJahajAGugQ6L1cVq /cv5Z5S6JQGtGqvE8r7vHZwuMz/IIYzVi8xji6VrUw90qKePUjTcU7o3FksO0uJKVoOK IwiI95Vd63rMLXtq+EK4nutiUD+L4CuK2E4UueJ9+lbWNO8S4LYzBJa7jvlKIK6kCD38 3atxkjEbcPhROESKYGkaLwkT+8ZwfxUvDqWlkWcryB8+ZDoBXF4L86TnK5eWAo7hCR8W vg0SyaqfEC+3l8QpegenS546+gLavVhfwilbwNzTAbn5W/oE4zSdsibZpFKCB24m14to 9g== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com with ESMTP id 3bcfd49tu5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 29 Sep 2021 04:23:48 -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; Wed, 29 Sep 2021 04:23:45 -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; Wed, 29 Sep 2021 04:23:45 -0700 Received: from hyd1409.caveonetworks.com.com (unknown [10.29.45.15]) by maili.marvell.com (Postfix) with ESMTP id B61963F7085; Wed, 29 Sep 2021 04:23:37 -0700 (PDT) From: Archana Muniganti To: , , , , CC: Archana Muniganti , , , , , Date: Wed, 29 Sep 2021 16:53:22 +0530 Message-ID: <20210929112325.28662-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: 6nQSjypoZ_Gbtla2ak81z_DAiraWxhGr X-Proofpoint-ORIG-GUID: 6nQSjypoZ_Gbtla2ak81z_DAiraWxhGr 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-29_04,2021-09-29_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH v3 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. Depends on https://patches.dpdk.org/project/dpdk/list/?series=19243 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 | 18 ++ 16 files changed, 378 insertions(+), 20 deletions(-) -- 2.22.0