]> git.droids-corp.org - dpdk.git/commit
net/mlx5: add action template management
authorSuanming Mou <suanmingm@nvidia.com>
Thu, 24 Feb 2022 13:40:43 +0000 (15:40 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Thu, 24 Feb 2022 21:10:18 +0000 (22:10 +0100)
commit836b5c9b5e0e287933964197fa38819de4de5b30
treef6599322eb5e926637cb20b4df5375829a07fc5c
parent42431df9240da9c8e30ad61dc9fb3e00b6eb0284
net/mlx5: add action template management

The action template holds a list of action types that will be
used together on the same rule. The template's actions instances
will be created only when the template bind to the dedicated
group. And the created actions will be saved to each individual
group in order for best performance. The actions in a group will
not be shared with each other unless shared actions are specified.

This commit adds the action template management which stores the
flow action template.

Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_hw.c