Added support for IMIX through config and command line 88/69488/5
authorXavier Simonart <xavier.simonart@intel.com>
Fri, 3 Jan 2020 02:09:19 +0000 (03:09 +0100)
committerXavier Simonart <xavier.simonart@intel.com>
Fri, 29 May 2020 21:41:49 +0000 (23:41 +0200)
commit7c4601f23c526b14a67674782b303663dfaa95af
tree51915ce3a919e03b67dbcc4c4dafa70bbd358eab
parentc61fccde40dc6bb4a6ecd21c9d6dc8969df33400
Added support for IMIX through config and command line

In Prox configuration IMIX can be specified using the following syntax:
imix=pkt_size,pkt_size... Up to 127 different pkt sizes can be specified.

Through command line, the following syntax can be used
imix core_id task_id pkt_size,pkt_size... Up to 127 packet sizes can be specified.

When IMIX is enabled, PROX will loop through the list of packet sizes.

PROX supports two different submodes to handle pcap files.
In the 1st submode (default, no submode specified), timestamps from
the pcap file are ignored. In this submode IMIX is supported as well and each
packets in the pcap file will be generated with all IMIX sizes.

In the second submode, called pcap in gen mode, packets are generated at
the timestamp specified in the pcap file. This submode does not support IMIX.

Change-Id: I53cbf1378a5364254285b81e6848350d98561184
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
VNFs/DPPD-PROX/cmd_parser.c
VNFs/DPPD-PROX/defaults.h
VNFs/DPPD-PROX/handle_gen.c
VNFs/DPPD-PROX/handle_gen.h
VNFs/DPPD-PROX/log.c
VNFs/DPPD-PROX/log.h
VNFs/DPPD-PROX/prox_args.c
VNFs/DPPD-PROX/task_init.h