[dpdk-dev] [v5 1/6] app/testpmd: prepare storing VXLAN/NVGRE encap data globally
Ferruh Yigit
ferruh.yigit at intel.com
Thu Apr 8 01:13:32 CEST 2021
On 4/7/2021 12:48 PM, Salem Sol wrote:
> From: Jiawei Wang <jiaweiw at 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 <jiaweiw at nvidia.com>
For testpmd patches in set,
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Moved Slava's ack from previous version for mlx5 patches,
Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
Series applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list