[4/7] ethdev: introduce low latency RS FEC

Message ID 20230408022740.14522-5-liudongdong3@huawei.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers
Series add setting and querying of LLRS FEC mode |

Checks

Context Check Description
ci/checkpatch warning coding style issues

Commit Message

Dongdong Liu April 8, 2023, 2:27 a.m. UTC
From: Jie Hai <haijie1@huawei.com>

This patch introduces LLRS (low latency Reed Solomon FEC).
LLRS supports for 25 Gbps, 50 Gbps, 100 Gbps, 200 Gbps and
400 Gbps Ethernet networks.

Signed-off-by: Jie Hai <haijie1@huawei.com>
Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
---
 doc/guides/rel_notes/release_23_07.rst | 3 +++
 lib/ethdev/rte_ethdev.h                | 1 +
 2 files changed, 4 insertions(+)
  

Comments

Ferruh Yigit June 1, 2023, 8:30 a.m. UTC | #1
On 4/8/2023 3:27 AM, Dongdong Liu wrote:
> From: Jie Hai <haijie1@huawei.com>
> 
> This patch introduces LLRS (low latency Reed Solomon FEC).
> LLRS supports for 25 Gbps, 50 Gbps, 100 Gbps, 200 Gbps and
> 400 Gbps Ethernet networks.
> 
> Signed-off-by: Jie Hai <haijie1@huawei.com>
> Signed-off-by: Dongdong Liu <liudongdong3@huawei.com>
> ---
>  doc/guides/rel_notes/release_23_07.rst | 3 +++
>  lib/ethdev/rte_ethdev.h                | 1 +
>  2 files changed, 4 insertions(+)
> 
> diff --git a/doc/guides/rel_notes/release_23_07.rst b/doc/guides/rel_notes/release_23_07.rst
> index a9b1293689..dcc4c84907 100644
> --- a/doc/guides/rel_notes/release_23_07.rst
> +++ b/doc/guides/rel_notes/release_23_07.rst
> @@ -55,6 +55,9 @@ New Features
>       Also, make sure to start the actual text at the margin.
>       =======================================================
>  
> +* **Added LLRS FEC mode in ethdev.**
> +
> +  Added RTE_ETH_FEC_LLRS to rte_eth_fec_mode.
>  
>  Removed Items
>  -------------
> diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
> index 99fe9e238b..bea847fcc3 100644
> --- a/lib/ethdev/rte_ethdev.h
> +++ b/lib/ethdev/rte_ethdev.h
> @@ -1916,6 +1916,7 @@ enum rte_eth_fec_mode {
>  	RTE_ETH_FEC_AUTO,	    /**< FEC autonegotiation modes */
>  	RTE_ETH_FEC_BASER,          /**< FEC using common algorithm */
>  	RTE_ETH_FEC_RS,             /**< FEC using RS algorithm */
> +	RTE_ETH_FEC_LLRS,           /**< FEC using LLRS algorithm */
>  };
>  
>  /* Translate from FEC mode to FEC capa */

Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
  

Patch

diff --git a/doc/guides/rel_notes/release_23_07.rst b/doc/guides/rel_notes/release_23_07.rst
index a9b1293689..dcc4c84907 100644
--- a/doc/guides/rel_notes/release_23_07.rst
+++ b/doc/guides/rel_notes/release_23_07.rst
@@ -55,6 +55,9 @@  New Features
      Also, make sure to start the actual text at the margin.
      =======================================================
 
+* **Added LLRS FEC mode in ethdev.**
+
+  Added RTE_ETH_FEC_LLRS to rte_eth_fec_mode.
 
 Removed Items
 -------------
diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
index 99fe9e238b..bea847fcc3 100644
--- a/lib/ethdev/rte_ethdev.h
+++ b/lib/ethdev/rte_ethdev.h
@@ -1916,6 +1916,7 @@  enum rte_eth_fec_mode {
 	RTE_ETH_FEC_AUTO,	    /**< FEC autonegotiation modes */
 	RTE_ETH_FEC_BASER,          /**< FEC using common algorithm */
 	RTE_ETH_FEC_RS,             /**< FEC using RS algorithm */
+	RTE_ETH_FEC_LLRS,           /**< FEC using LLRS algorithm */
 };
 
 /* Translate from FEC mode to FEC capa */