提交 61690e09 编写于 作者: R Rabie Loulou 提交者: 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: NRabie Loulou <rabiel@mellanox.com>
Reviewed-by: NOr Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册