> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Steven Zou
> Sent: Wednesday, February 7, 2024 7:20 AM
> To: [email protected]
> Cc: Sokolowski, Jan <[email protected]>; [email protected];
> [email protected]; [email protected]; Zou, Steven
> <[email protected]>; Brandeburg, Jesse <[email protected]>;
> Staikov, Andrii <[email protected]>; Lobakin, Aleksander
> <[email protected]>; Nguyen, Anthony L
> <[email protected]>; [email protected]; Ertman, David M
> <[email protected]>; Fijalkowski, Maciej
> <[email protected]>; [email protected]; Kitszel,
> Przemyslaw <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-net] ice: Refactor FW data type and fix
> bitmap casting issue
> 
> According to the datasheet, the recipe association data is an 8-byte little-
> endian value. It is described as 'Bitmap of the recipe indexes associated with
> this profile', it is from 24 to 31 byte area in FW.
> Therefore, it is defined to '__le64 recipe_assoc' in struct
> ice_aqc_recipe_to_profile. And then fix the bitmap casting issue, as we must
> never ever use castings for bitmap type.
> 
> Fixes: 1e0f9881ef79 ("ice: Flesh out implementation of support for SRIOV on
> bonded interface")
> Reviewed-by: Przemek Kitszel <[email protected]>
> Reviewed-by: Andrii Staikov <[email protected]>
> Reviewed-by: Jan Sokolowski <[email protected]>
> Reviewed-by: Simon Horman <[email protected]>
> Signed-off-by: Steven Zou <[email protected]>
> ---
>  .../net/ethernet/intel/ice/ice_adminq_cmd.h   |  3 ++-
>  drivers/net/ethernet/intel/ice/ice_lag.c      |  4 ++--
>  drivers/net/ethernet/intel/ice/ice_switch.c   | 24 +++++++++++--------
>  drivers/net/ethernet/intel/ice/ice_switch.h   |  4 ++--
>  4 files changed, 20 insertions(+), 15 deletions(-)
> 
Tested-by: Sujai Buvaneswaran <[email protected]>

Reply via email to