d51bd274b0
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@nvidia.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com> |
||
---|---|---|
.. | ||
5tswap.c | ||
bpf_cmd.c | ||
bpf_cmd.h | ||
cmdline_flow.c | ||
cmdline_mtr.c | ||
cmdline_mtr.h | ||
cmdline_tm.c | ||
cmdline_tm.h | ||
cmdline.c | ||
config.c | ||
csumonly.c | ||
flowgen.c | ||
icmpecho.c | ||
ieee1588fwd.c | ||
iofwd.c | ||
macfwd.c | ||
macswap_common.h | ||
macswap_neon.h | ||
macswap_sse.h | ||
macswap.c | ||
macswap.h | ||
meson.build | ||
noisy_vnf.c | ||
parameters.c | ||
rxonly.c | ||
testpmd.c | ||
testpmd.h | ||
txonly.c | ||
util.c |