Commit 61690e09 authored by Rabie Loulou's avatar Rabie Loulou Committed by Saeed Mahameed

net/mlx5: Fix counter list hardware structure

The counter list hardware structure doesn't contain a clear and
num_of_counters fields, remove them.

These wrong fields were never used by the driver hence no other driver
changes.

Fixes: a351a1b0 ("net/mlx5: Introduce bulk reading of flow counters")
Signed-off-by: default avatarRabie Loulou <rabiel@mellanox.com>
Reviewed-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 97834eba
...@@ -1071,8 +1071,7 @@ struct mlx5_ifc_dest_format_struct_bits { ...@@ -1071,8 +1071,7 @@ struct mlx5_ifc_dest_format_struct_bits {
}; };
struct mlx5_ifc_flow_counter_list_bits { struct mlx5_ifc_flow_counter_list_bits {
u8 clear[0x1]; u8 reserved_at_0[0x10];
u8 num_of_counters[0xf];
u8 flow_counter_id[0x10]; u8 flow_counter_id[0x10];
u8 reserved_at_20[0x20]; u8 reserved_at_20[0x20];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment