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 9F5B5A0C43; Tue, 14 Sep 2021 17:14:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A52E4069C; Tue, 14 Sep 2021 17:14:48 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 21C244068F for ; Tue, 14 Sep 2021 17:14:45 +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 18E9q5oM024056; Tue, 14 Sep 2021 08:14:43 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0220; bh=zXeLCIBPVnKXXvUJn4xAhzM31dLM2/vfvvWgaPVhvxo=; b=UuGoJV6gCpaHu4FU3HED9I27UBBjwdC/rUXXLJXb1Q/hwFfqOcAWK2wI92+51yAltmeo UhtaaBgCAodpPdUCu5rhQlkBqp72cXnr7Z771OAh7oUzOopEdMC+AGqtuSAOC4OCzkvc lxRqxXexrCRUzSLZAcPHAEeT6C+dlYCktirnStiXvZRcEfFDOVaBAf3oZqRFuXvxwr/C LFrg+4fSc/qYbp2dt64DA+hE+GezUn+6RakunYCNQ//E4m+fC2mZGxNf0TVkRz9WyrEM DuvQ4ko7PLRcFKBKsyBHMzAKAnUHNNZ2aQxQmBbdJTd552rIv6Yskq0sezkmBJB0HK1a 4A== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 3b2sfshej3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 14 Sep 2021 08:14:43 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 14 Sep 2021 08:14:41 -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, 14 Sep 2021 08:14:41 -0700 Received: from hyd1588t430.marvell.com (unknown [10.29.52.204]) by maili.marvell.com (Postfix) with ESMTP id 4DB373F7066; Tue, 14 Sep 2021 08:14:37 -0700 (PDT) From: Nithin Dabilpuram To: , , , , , CC: , , , , , , , Date: Tue, 14 Sep 2021 20:44:31 +0530 Message-ID: <20210914151434.29922-1-ndabilpuram@marvell.com> X-Mailer: git-send-email 2.8.4 In-Reply-To: <20210624102848.3878788-1-gakhil@marvell.com> References: <20210624102848.3878788-1-gakhil@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-GUID: WSn7BL3izNrO8J3EMV20OzlEeVL5Y9W6 X-Proofpoint-ORIG-GUID: WSn7BL3izNrO8J3EMV20OzlEeVL5Y9W6 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-14_06,2021-09-14_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH v5 0/3] security: Improve inline fast path routines 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" Improvements to Inline inbound and outbound processing fast path routines rte_security_set_pkt_metadata() and rte_security_get_userdata() to make them inline functions and also provide mechanism for drivers to support fast userdata and metadata access instead of driver specific per-pkt function callbacks. This series updates requirements of mbuf fields to be updated for outbound inline processing. Nithin Dabilpuram (3): security: enforce semantics for Tx inline processing security: add option for faster udata or mdata access examples/ipsec-secgw: update event mode inline path v5: - Squash 4/4 patch to 2/4 and update release notes v4: - Removed entry from deprecation notice. - Fixed issue with rte_security_set_pkt_metadata() to pass instance instead of device ptr to non-inline C function. v3: - Rebased and fixed compilation issue with rte_security_get_userdata() on 32-bit platform - Updated l2_len on patch 3/3 only for outbound. v2: - Remove restrictions on rte_security_set_pkt_metadata() w.r.t pkt content - Add inline functions for rte_security_set_pkt_metadata() and rte_security_get_userdata() and also faster mdata, udata access via patch 2/3 doc/guides/nics/features.rst | 2 ++ doc/guides/rel_notes/deprecation.rst | 4 --- doc/guides/rel_notes/release_21_08.rst | 6 +++++ examples/ipsec-secgw/ipsec-secgw.c | 2 ++ examples/ipsec-secgw/ipsec_worker.c | 41 +++++++++++++++++++---------- lib/mbuf/rte_mbuf_core.h | 2 ++ lib/security/rte_security.c | 8 +++--- lib/security/rte_security.h | 48 +++++++++++++++++++++++++++++++--- lib/security/version.map | 2 ++ 9 files changed, 89 insertions(+), 26 deletions(-) -- 2.8.4