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
155155
156156 struct {
157157 int max_num_groups;
158+ int num_reserved_entries;
158159 } autogroup;
159160 };
160161