net/mlx5: add caching of encap/decap actions