fix(stl_traffic): track both ports on unidir 25/36425/4
authorVratko Polak <vrpolak@cisco.com>
Mon, 13 Jun 2022 12:44:15 +0000 (14:44 +0200)
committerVratko Polak <vrpolak@cisco.com>
Tue, 14 Jun 2022 12:24:33 +0000 (12:24 +0000)
commit040beb95cc90202ef57de83ce5346e1c55569b4f
treef6cc6eddb2c63ef5553658705d8728c5f6e5ca4a
parent1b97d7088f4db702b05c0fd4cbc02a52c97e4529
fix(stl_traffic): track both ports on unidir

Even if the suite asks for unidirectional stateless traffic,
in some circumstances (e.g. reconf tests)
stats from both ports are needed to determine overall loss.
Enabling both ports unconditionally fixes that
without any negative consequences.

Latency info is still gathered only for one direction in unidir tests.

Change-Id: Ifec6603d6103c9981fc0af02a81b0db215ccb77c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
GPL/tools/trex/trex_astf_profile.py
GPL/tools/trex/trex_stl_profile.py