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 AA140A0C4C; Tue, 28 Sep 2021 15:26:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 896B4410D7; Tue, 28 Sep 2021 15:26:47 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 05A5540E3C for ; Tue, 28 Sep 2021 15:26:45 +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 18SAF4A7019486; Tue, 28 Sep 2021 06:26: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=jT8RthE3yFqRJ0z+aUN+ouyLZXib9dZorBBeOWCEac4=; b=AzzG74Kes8K/KAMLeq0y86LX3cMCcvdwpXoI3bWOKoDPQDlff500OodworiT9Y+qVEkQ u9WX6Ks1cNYG4h8tXDa8iVeu5mA9HPCJr/fui9iHSC+AXEL/LXR0hGDLOJWmuYGulHSF GLWAHjZSchIVRgVDAKufL9UVi2MzTIFPPln58afDiQr94PCfo+Mu94MV0Jk8sq04aWuR 3Lbgps0hrU1ywh3Qvi8udGemAM+V7rB1zC7xLbpBR11fx8AHZ0JyowRy1K1dWn9RWZWf xT2QOyeRpXfCa9bs+sTC5jaSmBA+chtTbhQIn2Zfwo81+IUQT/B4T0fj88ITmsmzgP3v NA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com with ESMTP id 3bc14prq86-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 28 Sep 2021 06:26:45 -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; Tue, 28 Sep 2021 06:26:43 -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; Tue, 28 Sep 2021 06:26:43 -0700 Received: from hyd1409.caveonetworks.com.com (unknown [10.29.45.15]) by maili.marvell.com (Postfix) with ESMTP id 012293F707B; Tue, 28 Sep 2021 06:26:39 -0700 (PDT) From: Archana Muniganti To: , , , , CC: Archana Muniganti , , , , , Date: Tue, 28 Sep 2021 18:56:27 +0530 Message-ID: <20210928132630.12457-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-ORIG-GUID: hNcJbtegXGKd1IHP0ZH-VC0sJM51n7eq X-Proofpoint-GUID: hNcJbtegXGKd1IHP0ZH-VC0sJM51n7eq 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-28_05,2021-09-28_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH 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=18756 Archana Muniganti (3): security: add SA config option for inner pkt csum crypto/cnxk: add inner checksum app/test: add inner checksum tests 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/rel_notes/deprecation.rst | 4 +- doc/guides/rel_notes/release_21_11.rst | 7 + 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 ++ 14 files changed, 489 insertions(+), 20 deletions(-) -- 2.22.0