summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRabie Loulou <rabiel@mellanox.com>2017-07-10 14:35:10 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-08-07 10:47:07 +0300
commit61690e09c3b4a40401bdaa89ee11522cc0dc4b11 (patch)
treeb680e71379e993cfd724343ebf06d9c9db2e72fe /include
parent97834eba7c194659a72c5bb0f8c19c7055bb69ea (diff)
downloadlinux-61690e09c3b4a40401bdaa89ee11522cc0dc4b11.tar.gz
linux-61690e09c3b4a40401bdaa89ee11522cc0dc4b11.tar.bz2
linux-61690e09c3b4a40401bdaa89ee11522cc0dc4b11.zip
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: a351a1b03bf1 ("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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mlx5/mlx5_ifc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index 3030121b4746..f847a3a57913 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -1071,8 +1071,7 @@ struct mlx5_ifc_dest_format_struct_bits {
};
struct mlx5_ifc_flow_counter_list_bits {
- u8 clear[0x1];
- u8 num_of_counters[0xf];
+ u8 reserved_at_0[0x10];
u8 flow_counter_id[0x10];
u8 reserved_at_20[0x20];