On 4/7/2021 12:48 PM, Salem Sol wrote:
From: Jiawei Wang <jiaw...@nvidia.com>

With the current code the VXLAN/NVGRE parsing routine
stored the configuration of the header on stack, this
might lead to overwriting the data on the stack.

Currently having VXLAN/NVGRE encap as sample actions
is done using RAW_ENCAP, for example:
1. set raw_encap 1 eth src.../ vxlan vni.../ ipv4.../ ...
    set sample_actions 0 raw_encap / port_id id 0 / end
    flow create 0 ... pattern eth / end actions
       sample ration 1 index 0 / jump group 1 / end

The goal is to utilize the rte_flow_action_vxlan_encap
and rte_flow_action_nvgre_encap for sample actions.

This patch prepares storing the external data of vxlan and
nvgre encap into global data as a pre-step to supporting
vxlan and nvgre encap as a sample actions.

Signed-off-by: Jiawei Wang <jiaw...@nvidia.com>

For testpmd patches in set,
Reviewed-by: Ferruh Yigit <ferruh.yi...@intel.com>

Moved Slava's ack from previous version for mlx5 patches,
Acked-by: Viacheslav Ovsiienko <viachesl...@nvidia.com>


Series applied to dpdk-next-net/main, thanks.

Reply via email to