Skip to content

Commit 61690e0

Browse files
Rabie LoulouSaeed Mahameed
authored andcommitted
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: a351a1b ("net/mlx5: Introduce bulk reading of flow counters") Signed-off-by: Rabie Loulou <rabiel@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
1 parent 97834eb commit 61690e0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/linux/mlx5/mlx5_ifc.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,8 +1071,7 @@ struct mlx5_ifc_dest_format_struct_bits {
10711071
};
10721072

10731073
struct mlx5_ifc_flow_counter_list_bits {
1074-
u8 clear[0x1];
1075-
u8 num_of_counters[0xf];
1074+
u8 reserved_at_0[0x10];
10761075
u8 flow_counter_id[0x10];
10771076

10781077
u8 reserved_at_20[0x20];

0 commit comments

Comments
 (0)