From patchwork Thu Jun 22 15:11:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Artemii Morozov X-Patchwork-Id: 128939 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 5E6A342D1C; Thu, 22 Jun 2023 17:11:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 224DE406B8; Thu, 22 Jun 2023 17:11:45 +0200 (CEST) Received: from agw.arknetworks.am (agw.arknetworks.am [79.141.165.80]) by mails.dpdk.org (Postfix) with ESMTP id 54028406A2 for ; Thu, 22 Jun 2023 17:11:44 +0200 (CEST) Received: from angrod.. (unknown [141.136.90.242]) (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 9E993E0085; Thu, 22 Jun 2023 19:11:43 +0400 (+04) From: Artemii Morozov To: dev@dpdk.org Cc: Ivan Malov , Viacheslav Galaktionov , Andrew Rybchenko Subject: [PATCH v7 0/4] net/sfc: support VLAN stripping offload Date: Thu, 22 Jun 2023 19:11:19 +0400 Message-Id: <20230622151123.275873-1-artemii.morozov@arknetworks.am> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230531134122.119508-1-artemii.morozov@arknetworks.am> References: <20230531134122.119508-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 series adds VLAN stripping offload. Note that this offload are device level offload. v7: * raise an error if there is no callback for efo_get_count * fix alignment * remove the extra check v6: * highlight that efx_port_vlan_strip_set() must be called before any filter insertion * avoid an extra check if offload is not requested v5: * fixed problems with naming * fixed problems with abbreviations * fixed problems with isolated mode * fixed problems with consistency v4: * fix apply patch failure warning v3: * fix apply patch failure warning v2: * rebase patches on top of dpdk-next-net/main Artemii Morozov (4): common/sfc_efx/base: report VLAN stripping capability common/sfc_efx/base: add API to get installed filters count common/sfc_efx/base: add support to enable VLAN stripping net/sfc: support VLAN stripping offload doc/guides/nics/sfc_efx.rst | 4 +-- doc/guides/rel_notes/release_23_07.rst | 6 ++++ drivers/common/sfc_efx/base/ef10_filter.c | 26 +++++++++++++++ drivers/common/sfc_efx/base/ef10_impl.h | 6 ++++ drivers/common/sfc_efx/base/ef10_nic.c | 6 ++++ drivers/common/sfc_efx/base/efx.h | 13 ++++++++ drivers/common/sfc_efx/base/efx_filter.c | 32 +++++++++++++++++++ drivers/common/sfc_efx/base/efx_impl.h | 8 +++++ drivers/common/sfc_efx/base/efx_port.c | 39 +++++++++++++++++++++++ drivers/common/sfc_efx/base/efx_rx.c | 14 ++++++++ drivers/common/sfc_efx/base/rhead_rx.c | 3 ++ drivers/common/sfc_efx/base/siena_nic.c | 1 + drivers/common/sfc_efx/version.map | 1 + drivers/net/sfc/sfc.h | 1 + drivers/net/sfc/sfc_dp_rx.h | 1 + drivers/net/sfc/sfc_ef100_rx.c | 16 +++++++++- drivers/net/sfc/sfc_port.c | 11 +++++++ drivers/net/sfc/sfc_rx.c | 10 ++++++ 18 files changed, 195 insertions(+), 3 deletions(-)