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 749F7A034E; Thu, 20 Jan 2022 17:26:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F16F042704; Thu, 20 Jan 2022 17:26:41 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 054BB40042 for ; Thu, 20 Jan 2022 17:26:40 +0100 (CET) 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 ESMTP id 20KCvpYp015977; Thu, 20 Jan 2022 08:26:40 -0800 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-transfer-encoding : content-type; s=pfpt0220; bh=zmeiQxw4ptK3l4ia3bHd+IPSQ33zDwS06RRoMEFia+Q=; b=HkcAAah+qNcpgSxoybwY8i0N3NMcUEP0Y8xB3u09854rZkYFzPxL/akAJlkDKEH8sPaZ vugR/Cw0JeEIvoD1NvZI5H9g71xz5pRBk//X9JtmXgHUEdmbOi1NGTIg5tCKjhnh/Lt7 5TotgDMZkEWv0rXCiECb8QzzDVW1VMx1nOyn+fw/kbO1vC32PfV92NinzWhqb5XKPxz2 fB3TDZf6K/F7FWNUpvyLf2FTOhRLFAZRrb/KNy+ZJQ9Ew5AByL2HJqkh6uvebwcZJxap Xw5be4eYpSdDq7/tj5cetggXnSj8npVGNEluHlJCbk6VpQvvk6RjNeVTFoAueyNgDRnS 5g== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3dpybrtkj9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 20 Jan 2022 08:26:40 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 20 Jan 2022 08:26:38 -0800 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.2 via Frontend Transport; Thu, 20 Jan 2022 08:26:38 -0800 Received: from localhost.localdomain (unknown [10.28.48.55]) by maili.marvell.com (Postfix) with ESMTP id C19D93F705C; Thu, 20 Jan 2022 08:26:33 -0800 (PST) From: Akhil Goyal To: CC: , , , , , , , , , , , , "Akhil Goyal" Subject: [PATCH v2 0/4] ethdev: introduce IP reassembly offload Date: Thu, 20 Jan 2022 21:56:23 +0530 Message-ID: <20220120162627.4155695-1-gakhil@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220103150813.1694888-1-gakhil@marvell.com> References: <20220103150813.1694888-1-gakhil@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: bc0QvoKt0u0AtwPzG_4MpvZUoT-CGJkN X-Proofpoint-GUID: bc0QvoKt0u0AtwPzG_4MpvZUoT-CGJkN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-20_06,2022-01-20_01,2021-12-02_01 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 As discussed in the RFC[1] sent in 21.11, a new offload is introduced in ethdev for IP reassembly. This patchset add the IP reassembly RX offload. Currently, the offload is tested along with inline IPsec processing. It can also be updated as a standalone offload without IPsec, if there are some hardware available to test it. The patchset is tested on cnxk platform. The driver implementation and a test app are added as separate patchsets. [1]: http://patches.dpdk.org/project/dpdk/patch/20210823100259.1619886-1-gakhil@marvell.com/ changes in v2: - added abi ignore exceptions for modifications in reserved fields. Added a crude way to subside the rte_security and rte_ipsec ABI issue. Please suggest a better way. - incorporated Konstantin's comment for extra checks in new API introduced. - converted static mbuf ol_flag to mbuf dynflag (Konstantin) - added a get API for reassembly configuration (Konstantin) - Fixed checkpatch issues. - Dynfield is NOT split into 2 parts as it would cause an extra fetch in case of IP reassembly failure. - Application patches are split into a separate series. Akhil Goyal (4): ethdev: introduce IP reassembly offload ethdev: add dev op to set/get IP reassembly configuration ethdev: add mbuf dynfield for incomplete IP reassembly security: add IPsec option for IP reassembly devtools/libabigail.abignore | 19 ++++++ doc/guides/nics/features.rst | 11 ++++ lib/ethdev/ethdev_driver.h | 45 ++++++++++++++ lib/ethdev/rte_ethdev.c | 110 +++++++++++++++++++++++++++++++++++ lib/ethdev/rte_ethdev.h | 104 ++++++++++++++++++++++++++++++++- lib/ethdev/version.map | 5 ++ lib/security/rte_security.h | 12 +++- 7 files changed, 304 insertions(+), 2 deletions(-) -- 2.25.1