]> git.feebdaed.xyz Git - 0xmirror/dpdk.git/commit
net/mlx5: improve error on completing table resize
authorDariusz Sosnowski <dsosnowski@nvidia.com>
Fri, 14 Nov 2025 19:27:12 +0000 (20:27 +0100)
committerRaslan Darawsheh <rasland@nvidia.com>
Tue, 18 Nov 2025 13:19:42 +0000 (14:19 +0100)
commitd5a82110efc70dbcff27a5f347ba0d82bab7e36e
treeea35cccf0db00f683a919af55f7b7e7f711c31d5
parent7429374afba9827a43cf2efabce14e27ccc4bdef
net/mlx5: improve error on completing table resize

If flow template table was created with resizable attribute,
then completing table resize could fail for 2 user-related reasons:

- not all flow rules were yet updated to use the resized table,
- resize was not started.

Both of these were reported with the same error message
i.e., "cannot complete table resize".

Since PMD can distinguish these 2 cases, this patch improves the error
reporting to report these 2 errors separately.

Also, this patch removes redundant __rte_unused on device parameter.

Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
Acked-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Bing Zhao <bingz@nvidia.com>
drivers/net/mlx5/mlx5_flow_hw.c