[3/3] app/testpmd: add port representor as sample destination

Message ID 20231017004401.698745-4-suanmingm@nvidia.com (mailing list archive)
State Superseded, archived
Delegated to: Raslan Darawsheh
Headers
Series net/mlx5: add port representor destination to mirror |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation warning apply issues

Commit Message

Suanming Mou Oct. 17, 2023, 12:44 a.m. UTC
  This commit adds the missing port representor support as sample
destination.

Signed-off-by: Suanming Mou <suanmingm@nvidia.com>
---
 app/test-pmd/cmdline_flow.c | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 6c8571154e..0d521159e9 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -2472,6 +2472,7 @@  static const enum index next_action_sample[] = {
 	ACTION_VXLAN_ENCAP,
 	ACTION_NVGRE_ENCAP,
 	ACTION_REPRESENTED_PORT,
+	ACTION_PORT_REPRESENTOR,
 	ACTION_NEXT,
 	ZERO,
 };