[Intel-wired-lan] [PATCH S49 06/15] ice: move auto FEC checks into ice_cfg_phy_fec()

Bowers, AndrewX andrewx.bowers at intel.com
Thu Jul 23 01:26:55 UTC 2020


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Thursday, July 9, 2020 9:16 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S49 06/15] ice: move auto FEC checks into
> ice_cfg_phy_fec()
> 
> From: Paul Greenwalt <paul.greenwalt at intel.com>
> 
> The call to ice_cfg_phy_fec() requires the caller to perform certain actions
> before calling it. Instead of imposing these preconditions move the
> operations into the function and perform them ourselves.
> 
> Also, fix some style issues in nearby touched code.
> 
> Signed-off-by: Paul Greenwalt <paul.greenwalt at intel.com>
> Signed-off-by: Chinh T Cao <chinh.t.cao at intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_common.c  | 43 ++++++++++++++++----
> drivers/net/ethernet/intel/ice/ice_common.h  |  5 ++-
> drivers/net/ethernet/intel/ice/ice_ethtool.c | 31 ++------------
>  3 files changed, 40 insertions(+), 39 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list