port: configure loop count for source port
authorYogesh Jangra <yogesh.jangra@intel.com>
Fri, 17 Sep 2021 10:32:05 +0000 (06:32 -0400)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 25 Oct 2021 12:30:32 +0000 (14:30 +0200)
commit0317c4521d936d77e03d94abb031171a4df8dee4
treebd217663650fa6cc4f02736246bbc485dabf7e0e
parent55095ccb7fdda113186e3191760a5cf0b0e8d28d
port: configure loop count for source port

Add support for configurable number of loops through the input PCAP
file for the source port. Added an additional parameter to source
port CLI command.

Signed-off-by: Yogesh Jangra <yogesh.jangra@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/pipeline/cli.c
examples/pipeline/examples/l2fwd_macswp_pcap.cli
examples/pipeline/examples/l2fwd_pcap.cli
examples/pipeline/examples/vxlan_pcap.cli
lib/port/rte_swx_port_source_sink.c
lib/port/rte_swx_port_source_sink.h