[Intel-wired-lan] [PATCH S58 04/13] ice: refactor ITR data structures

Brelinski, TonyX tonyx.brelinski at intel.com
Mon Apr 12 17:18:49 UTC 2021


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Wednesday, March 31, 2021 2:17 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S58 04/13] ice: refactor ITR data structures
> 
> From: Jesse Brandeburg <jesse.brandeburg at intel.com>
> 
> Use a dedicated bitfield in order to both increase the amount of checking
> around the length of ITR writes as well as simplify the checks of dynamic
> mode.
> 
> Basically unpack the "high bit means dynamic" logic into bitfields.
> 
> Also, remove some unused ITR defines.
> 
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg at intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_base.c    |  3 ++
>  drivers/net/ethernet/intel/ice/ice_ethtool.c | 15 +++++-----
>  drivers/net/ethernet/intel/ice/ice_lib.c     |  7 -----
>  drivers/net/ethernet/intel/ice/ice_txrx.c    |  4 +--
>  drivers/net/ethernet/intel/ice/ice_txrx.h    | 30 +++++++++-----------
>  5 files changed, 26 insertions(+), 33 deletions(-)

Tested-by: Tony Brelinski <tonyx.brelinski at intel.com> (A Contingent Worker at Intel)




More information about the Intel-wired-lan mailing list