app/testpmd: support GENEVE header option length
authorViacheslav Ovsiienko <viacheslavo@nvidia.com>
Sun, 17 Jan 2021 10:21:17 +0000 (12:21 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 02:30:15 +0000 (03:30 +0100)
commitc68ad62f76f8a4285be90b2955fdfc9d57bef15b
tree58b77e4f79905969f3c43b718abb63ca08f47d17
parent55c074f3ba1d362dbda38417fe330557f22db6cf
app/testpmd: support GENEVE header option length

The patch adds the GENEVE rte flow option length support to
command line interpreter. The flow command with GENEVE
option items looks like:

    flow create 0 ingress pattern eth / ipv4 / udp / geneve vni
    is 100 optlen is 2 / end actions drop / end

The option length should be specified in 32-bit words, this
value specifies the all options length in the GENEVE header.

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
app/test-pmd/cmdline_flow.c