Hello Ido,
Thanks for the detailed information.
For the query on traffic in both directions:
I tried with -p option for dns.yaml and I can see the packets are sent only from Port 0 in this case. This is really useful for my scenario.
But I see a different problem now. As per my setup/configuration TRex has to send 4K pkts to Server 2. In server 2, all the packets received from only Port 0 of TRex will be NAT-Translated and sent back to TRex on Port1.
When I sent traffic with out -p option then TRex is sending 2K packets from Port 0 and 2K packets from Port 1. Then in server 2, all the 2K packets received from Port 0 of TRex are getting NAT-Translated and sent back to TRex. This is fine and works as expected.
But when I sent traffic with -p option, this time TRex sent all the 4K pkts from Port 0 of TRex, Server 2 has received all the 4K packets but again only 2K are getting NAT-Translated. This is not clear for me because here I expect all the 4K packets to be NAT-Translated.
So I am not sure whether the 2K pkts sent from Port 0 in first scenario and the 4K pkts sent from Port 0 in second scenario follows the same method/pattern for packet generation???
is the packet generation is independent of the ports that will be used for sending? OR it will generate the pkts for port 0 and port 1 differently(I mean by using some parameters for generating for Port 0 and some other parameters for generating for Port1)
if it generates the pkts differently for Port 0 and Port 1, then with -p option also it generates the pkts differently for port 0 and port 1 and at the end it send all those packets from port 0??
For the query on --rx-check:
Yes, with -l 1 option I can see only minimum additional packets being sent.
But in my test I am seeing any values (other 0) in the Rx Check stats....
summary stats
--------------
Total-tx-pkt : 4042 pkts
Total-rx-pkt : 1986 pkts
Total-sw-tx-pkt : 44 pkts
-Rx Check stats enabled
------------------------------------------------------------------------------------------------------------
rx check: avg/max/jitter latency, 0 , 0, 0 | 0 0 0 0 0 0 0 0 0 0 0 0 0
---
active flows: 0, fif: 0, drop: 0, errors: 0
------------------------------------------------------------------------------------------------------------
Am I missing something here? could you please update what's the expected details if we enable rx-check.
Thanks
Vasanth