commit | 2ffb60856ac857ecae3e87a69c0a977e4a608ae0 | [log] [tgz] |
---|---|---|
author | Paul Greenwalt <paul.greenwalt@intel.com> | Thu Jul 09 09:16:04 2020 -0700 |
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | Thu Jul 23 15:03:58 2020 -0700 |
tree | bc872e866e185b6fba11dcd035985120ac55e1c0 | |
parent | 769c500dcc1edb6e65f84b2a7304589b748a3e35 [diff] |
ice: refactor FC functions 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@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>