History

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.

Roi Dayan committed 7 years ago

Commit 6dfef391 parent 6f3ef5c1 file · +1 −2Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/mlx5/mlx5_ifc.h+1−2
@@ -1545,9 +1545,8 @@ struct mlx5_ifc_extended_dest_format_bits { · 1544 unmodified lines
15451545 };
15461546
15471547 union mlx5_ifc_dest_format_struct_flow_counter_list_auto_bits {
1548− struct mlx5_ifc_dest_format_struct_bits dest_format_struct;
1548+ struct mlx5_ifc_extended_dest_format_bits extended_dest_format;
15491549 struct mlx5_ifc_flow_counter_list_bits flow_counter_list;
1550− u8 reserved_at_0[0x40];
15511550 };
15521551
15531552 struct mlx5_ifc_fte_match_param_bits {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t