net/mlx5: add caching of encap/decap actions
authorDekel Peled <dekelp@mellanox.com>
Thu, 1 Nov 2018 09:37:33 +0000 (11:37 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Nov 2018 14:01:25 +0000 (15:01 +0100)
commitc513f05cdedbf0e63de1c7ed4dc744e599e58d2c
treea57c77f664abcb3bbeda014571a240e6a751a581
parent8ba9eee4ce323219d39ce976e081aa4a70519cca
net/mlx5: add caching of encap/decap actions

Make flow encap and decap Verbs actions cacheable resources.
Store created actions in local database.
This enables MLX5 PMD reuse of existing actions.

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_flow.h
drivers/net/mlx5/mlx5_flow_dv.c