Performance: DPDK refactor 68/26568/17
authorPeter Mikus <pmikus@cisco.com>
Fri, 17 Apr 2020 12:38:09 +0000 (12:38 +0000)
committerPeter Mikus <pmikus@cisco.com>
Thu, 23 Apr 2020 12:36:54 +0000 (12:36 +0000)
commit54beb458703ff91e9f522f8af0a57722966f093e
tree5aa977fe9149e2d870ac87a35256783aeac60761
parent5dc176ab31af5dff73be6dd5266169a7be19dd13
Performance: DPDK refactor

+ Rework BASH scripts (more code to python).
+ Move BASH into libraries.
+ Allows RDMA usage.
+ Fix 9000B tests.
+ Rename confusing l2fwd -> testpmd.
+ Fix suite setup.
+ Fix PCI whitelist to not accidentally pickup wrong interface.
+ Fix deprecated DPDK cli arguments.

- MLX5 jumbo are disabled on NIC (i will increase separately).
  https://jenkins.fd.io/job/csit-dpdk-perf-verify-master-2n-clx/6/console (l3fwd still broken)
- MLX5 IMIX seems to be some TRex issue with IMIX for mlx5 (i will handle separately)

Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I31d1b67305fa247cb5e1f57e739d3ef30dc1a04b
30 files changed:
resources/libraries/bash/entry/cleanup_dpdk.sh [new file with mode: 0755]
resources/libraries/bash/entry/init_dpdk.sh [new file with mode: 0755]
resources/libraries/bash/entry/install_dpdk.sh [new file with mode: 0755]
resources/libraries/bash/entry/patch_l3fwd.sh [new file with mode: 0755]
resources/libraries/bash/entry/patch_l3fwd_flip_routes [moved from tests/dpdk/dpdk_scripts/patch_l3fwd_flip_routes with 100% similarity]
resources/libraries/bash/entry/run_l3fwd.sh [new file with mode: 0755]
resources/libraries/bash/entry/run_testpmd.sh [new file with mode: 0755]
resources/libraries/bash/function/dpdk.sh [new file with mode: 0644]
resources/libraries/python/Constants.py
resources/libraries/python/DPDK/DPDKTools.py
resources/libraries/python/DPDK/L2fwdTest.py [deleted file]
resources/libraries/python/DPDK/L3fwdTest.py
resources/libraries/python/DPDK/TestpmdTest.py [new file with mode: 0644]
resources/libraries/python/DpdkUtil.py
resources/libraries/python/QemuUtils.py
resources/libraries/python/autogen/Regenerator.py
resources/libraries/robot/dpdk/default.robot
resources/libraries/robot/shared/suite_setup.robot
resources/libraries/robot/shared/suite_teardown.robot
tests/dpdk/dpdk_scripts/cleanup_dpdk.sh [deleted file]
tests/dpdk/dpdk_scripts/init_dpdk.sh [deleted file]
tests/dpdk/dpdk_scripts/install_dpdk.sh [deleted file]
tests/dpdk/dpdk_scripts/patch_l3fwd.sh [deleted file]
tests/dpdk/dpdk_scripts/run_l2fwd.sh [deleted file]
tests/dpdk/dpdk_scripts/run_l3fwd.sh [deleted file]
tests/dpdk/perf/10ge2p1x710-eth-l2xcbase-testpmd-ndrpdr.robot
tests/dpdk/perf/10ge2p1x710-ethip4-ip4base-l3fwd-ndrpdr.robot
tests/dpdk/perf/2n1l-10ge2p1x710-eth-l2xcbase-testpmd-ndrpdr.robot
tests/dpdk/perf/2n1l-10ge2p1x710-ethip4-ip4base-l3fwd-ndrpdr.robot
tests/dpdk/perf/__init__.robot