aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoi Dayan <roid@mellanox.com>2019-09-11 14:44:50 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-10-29 16:27:17 -0700
commit6dfef396ea13873ae9066ee2e0ad6ee364031fe2 (patch)
treef5eb2a30c00b6a31d335b5e49cd29315a1ec82ac /include
parentwimax: i2400: Fix memory leak in i2400m_op_rfkill_sw_toggle (diff)
downloadlinux-dev-6dfef396ea13873ae9066ee2e0ad6ee364031fe2.tar.xz
linux-dev-6dfef396ea13873ae9066ee2e0ad6ee364031fe2.zip
net/mlx5: Fix flow counter list auto bits struct
The union should contain the extended dest and counter list. Remove the resevered 0x40 bits which is redundant. This change doesn't break any functionally. Everything works today because the code in fs_cmd.c is using the correct structs if extended dest or the basic dest. Fixes: 1b115498598f ("net/mlx5: Introduce extended destination fields") Signed-off-by: Roi Dayan <roid@mellanox.com> Reviewed-by: Mark Bloch <markb@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 138c50d5a353..0836fe232f97 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -1545,9 +1545,8 @@ struct mlx5_ifc_extended_dest_format_bits {
};
union mlx5_ifc_dest_format_struct_flow_counter_list_auto_bits {
- struct mlx5_ifc_dest_format_struct_bits dest_format_struct;
+ struct mlx5_ifc_extended_dest_format_bits extended_dest_format;
struct mlx5_ifc_flow_counter_list_bits flow_counter_list;
- u8 reserved_at_0[0x40];
};
struct mlx5_ifc_fte_match_param_bits {