From patchwork Wed Jun 28 07:00:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artemii Morozov X-Patchwork-Id: 129038 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 85E1042D7C; Wed, 28 Jun 2023 09:00:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 744FF406B3; Wed, 28 Jun 2023 09:00:29 +0200 (CEST) Received: from agw.arknetworks.am (agw.arknetworks.am [79.141.165.80]) by mails.dpdk.org (Postfix) with ESMTP id E364F40151 for ; Wed, 28 Jun 2023 09:00:27 +0200 (CEST) Received: from angrod.. (unknown [141.136.89.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by agw.arknetworks.am (Postfix) with ESMTPSA id CFE1DE1024; Wed, 28 Jun 2023 11:00:26 +0400 (+04) From: Artemii Morozov To: dev@dpdk.org Cc: Ivan Malov , Viacheslav Galaktionov , Andy Moreton , Andrew Rybchenko , Ferruh Yigit Subject: [PATCH v2 0/2] support IPv4 fragment matching in transfer rules Date: Wed, 28 Jun 2023 11:00:20 +0400 Message-Id: <20230628070022.410127-1-artemii.morozov@arknetworks.am> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230623165824.51908-1-artemii.morozov@arknetworks.am> References: <20230623165824.51908-1-artemii.morozov@arknetworks.am> MIME-Version: 1.0 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 This patch seria adds support for matching fragment offsets for IPv4 packets, but with some limitations. Exact matching is supported only for zero offset, ranges are allowed for non-zero offsets. v2: * fix build issue Artemii Morozov (2): common/sfc_efx/base: add MAE IP fragmentation match bits net/sfc: support IPv4 fragment matching in transfer rules drivers/common/sfc_efx/base/efx.h | 4 + drivers/common/sfc_efx/base/efx_mae.c | 4 + drivers/net/sfc/sfc_mae.c | 110 +++++++++++++++++++++++++- drivers/net/sfc/sfc_mae.h | 4 + 4 files changed, 121 insertions(+), 1 deletion(-)