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 571FEA04A7; Sun, 30 Jan 2022 18:59:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79C9A41148; Sun, 30 Jan 2022 18:59:50 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 7E379410EC for ; Sun, 30 Jan 2022 18:59:49 +0100 (CET) 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 ESMTP id 20UGnCEp019840; Sun, 30 Jan 2022 09:59:45 -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=6Crj5ZeVpWPbE4da+2DFtIMgxmnS8Etu8cbklrlikAQ=; b=TPtrTCWupG6gq/6lCeXOW2LQbg5GDcm3jqIU/7TnaBYQLTaqc2QVfjuR0GzNRKBIUWo2 H5XD89Ma48nZ37M5Z/AQvbqxB6Cu2WZPxPRa4OhVXTSSvtDbVBSvHKtffW+ujXoB8ky2 oKaljc3k5ilfRvdxXN5VE6wwjq5j2SKMbSZedRas7ovP9+pxUg0OodrUjfA4t2JrOb+x 8iIEkyQWTT4IaORB1NiLmyB8Jzbjtm2ZHPzvVXnOOtBJMQpj0m+sPPLrxVMj2at/ddoU s52g5q0M1uAIWTFwq/8GBqopEmI8sGh0utelvZQjn+3eDNqIOdYpMPE0XpuWUVZURFds yQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3dw3tt2v82-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 30 Jan 2022 09:59:45 -0800 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.2; Sun, 30 Jan 2022 09:59:43 -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; Sun, 30 Jan 2022 09:59:43 -0800 Received: from localhost.localdomain (unknown [10.28.48.55]) by maili.marvell.com (Postfix) with ESMTP id 679313F70A9; Sun, 30 Jan 2022 09:59:39 -0800 (PST) From: Akhil Goyal To: CC: , , , , , , , , , , Akhil Goyal Subject: [PATCH v3 0/4] ethdev: introduce IP reassembly offload Date: Sun, 30 Jan 2022 23:29:31 +0530 Message-ID: <20220130175935.1947730-1-gakhil@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220120162627.4155695-1-gakhil@marvell.com> References: <20220120162627.4155695-1-gakhil@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: NhVSOA8iZWvJEuclUPtvKp25kXWZ4xAR X-Proofpoint-ORIG-GUID: NhVSOA8iZWvJEuclUPtvKp25kXWZ4xAR 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-30_05,2022-01-28_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 v3: - incorporated comments from Andrew and Stephen Hemminger 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 | 12 ++++ lib/ethdev/ethdev_driver.h | 45 +++++++++++++++ lib/ethdev/rte_ethdev.c | 109 +++++++++++++++++++++++++++++++++++ lib/ethdev/rte_ethdev.h | 100 +++++++++++++++++++++++++++++++- lib/ethdev/version.map | 5 ++ lib/security/rte_security.h | 12 +++- 7 files changed, 300 insertions(+), 2 deletions(-) -- 2.25.1