[Intel-wired-lan] [PATCH S49 05/15] ice: refactor FC functions

Bowers, AndrewX andrewx.bowers at intel.com
Thu Jul 23 01:25:31 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 05/15] ice: refactor FC functions
> 
> From: Paul Greenwalt <paul.greenwalt at intel.com>
> 
> Create a helper function for configuring requested flow control so that it can
> be utilized by other functions looking to configure flow control settings.
> Utilize the existing helper ice_copy_phy_caps_to_cfg() to copy a PHY
> capability to configuration instead duplicating the code for it.
> 
> Signed-off-by: Paul Greenwalt <paul.greenwalt at intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_common.c | 75 +++++++++++++--------
>  1 file changed, 46 insertions(+), 29 deletions(-)

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




More information about the Intel-wired-lan mailing list