[dpdk-dev] [PATCH] net/mlx5: remove redundant size calculation macro
shahafs at mellanox.com
Sun May 26 21:23:19 CEST 2019
From: Dekel Peled <dekelp at mellanox.com>
>Patch  added, among other definitions, the macro MLX5_ST_SZ_DB.
>Patch  added later the macro MLX5_ST_SZ_BYTES, which is exactly
>the same macro with a different name.
>Each of these macros was used in very few places.
>This patch removes the definition of MLX5_ST_SZ_DB, and replaces it
>with MLX5_ST_SZ_BYTES wherever it was used.
>Macro MLX5_ST_SZ_BYTES was preffered since it is the same macro
>name used in kernel code, see .
>Signed-off-by: Dekel Peled <dekelp at mellanox.com>
Applied to next-net-mlx, thanks.
More information about the dev