[Intel-wired-lan] [PATCH S56 04/13] ice: Refactor ice_set/get_rss into LUT and key specific functions
Brelinski, TonyX
tonyx.brelinski at intel.com
Sat Mar 13 00:07:29 UTC 2021
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Tuesday, March 2, 2021 10:16 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S56 04/13] ice: Refactor ice_set/get_rss
> into LUT and key specific functions
>
> From: Brett Creeley <brett.creeley at intel.com>
>
> Currently ice_set/get_rss are used to set/get the RSS LUT and/or RSS key.
> However nearly everywhere these functions are called only the LUT or key
> are set/get. Also, making this change reduces how many things
> ice_set/get_rss are doing. Fix this by adding ice_set/get_rss_lut and
> ice_set/get_rss_key functions.
>
> Also, consolidate all calls for setting/getting the RSS LUT and RSS Key to use
> ice_set/get_rss_lut() and ice_set/get_rss_key().
>
> Signed-off-by: Brett Creeley <brett.creeley at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice.h | 6 +-
> drivers/net/ethernet/intel/ice/ice_ethtool.c | 43 +++---
> drivers/net/ethernet/intel/ice/ice_lib.c | 42 ++----
> drivers/net/ethernet/intel/ice/ice_main.c | 139 ++++++++++--------
> .../net/ethernet/intel/ice/ice_virtchnl_pf.c | 4 +-
> 5 files changed, 117 insertions(+), 117 deletions(-)
Tested-by: Tony Brelinski <tonyx.brelinski at intel.com> A Contingent Worker at Intel
More information about the Intel-wired-lan
mailing list