On Mon, Jan 12, 2026 at 11:24:35AM +0200, Maayan Kashani wrote:
> SWS (software steering) will be disabled on future hardware generations.
> This fix should check for SWS capability bits and return relevant error.
> Update the defaults for the dv_flow_en and allow_duplicate_pattern
> devargs accordingly.
> 
> - Default dv_flow_en devarg value will be chosen based on whether
>   NIC supports SW steering and/or HW steering.
> - If DV flow is not supported and allow_duplicate_pattern is
>   set by the user, forcibly disable it and emit a clear log message.
> 
> This change improves reliability by ensuring only valid
> configurations are applied, and provides clear feedback to
> the user when fallbacks are triggered.
> 
> Fixes: 1b55eeb7b76f ("common/mlx5: add ConnectX-9 SuperNIC")
> Cc: [email protected]
> 
> Signed-off-by: Maayan Kashani <[email protected]>

Acked-by: Dariusz Sosnowski <[email protected]>

Best regards,
Dariusz Sosnowski

Reply via email to