app/testpmd: fix txonly flow generation entropy
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Sun, 9 Feb 2020 17:02:39 +0000 (17:02 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 14 Feb 2020 11:42:12 +0000 (12:42 +0100)
commit0eb89ba9f49f3f5979a974b9208100eed36c382e
treeb18f3108d082f171c29f8daa3b462a51d795118e
parente07e2ca9e565ebb6fa7c70e3b9718046a011cc7a
app/testpmd: fix txonly flow generation entropy

The testpmd application in txonly forwarding mode has an option
to generate the packet flows by varying the destination IP address.
The patch increments the IP for each packet sent, this improves
the entropy and RSS distribution on the peer receiving size
is getting more uniform.

Fixes: 01b645dcff7f ("app/testpmd: move txonly prepare in separate function")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/txonly.c