pipeline: add table action for packet decap
authorCristian Dumitrescu <cristian.dumitrescu@intel.com>
Wed, 10 Oct 2018 10:28:06 +0000 (11:28 +0100)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Fri, 12 Oct 2018 17:33:34 +0000 (19:33 +0200)
commit196eae61487ca083ba4e98f996f0f70bc311bf2a
treed4d442cee23967ef0e2914d5d49b6a0d445f19b7
parent974a48d42b430db0873616aca8ca495acca3b5ee
pipeline: add table action for packet decap

This patch introduces a new table action for packet decapsulation
which removes n bytes from the start of the input packet. The n
is read from the current table entry. The following mbuf fields
are updated by the action: data_off, data_len, pkt_len.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
lib/librte_pipeline/rte_table_action.c
lib/librte_pipeline/rte_table_action.h