]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Apr 2021 09:57:50 +0000 (11:57 +0200)
commit9def0f437728cead6411e3c692b4d5a0d486e2ce
tree248c7f660c8708a655bbed2789794fd499134bb6
parent4dea7a1bd412311b96bce42614bb4dddce20ddcb
net/mlx5: Fix placement of log_max_flow_counter

[ Upstream commit a14587dfc5ad2312dabdd42a610d80ecd0dc8bea ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/mlx5/mlx5_ifc.h