RE: [Intel-wired-lan] [PATCH iwl-next v4 2/7] ice: allow creating mac, vlan filters along mac filters
From: Romanowski, Rafal
Date: Mon Mar 02 2026 - 12:37:34 EST
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of Jakub
> Slepecki
> Sent: Wednesday, February 4, 2026 4:44 PM
> To: intel-wired-lan@xxxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; Kitszel, Przemyslaw
> <przemyslaw.kitszel@xxxxxxxxx>; Nguyen, Anthony L
> <anthony.l.nguyen@xxxxxxxxx>; michal.swiatkowski@xxxxxxxxxxxxxxx; Slepecki,
> Jakub <jakub.slepecki@xxxxxxxxx>; Loktionov, Aleksandr
> <aleksandr.loktionov@xxxxxxxxx>
> Subject: [Intel-wired-lan] [PATCH iwl-next v4 2/7] ice: allow creating mac, vlan
> filters along mac filters
>
> Among other uses, MAC filters are currently used to forward loopback traffic
> between VSIs. However, they only match destination MAC addresses making
> them prone to mistakes when handling traffic within multiple VLANs and
> especially across the boundaries.
>
> Allows the driver to create MAC,VLAN filters in the same flow as MAC-only filters
> completely interchangeably. This is intended to be used to forward the loopback
> traffic only within the boundaries of particular VLANs.
>
> Reviewed-by: Michal Swiatkowski <michal.swiatkowski@xxxxxxxxxxxxxxx>
> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@xxxxxxxxx>
> Signed-off-by: Jakub Slepecki <jakub.slepecki@xxxxxxxxx>
>
> ---
> No changes in v4.
> No changes in v3.
> No changes in v2.
> ---
> drivers/net/ethernet/intel/ice/ice_switch.c | 48 ++++++++++++++++-----
> 1 file changed, 38 insertions(+), 10 deletions(-)
>
> diff --git a/drivers/net/ethernet/intel/ice/ice_switch.c
> b/drivers/net/ethernet/intel/ice/ice_switch.c
> index 84848f0123e7..0275e2910c6b 100644
> --- a/drivers/net/ethernet/intel/ice/ice_switch.c
> +++ b/drivers/net/ethernet/intel/ice/ice_switch.c
> @@ -3606,6 +3606,29 @@ bool ice_vlan_fltr_exist(struct ice_hw *hw, u16
> vlan_id, u16 vsi_handle)
Tested-by: Rafal Romanowski <rafal.romanowski@xxxxxxxxx>