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 BF8E442CBC for ; Thu, 15 Jun 2023 03:34:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B9F4E40E0F; Thu, 15 Jun 2023 03:34:28 +0200 (CEST) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mails.dpdk.org (Postfix) with ESMTP id E7BB340E0F for ; Thu, 15 Jun 2023 03:34:26 +0200 (CEST) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-30fc2b44281so3845215f8f.2 for ; Wed, 14 Jun 2023 18:34:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686792866; x=1689384866; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eSkmkb483wYwlUhJCcoDe1zNUuw56TvlfL+GmV1qzUQ=; b=Ota1JF1VKLSXQQcfTGbrceNzGfxDDnGNGSz7rg/ZMMkp0J9K8f1hoJ0K1cLftLU9ya pv13n5s+wtd5AN6F0ax5TmY2p9/l1S1od8y8ACjtffF1Zplp5P4HNU9S4JEkylR913sd UBbZXJWof8TeS01rpGDrw4om2fylDc40s3xQXkc0qRozHU2OPFPb7IY7Z326gLk206dN TNXuk/V5L3IOoGL0wOzOJDzVsgPEGhw3DDatwJX0Vy0Ho4ySHrmRhY3jTN9RcDgV0Drp VNeSI5PLiZJl5/+ZN10x+OZCGusUhAI1H8WkgV0rPKEnUYbLvoi7HhirAGu6j9XrW2g7 HiQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686792866; x=1689384866; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eSkmkb483wYwlUhJCcoDe1zNUuw56TvlfL+GmV1qzUQ=; b=MjleS4t4j/tq7Fgn0n47Ch9ysVPjTgGU+4W1TW5Cco+TQ5x+ylpWf3brEQ6OBLkHgS Ppn5hYsTE+OZHNb1podULsIcpWrd/+pBypazXACKIhCDLWwfrymsfdeMwx2/jWJY4xlu Ah6vnEybQO9ITQXZwUAn/K3flLjYDKA1vStjqqpGEDpx06T9OkqzIJXBNLiN66l+iUXi fwrJGslvnooLQ3dY8uv9Fw+hH/W8PqdBeliX3CtCUfsNuDEfGyT++kSxnwSNulD5NX5e O6RSZU0onJ0RCJ0wdTyCJo/N0rp9IlnH2Vk1ECuiZBOWB6jOGn0l1sS9GlU062lDkRZP 0ITw== X-Gm-Message-State: AC+VfDwfW/2j/aP2o8E/qGiPwxIIXJdoXN04xWLnjoimXPpsZFormudY m6t6DgCFYgVRT0GLSNRSJ4C6AkQDqNxkM8JU X-Google-Smtp-Source: ACHHUZ5+0Klv0mZCSfltLPb6OeThY/ZcR30M6o4KzRgaZFGD3MUEO1lq286kMs9gh6qVBpEZ6HAdPg== X-Received: by 2002:a5d:4574:0:b0:311:12b0:4b36 with SMTP id a20-20020a5d4574000000b0031112b04b36mr852058wrc.58.1686792866550; Wed, 14 Jun 2023 18:34:26 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id p10-20020a5d48ca000000b0030e56a9ff25sm19545022wrs.31.2023.06.14.18.34.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 18:34:26 -0700 (PDT) From: luca.boccassi@gmail.com To: Jie Hai Cc: Dongdong Liu , dpdk stable Subject: patch 'net/hns3: fix FEC mode for 200G ports' has been queued to stable release 20.11.9 Date: Thu, 15 Jun 2023 02:32:24 +0100 Message-Id: <20230615013258.1439718-29-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230615013258.1439718-1-luca.boccassi@gmail.com> References: <20230615013258.1439718-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 20.11.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/17/23. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/adbae13f9db61b672fb397f5773a509fabd44568 Thanks. Luca Boccassi --- >From adbae13f9db61b672fb397f5773a509fabd44568 Mon Sep 17 00:00:00 2001 From: Jie Hai Date: Sat, 8 Apr 2023 10:27:33 +0800 Subject: [PATCH] net/hns3: fix FEC mode for 200G ports [ upstream commit 0f015da9e207d43a8676714661209b76a8f062d1 ] The hardware does not support NOFEC for 200G ports. So delete this bit. Fixes: 9bf2ea8dbc65 ("net/hns3: support FEC") Signed-off-by: Jie Hai Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_ethdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c index 5561e80045..c1b90ab025 100644 --- a/drivers/net/hns3/hns3_ethdev.c +++ b/drivers/net/hns3/hns3_ethdev.c @@ -83,8 +83,7 @@ static const struct rte_eth_fec_capa speed_fec_capa_tbl[] = { RTE_ETH_FEC_MODE_CAPA_MASK(AUTO) | RTE_ETH_FEC_MODE_CAPA_MASK(RS) }, - { ETH_SPEED_NUM_200G, RTE_ETH_FEC_MODE_CAPA_MASK(NOFEC) | - RTE_ETH_FEC_MODE_CAPA_MASK(AUTO) | + { ETH_SPEED_NUM_200G, RTE_ETH_FEC_MODE_CAPA_MASK(AUTO) | RTE_ETH_FEC_MODE_CAPA_MASK(RS) } }; -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-06-15 01:56:36.267730698 +0100 +++ 0029-net-hns3-fix-FEC-mode-for-200G-ports.patch 2023-06-15 01:56:34.591541828 +0100 @@ -1 +1 @@ -From 0f015da9e207d43a8676714661209b76a8f062d1 Mon Sep 17 00:00:00 2001 +From adbae13f9db61b672fb397f5773a509fabd44568 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 0f015da9e207d43a8676714661209b76a8f062d1 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 07d907d6a1..94eadefb8e 100644 +index 5561e80045..c1b90ab025 100644 @@ -26 +27 @@ -- { RTE_ETH_SPEED_NUM_200G, RTE_ETH_FEC_MODE_CAPA_MASK(NOFEC) | +- { ETH_SPEED_NUM_200G, RTE_ETH_FEC_MODE_CAPA_MASK(NOFEC) | @@ -28 +29 @@ -+ { RTE_ETH_SPEED_NUM_200G, RTE_ETH_FEC_MODE_CAPA_MASK(AUTO) | ++ { ETH_SPEED_NUM_200G, RTE_ETH_FEC_MODE_CAPA_MASK(AUTO) |