]> git.droids-corp.org - dpdk.git/commit
app/testpmd: fix flow rule with flex input link
authorGregory Etelson <getelson@nvidia.com>
Thu, 10 Mar 2022 05:59:53 +0000 (07:59 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 14 Mar 2022 21:21:07 +0000 (22:21 +0100)
commitfc547a92cf945abd9b4878aebe8392089804e279
treefaf44d5f06141ac267700068e9d640d237867a6c
parenta058de216ceb6581dac213d7a37d9fb9fad05a9b
app/testpmd: fix flow rule with flex input link

Testpmd reads flex item configuration from a JSON file.
Flex item input link description is stored in testpmd
flow item format. For example, `eth type is 0x0800`.
The item description is placed into a general testpmd CLI
flow rule command template and parsed to convert string into
flow item object.

The patch adds the `actions` section to the flow rule template.

Fixes: 59f3a8acbcdb ("app/testpmd: add flex item commands")
Cc: stable@dpdk.org
Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
app/test-pmd/cmd_flex_item.c