> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Wojciech Drewek
> Sent: Monday, July 1, 2024 2:36 PM
> To: [email protected]
> Cc: Kitszel, Przemyslaw <[email protected]>;
> [email protected]; [email protected]
> Subject: [Intel-wired-lan] [PATCH iwl-net] ice: Fix recipe read procedure
> 
> When ice driver reads recipes from firmware information about
> need_pass_l2 and allow_pass_l2 flags is not stored correctly.
> Those flags are stored as one bit each in ice_sw_recipe structure.
> Because of that, the result of checking a flag has to be casted to bool.
> Note that the need_pass_l2 flag currently works correctly, because it's stored
> in the first bit.
> 
> Fixes: bccd9bce29e0 ("ice: Add guard rule when creating FDB in switchdev")
> Reviewed-by: Marcin Szycik <[email protected]>
> Reviewed-by: Przemek Kitszel <[email protected]>
> Signed-off-by: Wojciech Drewek <[email protected]>
> ---
>  drivers/net/ethernet/intel/ice/ice_switch.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
Tested-by: Sujai Buvaneswaran <[email protected]>

Reply via email to