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 93330A04A3; Mon, 3 Jan 2022 16:08:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6237340042; Mon, 3 Jan 2022 16:08:37 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id ED85B4003C for ; Mon, 3 Jan 2022 16:08:34 +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 203CaiO7024063; Mon, 3 Jan 2022 07:08:33 -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=PWZ/PpKqinaOepFbPfU3mG8eIvBMZV82aTYKYmrSE3M=; b=aVWzhM22EluV8rsy9EwzIjtYtuJU3sxH57cT6s6SCUYTz63XPoS11OWq2SGPOHkJF6aF KEwOs7NaG6eAY9Npfg+pKzBL4asTqnHD0q6fCQHZyx64t+kUhBO8JdZBnqqO4j6poi3F Mdqb2ltV33TJ54cZaB53EXEnHrsC2i2IGd8V5UeZnMyIP93Qm7lfBh3JlWmkkmA5Ps8G BAQAM1ONG/bBmetWK9Bp18k7YIFGKJ/K/Abf9r7c/x9nriudUF4RDoshKJmZ8GXjP7mv spE8G5rD6JQ6uGUtu/pba+acFrkrCH87bf/dAfQSvNPrNx7VW3mdjBbLofwIoLNWPM7x ag== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3dbmvswf84-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 03 Jan 2022 07:08:32 -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; Mon, 3 Jan 2022 07:08:31 -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; Mon, 3 Jan 2022 07:08:31 -0800 Received: from localhost.localdomain (unknown [10.28.48.55]) by maili.marvell.com (Postfix) with ESMTP id B26ED3F7095; Mon, 3 Jan 2022 07:08:27 -0800 (PST) From: Akhil Goyal To: CC: , , , , , , , , , , , Akhil Goyal Subject: [PATCH 0/8] ethdev: introduce IP reassembly offload Date: Mon, 3 Jan 2022 20:38:05 +0530 Message-ID: <20220103150813.1694888-1-gakhil@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210823100259.1619886-1-gakhil@marvell.com> References: <20210823100259.1619886-1-gakhil@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: 4bYcjPQ590KliP5JF7fhUxTF-6xu10P8 X-Proofpoint-GUID: 4bYcjPQ590KliP5JF7fhUxTF-6xu10P8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-03_06,2022-01-01_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 RX offload and an application to test it. 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 is added as a separate patchset. [1]: http://patches.dpdk.org/project/dpdk/patch/20210823100259.1619886-1-gakhil@marvell.com/ Akhil Goyal (8): ethdev: introduce IP reassembly offload ethdev: add dev op for IP reassembly configuration ethdev: add mbuf dynfield for incomplete IP reassembly security: add IPsec option for IP reassembly app/test: add unit cases for inline IPsec offload app/test: add IP reassembly case with no frags app/test: add IP reassembly cases with multiple fragments app/test: add IP reassembly negative cases app/test/meson.build | 1 + app/test/test_inline_ipsec.c | 1036 +++++++++++++++++ .../test_inline_ipsec_reassembly_vectors.h | 790 +++++++++++++ doc/guides/nics/features.rst | 12 + lib/ethdev/ethdev_driver.h | 27 + lib/ethdev/rte_ethdev.c | 47 + lib/ethdev/rte_ethdev.h | 117 +- lib/ethdev/version.map | 5 + lib/mbuf/rte_mbuf_core.h | 3 +- lib/security/rte_security.h | 12 +- 10 files changed, 2047 insertions(+), 3 deletions(-) create mode 100644 app/test/test_inline_ipsec.c create mode 100644 app/test/test_inline_ipsec_reassembly_vectors.h -- 2.25.1