[Intel-wired-lan] [PATCH net] ice: add support for Auto FEC with FEC disabled
G, GurucharanX
gurucharanx.g at intel.com
Thu Jun 9 10:30:34 UTC 2022
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Paul Greenwalt
> Sent: Thursday, June 2, 2022 11:08 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH net] ice: add support for Auto FEC with FEC
> disabled
>
> The default Link Establishment State Machine (LESM) behavior does not
> allow the use of FEC disabled if the media does not support FEC disabled.
> However users may want to override this behavior.
>
> Add ethtool private flag allow-no-fec-modules-in-auto to allow Auto FEC with
> no-FEC mode.
>
> ethtool --set-priv-flags ethX allow-no-fec-modules-in-auto
> on|off
>
> Signed-off-by: Paul Greenwalt <paul.greenwalt at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice.h | 1 +
> .../net/ethernet/intel/ice/ice_adminq_cmd.h | 1 +
> drivers/net/ethernet/intel/ice/ice_common.c | 80 ++++++++++++-------
> drivers/net/ethernet/intel/ice/ice_common.h | 1 +
> drivers/net/ethernet/intel/ice/ice_ethtool.c | 40 +++++++++-
> drivers/net/ethernet/intel/ice/ice_main.c | 8 +-
> drivers/net/ethernet/intel/ice/ice_type.h | 8 +-
> 7 files changed, 105 insertions(+), 34 deletions(-)
>
Tested-by: Gurucharan <gurucharanx.g at intel.com> (A Contingent worker at Intel)
More information about the Intel-wired-lan
mailing list