[PATCH 2/2] net/cnxk: add FEC get set and capability ops

Jerin Jacob jerinjacobk at gmail.com
Tue Jun 9 07:06:41 CEST 2026


On Thu, Apr 16, 2026 at 5:41 PM rkudurumalla <rkudurumalla at marvell.com> wrote:
>
> From: Rakesh Kudurumalla <rkudurumalla at marvell.com>
>
> Add ethdev FEC operations for cnxk NIX driver:
> - fec_get_capability: Report supported FEC modes per speed.
>   If firmware provides supported FEC info, return actual
>   capabilities for current link speed. Otherwise, fall back
>   to a default capability table for common speeds.
> - fec_get: Query current FEC mode from link info
> - fec_set: Configure FEC mode on the link. AUTO mode
>   defaults to Reed-Solomon FEC.
>
> Signed-off-by: Rakesh Kudurumalla <rkudurumalla at marvell.com>

Update doc/guides/nics/cnxk.rst and doc/guides/nics/features/cnxk* for
this new feature,.


More information about the dev mailing list