From patchwork Tue Feb 1 08:49:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Malov X-Patchwork-Id: 106752 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 0E5E9A00C5; Tue, 1 Feb 2022 09:50:08 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E5CF40698; Tue, 1 Feb 2022 09:50:07 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 029BF40691 for ; Tue, 1 Feb 2022 09:50:06 +0100 (CET) Received: from bree.oktetlabs.ru (bree.oktetlabs.ru [192.168.34.5]) (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 shelob.oktetlabs.ru (Postfix) with ESMTPS id 6EC1338 for ; Tue, 1 Feb 2022 11:50:05 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 6EC1338 Authentication-Results: shelob.oktetlabs.ru/6EC1338; dkim=none; dkim-atps=neutral From: Ivan Malov To: dev@dpdk.org Subject: [PATCH 0/8] net/sfc: improve flow action RSS support on EF100 boards Date: Tue, 1 Feb 2022 11:49:54 +0300 Message-Id: <20220201085002.320102-1-ivan.malov@oktetlabs.ru> X-Mailer: git-send-email 2.30.2 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 The first patch reworks flow action RSS support in general, on all board types. Later patches add support for EF100-specific features: the even spread mode (no indirection table) and the ability to select indirection table size in the normal mode. Ivan Malov (8): net/sfc: rework flow action RSS support common/sfc_efx/base: query RSS queue span limit on Riverhead net/sfc: use non-static queue span limit in flow action RSS common/sfc_efx/base: revise name of RSS table entry count common/sfc_efx/base: support selecting RSS table entry count net/sfc: use adaptive table entry count in flow action RSS common/sfc_efx/base: support the even spread RSS mode net/sfc: use the even spread mode in flow action RSS drivers/common/sfc_efx/base/ef10_impl.h | 11 +- drivers/common/sfc_efx/base/ef10_nic.c | 49 ++- drivers/common/sfc_efx/base/ef10_rx.c | 186 +++++++-- drivers/common/sfc_efx/base/efx.h | 43 +- drivers/common/sfc_efx/base/efx_impl.h | 3 +- drivers/common/sfc_efx/base/efx_mcdi.h | 11 + drivers/common/sfc_efx/base/efx_rx.c | 81 +++- drivers/common/sfc_efx/base/rhead_impl.h | 11 +- drivers/common/sfc_efx/base/rhead_rx.c | 16 +- drivers/common/sfc_efx/base/siena_nic.c | 5 + drivers/common/sfc_efx/version.map | 1 + drivers/net/sfc/meson.build | 1 + drivers/net/sfc/sfc.c | 12 +- drivers/net/sfc/sfc.h | 4 +- drivers/net/sfc/sfc_ethdev.c | 8 +- drivers/net/sfc/sfc_flow.c | 249 +++--------- drivers/net/sfc/sfc_flow.h | 19 +- drivers/net/sfc/sfc_flow_rss.c | 474 +++++++++++++++++++++++ drivers/net/sfc/sfc_flow_rss.h | 86 ++++ 19 files changed, 977 insertions(+), 293 deletions(-) create mode 100644 drivers/net/sfc/sfc_flow_rss.c create mode 100644 drivers/net/sfc/sfc_flow_rss.h