[PATCH v1 07/12] net/ice/base: allow overriding recipe ID

Bruce Richardson bruce.richardson at intel.com
Fri Sep 5 17:15:02 CEST 2025


On Tue, Sep 02, 2025 at 06:26:57PM +0100, Anatoly Burakov wrote:
> From: Pandi Kumar Maharajan <pandi.maharajan at intel.com>
> 
> With the addition of double VLAN mode on the device, the MAC VLAN filter
> add rule was previously matching only the inner VLAN, rather than the
> intended outer VLAN. This patch resolves the issue by introducing a new
> software recipe ID as part of ice_fltr_info, allowing the base code to
> send the newly created recipe ID. This ensures that the filter correctly
> matches the outer VLAN when processing packets. Issue is observed in ESXi
> environment but this patch introduces a generic solution for all
> operating systems by adding a rid_override flag. If the base driver needs
> to use a recipe ID different from the shared code default, it can set the
> rid variable and enable the rid_override flag. This instructs the shared
> code to use the specified rid instead of the default value.
> 
> Signed-off-by: Pandi Kumar Maharajan <pandi.maharajan at intel.com>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
>  drivers/net/intel/ice/base/ice_switch.c | 6 +++++-
>  drivers/net/intel/ice/base/ice_switch.h | 4 ++++
>  2 files changed, 9 insertions(+), 1 deletion(-)
> 
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list