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 7B5E2A0547 for ; Tue, 9 Feb 2021 11:35:41 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74D5140147; Tue, 9 Feb 2021 11:35:41 +0100 (CET) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mails.dpdk.org (Postfix) with ESMTP id C4580160715 for ; Tue, 9 Feb 2021 11:35:39 +0100 (CET) Received: by mail-wm1-f41.google.com with SMTP id i5so2605459wmq.2 for ; Tue, 09 Feb 2021 02:35:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JAzcQxOn0eMsGUIRim17Q4TPX44B6rtJdJLk+24EyIA=; b=cZ1AB7eWXXEmaptVOAnX7Dt4EM6wMzkTVnyOxs55XO/5iGBtCgTAT3Tvgq8qx/N72r lPGIMjdPzPuhE4gwbNbLkLFRbCgWgNdP+WveWPdAh8gzdww/IOcQA22KwrumVYduwWE1 C/lRNaFhzAcNNDWyWIi3k6oh/BjGAMj6HQ0MQFlqc3or0H0spdt7wfzWK02DoTPFudc3 onYyxSfDq2yX4R+zwSNW9/0bGF1zewYI7B2CL0VT77d2Zv0q7OeC5CikgA/hBOt/9ZCD TtVaACKxu8s/N/0qjtTVOUfeQorBaqzvt3A0s4L9bz3Of3E6dnF3tsjtyLz3tqrYIhZu sM/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JAzcQxOn0eMsGUIRim17Q4TPX44B6rtJdJLk+24EyIA=; b=rZssBdozjI04RPs7THf5SJrJTcC5iHIIZiNFUTpeQI8r0gmC6WN9/HstOmcUPgKNGE wD3Lygqx6xd88PDVStydv65WFnEkga0jhvJrB20Y5qT/M5qOG2UA11WVBxeSevUVtkP1 SP9F7d/n1wJG4Ghx2BRs4+qAK2bbAZhx09mc90GCACqfQbPWXQNSXrBugX5thsytXk2l MqyrpWAzHb6XjoRlcfDg9hXTEmwjHOts6evmJewpfDzOaG3kOJvrYtPecU/U950gQBQe 8da2YOtbhcoQMRtceWXP5/Wsyu5FciC/wLarER6uWQ2dK8UDC22BFWHhBsQzsJlHGlEq PuGg== X-Gm-Message-State: AOAM531P6Mxtdc2pSFTObfl8TybipPkUigTdiB0ewv/Ji77I+c10rech MoeibVqBnfdDZWARA57hyZI= X-Google-Smtp-Source: ABdhPJxVKxiB3lNBR8ZoLkpEwCdUdck4ZKT0wGzOWuc/uvgId+DsNL3XHMg69d+wQSK95OV7cn8XYQ== X-Received: by 2002:a05:600c:19c6:: with SMTP id u6mr2754553wmq.143.1612866939565; Tue, 09 Feb 2021 02:35:39 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id b138sm3704027wmb.35.2021.02.09.02.35.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Feb 2021 02:35:38 -0800 (PST) From: luca.boccassi@gmail.com To: "Min Hu (Connor)" Cc: Lijun Ou , Ferruh Yigit , dpdk stable Date: Tue, 9 Feb 2021 10:35:03 +0000 Message-Id: <20210209103529.466775-5-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210209103529.466775-1-luca.boccassi@gmail.com> References: <20210205111920.1272063-1-luca.boccassi@gmail.com> <20210209103529.466775-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'doc: add FEC to NIC features' has been queued to stable release 20.11.1 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/11/21. 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/a1f1d47fb71a3230bc6c3ad8261a41d37c11c45f Thanks. Luca Boccassi --- >From a1f1d47fb71a3230bc6c3ad8261a41d37c11c45f Mon Sep 17 00:00:00 2001 From: "Min Hu (Connor)" Date: Fri, 29 Jan 2021 17:22:03 +0800 Subject: [PATCH] doc: add FEC to NIC features [ upstream commit fa5dbd825af232e99e82a6de8ea55540c8a07191 ] Document FEC in NIC features, add information about FEC and add implementation related support. Fixes: b7ccfb09da95 ("ethdev: introduce FEC API") Fixes: 9bf2ea8dbc65 ("net/hns3: support FEC") Fixes: 62aafe035896 ("net/cxgbe: support configuring link FEC") Signed-off-by: Min Hu (Connor) Signed-off-by: Lijun Ou Reviewed-by: Ferruh Yigit --- doc/guides/nics/features.rst | 15 +++++++++++++++ doc/guides/nics/features/cxgbe.ini | 1 + doc/guides/nics/features/default.ini | 1 + doc/guides/nics/features/hns3.ini | 1 + 4 files changed, 18 insertions(+) diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index 43f74e02ab..616040042c 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -518,6 +518,21 @@ Supports QinQ (queue in queue) offload. ``tx_offload_capa,tx_queue_offload_capa:DEV_TX_OFFLOAD_QINQ_INSERT``. +.. _nic_features_fec: + +FEC +--- + +Supports Forward error correction. Forward error correction (FEC) is a bit error correction mode. +It adds error correction information to data packets at the transmit end, and uses the error correction +information to correct the bit errors generated during data packet transmission at the receive end. This +improves signal quality but also brings a delay to signals. This function can be enabled or disabled as required. + +* **[implements] eth_dev_ops**: ``fec_get_capability``, ``fec_get``, ``fec_set``. +* **[provides] rte_eth_fec_capa**: ``speed:ETH_SPEED_NUM_*``, ``capa:RTE_ETH_FEC_MODE_TO_CAPA()``. +* **[related] API**: ``rte_eth_fec_get_capability()``, ``rte_eth_fec_get()``, ``rte_eth_fec_set()``. + + .. _nic_features_l3_checksum_offload: L3 checksum offload diff --git a/doc/guides/nics/features/cxgbe.ini b/doc/guides/nics/features/cxgbe.ini index c03b53bd85..799d0b64e0 100644 --- a/doc/guides/nics/features/cxgbe.ini +++ b/doc/guides/nics/features/cxgbe.ini @@ -20,6 +20,7 @@ Flow control = Y Flow API = Y CRC offload = Y VLAN offload = Y +FEC = Y L3 checksum offload = Y L4 checksum offload = Y Packet type parsing = Y diff --git a/doc/guides/nics/features/default.ini b/doc/guides/nics/features/default.ini index 4d0ad324ea..032ae4b6c8 100644 --- a/doc/guides/nics/features/default.ini +++ b/doc/guides/nics/features/default.ini @@ -46,6 +46,7 @@ Inline protocol = CRC offload = VLAN offload = QinQ offload = +FEC = L3 checksum offload = L4 checksum offload = Timestamp offload = diff --git a/doc/guides/nics/features/hns3.ini b/doc/guides/nics/features/hns3.ini index f0747e3f07..a1dc7eb9eb 100644 --- a/doc/guides/nics/features/hns3.ini +++ b/doc/guides/nics/features/hns3.ini @@ -28,6 +28,7 @@ Flow control = Y Flow API = Y CRC offload = Y VLAN offload = Y +FEC = Y L3 checksum offload = Y L4 checksum offload = Y Inner L3 checksum = Y -- 2.29.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-09 10:34:58.134754580 +0000 +++ 0005-doc-add-FEC-to-NIC-features.patch 2021-02-09 10:34:57.854582918 +0000 @@ -1 +1 @@ -From fa5dbd825af232e99e82a6de8ea55540c8a07191 Mon Sep 17 00:00:00 2001 +From a1f1d47fb71a3230bc6c3ad8261a41d37c11c45f Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit fa5dbd825af232e99e82a6de8ea55540c8a07191 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -25 +26 @@ -index 59beb47316..e9bb55376e 100644 +index 43f74e02ab..616040042c 100644 @@ -51 +52 @@ -index f91321504f..276879ec1a 100644 +index c03b53bd85..799d0b64e0 100644 @@ -63 +64 @@ -index 8d89278479..8046bd121e 100644 +index 4d0ad324ea..032ae4b6c8 100644 @@ -75 +76 @@ -index a46739678f..ef432aff2a 100644 +index f0747e3f07..a1dc7eb9eb 100644