History

net/mlx5: Allow creating autogroups with reserved entries

Exclude the last n entries for an autogrouped flow table. Reserving entries at the end of the FT will ensure that this FG will be the last to be evaluated. This will be used in the next patch to create a miss group enabling custom actions on FT miss.

Paul Blakey committed 7 years ago

Commit 79cdb0a1 parent ff189b43 files · +19 −9Browse files

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

Unified · Split

include/linux/mlx5/fs.h+1−0
@@ -155,6 +155,7 @@ struct mlx5_flow_table_attr { · 154 unmodified lines
155 155
156 struct {156 struct {
157 int max_num_groups;157 int max_num_groups;
158 int num_reserved_entries;
158 } autogroup;159 } autogroup;
159};160};
160 161