From patchwork Thu Jun 15 08:38:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denis Pryazhennikov X-Patchwork-Id: 128735 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 AC48242CC4; Thu, 15 Jun 2023 10:38:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9D58E41104; Thu, 15 Jun 2023 10:38:52 +0200 (CEST) Received: from agw.arknetworks.am (agw.arknetworks.am [79.141.165.80]) by mails.dpdk.org (Postfix) with ESMTP id 1FF2540E0F for ; Thu, 15 Jun 2023 10:38:52 +0200 (CEST) Received: from localhost.localdomain (unknown [141.136.90.242]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA512) (No client certificate requested) by agw.arknetworks.am (Postfix) with ESMTPSA id 3CE2AE1275; Thu, 15 Jun 2023 12:38:51 +0400 (+04) From: Denis Pryazhennikov To: dev@dpdk.org Cc: Ferruh Yigit , Andrew Rybchenko Subject: [PATCH v2 0/3] net/sfc: support FEC feature Date: Thu, 15 Jun 2023 12:38:44 +0400 Message-Id: <20230615083847.75590-1-denis.pryazhennikov@arknetworks.am> X-Mailer: git-send-email 2.37.0 (Apple Git-136) In-Reply-To: <20230601222349.28965-1-denis.pryazhennikov@arknetworks.am> References: <20230601222349.28965-1-denis.pryazhennikov@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 setting and querying of Forward error correction (FEC). AUTO, BASER and RS modes are supported by EF10/EF100 hardware. LLRS mode is not supported. Changes in v2: * Applied review notes in [2/3] and [3/3]; * Added a check for the supported by a device FEC modes in sfc_fec_get_capa_speed_to_fec(); * Fixed error handling. Denis Pryazhennikov (3): net/sfc: split link update function common/sfc_efx/base: add FEC related macros net/sfc: support FEC feature doc/guides/nics/features/sfc.ini | 1 + doc/guides/rel_notes/release_23_07.rst | 6 + drivers/common/sfc_efx/base/efx.h | 9 + drivers/net/sfc/sfc.h | 2 + drivers/net/sfc/sfc_ethdev.c | 406 ++++++++++++++++++++++++- drivers/net/sfc/sfc_port.c | 24 +- 6 files changed, 428 insertions(+), 20 deletions(-)