On Tue, Sep 02, 2025 at 06:26:52PM +0100, Anatoly Burakov wrote:
> From: Shaiq Wani <[email protected]>
>
> The function ice_add_special_words() is meant to add special words (such
> as traffic direction) to the rule. The function that
> interprets/translates these additional words is ice_get_sw_fv_list().
>
> However, the ice_get_sw_fv_list() is called *before*
> ice_add_special_words(), so the "special" words weren't added at that
> point yet, hence they're not translated. This results in the driver
> ignoring whatever special words that were added. The fix is to call
> ice_get_sw_fv_list() *after* ice_add_special_words().
>
> Fixes: ed3066a3b1b0 ("net/ice/base: refactor DDP code")
> Cc: [email protected]
>
> Signed-off-by: Jeff Shaw <[email protected]>
> Signed-off-by: Shaiq Wani <[email protected]>
> Signed-off-by: Anatoly Burakov <[email protected]>
> ---
> drivers/net/intel/ice/base/ice_switch.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
Acked-by: Bruce Richardson <[email protected]>