> -----Original Message-----
> From: Michal Swiatkowski <[email protected]>
> Sent: Friday, March 1, 2024 5:24 PM
> To: [email protected]
> Cc: [email protected]; Szycik, Marcin <[email protected]>;
> Drewek, Wojciech <[email protected]>; Samudrala, Sridhar
> <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; [email protected]; Buvaneswaran, Sujai
> <[email protected]>; Michal Swiatkowski
> <[email protected]>; Marcin Szycik
> <[email protected]>
> Subject: [iwl-next v3 3/8] ice: default Tx rule instead of to queue
>
> Steer all packets that miss other rules to PF VSI. Previously in switchdev
> mode, PF VSI received missed packets, but only ones marked as Rx. Now it is
> receiving all missed packets.
>
> To queue rule per PR isn't needed, because we use PF VSI instead of control
> VSI now, and it's already correctly configured.
>
> Add flag to correctly set LAN_EN bit in default Tx rule. It shouldn't allow
> packet to go outside when there is a match.
>
> Reviewed-by: Marcin Szycik <[email protected]>
> Signed-off-by: Michal Swiatkowski <[email protected]>
> ---
> drivers/net/ethernet/intel/ice/ice_eswitch.c | 107 +++----------------
> drivers/net/ethernet/intel/ice/ice_repr.h | 4 -
> drivers/net/ethernet/intel/ice/ice_switch.c | 4 +
> drivers/net/ethernet/intel/ice/ice_switch.h | 5 +-
> 4 files changed, 23 insertions(+), 97 deletions(-)
>
Tested-by: Sujai Buvaneswaran <[email protected]>