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 CC3F9A0547; Wed, 29 Sep 2021 11:08:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D479410D7; Wed, 29 Sep 2021 11:08:28 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 9D60B40E3C for ; Wed, 29 Sep 2021 11:08:26 +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 18T8daQa004913; Wed, 29 Sep 2021 02:08:25 -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=6uu+a9m+g4ywEqipRFFOKVpdcJ4jDLdXrM6hisNylTA=; b=OIlA4bP6eb/3yulSZWWP5Qmqm45P2zLpLxNcwZayLD0cudKajiwWDwrrz9bDiYqaZlaB /McJsCq8+1fmA//+ULlPpwCBva29YHSzTvqVxOv0BGaQPvOJ4j+YRp5225Q8eCSt3zjA KHvrXwXZFglZmVvqlETCO/xDz0ZLEHPO/6PADS7uoe5kCq43a+FFJ5dZJAPEbbtG99d0 tRTiHPxkdAmq0ZRnvMI8+hX+fDP4S2k5FxOIJgUK2oz1c54rGxn3ESEzqfo8LeRAB6wR 1OTdL4JlqY3oZds5xrjEz9imwP7twZYuIeMSyTGHNpDcx1KlDYbVr5gYLJQaUUFcVpBB Dw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 3bcknk8cum-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 29 Sep 2021 02:08:25 -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; Wed, 29 Sep 2021 02:08:23 -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; Wed, 29 Sep 2021 02:08:23 -0700 Received: from hyd1409.caveonetworks.com.com (unknown [10.29.45.15]) by maili.marvell.com (Postfix) with ESMTP id 114313F707C; Wed, 29 Sep 2021 02:08:20 -0700 (PDT) From: Archana Muniganti To: , , , , CC: Archana Muniganti , , , , , Date: Wed, 29 Sep 2021 14:38:08 +0530 Message-ID: <20210929090811.21030-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: -yRwP9ixEToG7yfQIvEwPmsiB3Sy6rGy X-Proofpoint-ORIG-GUID: -yRwP9ixEToG7yfQIvEwPmsiB3Sy6rGy 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_02,2021-09-28_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH v2 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 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 | 118 +++++++++++ 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, 490 insertions(+), 20 deletions(-) -- 2.22.0