net/mlx5: Use mlx5 device constant for selecting CQ period mode for ASO
authorRahul Rameshbabu <rrameshbabu@nvidia.com>
Tue, 28 Nov 2023 22:01:54 +0000 (14:01 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 24 Jan 2024 08:15:37 +0000 (00:15 -0800)
commit20cbf8cbb827094197f3b17db60d71449415db1e
tree6d8a7644c253d12d881f935fe2b021b582e68e74
parent5b2a2523eeea5f03d39a9d1ff1bad2e9f8eb98d2
net/mlx5: Use mlx5 device constant for selecting CQ period mode for ASO

mlx5 devices have specific constants for choosing the CQ period mode. These
constants do not have to match the constants used by the kernel software
API for DIM period mode selection.

Fixes: cdd04f4d4d71 ("net/mlx5: Add support to create SQ and CQ for ASO")
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Reviewed-by: Jianbo Liu <jianbol@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/aso.c