]> git.feebdaed.xyz Git - 0xmirror/dpdk.git/commit
net/mlx5: update flow devargs handling for future HW
authorMaayan Kashani <mkashani@nvidia.com>
Thu, 6 Nov 2025 08:38:17 +0000 (10:38 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Tue, 18 Nov 2025 11:33:58 +0000 (12:33 +0100)
commitd1ac7b6c64d987006891fcf35a13c05cf2b05d62
tree29f87121030becb5ee2e29e23bf08179dedb9d71
parent53fdc237df139bd439293b6dcfa09b9bf9b791b4
net/mlx5: update flow devargs handling for future HW

SWS (software steering) will be disabled on future hardware generations.
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.

Signed-off-by: Maayan Kashani <mkashani@nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
doc/guides/nics/mlx5.rst
drivers/net/mlx5/mlx5.c