]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix placement of log_max_flow_counter
authorRaed Salem <raeds@nvidia.com>
Thu, 21 Jan 2021 14:01:37 +0000 (16:01 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 7 Apr 2021 04:04:35 +0000 (21:04 -0700)
commita14587dfc5ad2312dabdd42a610d80ecd0dc8bea
tree25abab46f31fb6b53170c34df42f308300ef0120
parent1a73704c82ed4ee95532ac04645d02075bd1ce3d
net/mlx5: Fix placement of log_max_flow_counter

The cited commit wrongly placed log_max_flow_counter field of
mlx5_ifc_flow_table_prop_layout_bits, align it to the HW spec intended
placement.

Fixes: 16f1c5bb3ed7 ("net/mlx5: Check device capability for maximum flow counters")
Signed-off-by: Raed Salem <raeds@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
include/linux/mlx5/mlx5_ifc.h