[dpdk-stable] patch 'doc: add FEC to NIC features' has been queued to stable release 20.11.1

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue Feb 9 11:35:03 CET 2021


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)" <humin29 at huawei.com>
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) <humin29 at huawei.com>
Signed-off-by: Lijun Ou <oulijun at huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
 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 at 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


More information about the stable mailing list