> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of Jacob > Keller > Sent: 02 May 2025 04:24 > To: Intel Wired LAN <[email protected]>; Nguyen, Anthony L > <[email protected]>; netdev <[email protected]> > Cc: Keller, Jacob E <[email protected]>; Kubiak, Michal > <[email protected]>; Loktionov, Aleksandr > <[email protected]>; Kolacinski, Karol > <[email protected]>; Kitszel, Przemyslaw > <[email protected]>; Olech, Milena <[email protected]>; Paul > Menzel <[email protected]> > Subject: [Intel-wired-lan] [PATCH v4 10/15] ice: use bitfields instead of > unions for CGU regs > > From: Karol Kolacinski <[email protected]> > > Switch from unions with bitfield structs to definitions with bitfield masks. > This is necessary, because some registers have different field definitions or > even use a different register for the same fields based on HW type. > > Remove unused register fields. > > Reviewed-by: Milena Olech <[email protected]> > Signed-off-by: Karol Kolacinski <[email protected]> > --- > drivers/net/ethernet/intel/ice/ice_common.h | 212 ++++--------------------- > drivers/net/ethernet/intel/ice/ice_tspll.c | 234 ++++++++++++++-------------- > 2 files changed, 153 insertions(+), 293 deletions(-) >
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
