aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
AgeCommit message (Collapse)AuthorFilesLines
2025-02-20feat(core): octeon plugin introductionPeter Mikus3-5/+111
Signed-off-by: Peter Mikus <peter.mikus@icloud.com> Change-Id: I9f1193894e531a6eb946bef116d65788abb3de31
2025-02-17feat(core): Infra model conditionPeter Mikus2-14/+18
Signed-off-by: Peter Mikus <peter.mikus@icloud.com> Change-Id: I7a367a152d46bb7a165428dbfc931d7063f3757a
2025-02-13feat(core): Unify topology filesPeter Mikus1-187/+122
Signed-off-by: Peter Mikus <peter.mikus@icloud.com> Change-Id: I2acd9ecbe0f62e1909ff0984670bfdd0fd90173f
2025-02-11fix(constants): Add Cavium to dpdk driver listVratko Polak1-0/+4
Change-Id: Ia20fff226c0260987c785aa2887ec78466e3727d Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2025-02-11feat(infra): 3n-octPeter Mikus2-0/+68
Signed-off-by: Peter Mikus <peter.mikus@icloud.com> Change-Id: Ia5b4dff2aaf5b7baa88f85448616c59e51816873
2025-02-06fix(core): Remove CX556A from testpmd checkPeter Mikus1-0/+2
Signed-off-by: Peter Mikus <peter.mikus@icloud.com> Change-Id: If35259cc0a333249305de4865bf5a1b602555fe7
2025-02-05fix(hoststack): Base ldpreload path on CPU archVratko Polak2-9/+34
Without this, Nginx drop all packets on 2n-grc. + Also fix iperf3, even though we do not have working 3n ARM testbed. - If something else breaks Nginx, failed requests still count as real. Change-Id: Ib8d13986d2d58aaf3f63e70152bec45b303475f0 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2025-01-31fix(core): VPP startup sequencePeter Mikus4-8/+3
Signed-off-by: Peter Mikus <peter.mikus@icloud.com> Change-Id: I37899c45bf8d87f24cb67cdd120837a833955a3b
2025-01-28fix(dpdk): EAL paramsPeter Mikus4-68/+74
Signed-off-by: Peter Mikus <peter.mikus@icloud.com> Change-Id: I47280deb55e200ac4bda9e74b158aa04369648b7
2025-01-23feat(infra): DPDK 24.11.1Peter Mikus1-1/+1
Signed-off-by: Peter Mikus <peter.mikus@icloud.com> Change-Id: Ic935ddf79d06b9d8f1df329bf0e4485ee2d646cf
2025-01-14feat(avf): Migrate to plugins/dev_iavfVratko Polak2-23/+35
Change-Id: I4f4f17560f4c65a8f308e1f394207b7cec474b96 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2025-01-09fix(iputil): Do not use -e option for awkVratko Polak1-3/+3
Probably another consequence of ubuntu2404 migration. Nginx tests were failing (indirectly) due to "awk -e" failing. Change-Id: I23ebc86de55e5301727f34c1337ed163ead1506c Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2025-01-08fix(core): Container startupPeter Mikus1-2/+1
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I95dcc11d25f5dc3cf395f6d69dc4e04d7653f7f2
2025-01-05fix(telemetry): fix perfmon issues on ArmJay Wang1-2/+7
To enable perfmon plugin on AArch64, users have to set kernel/perf_user_access to 1 to allow userspace applications to directly access PMU counters. Additionally, replace bundle cache-hierarchy with bundle cache-data as it is the correct bundle name on AArch64. Signed-off-by: Jay Wang <jay.wang2@arm.com> Change-Id: I67b86e255c8e62d3672a8f52db88eed3daf6ff59
2024-12-12fix(dpdk): Increase build timeoutVratko Polak1-4/+4
DPDK 24.07 takes almost 50 minutes to build on 3n-snr, DPDK 24.11 takes around 65 minutes, so this increases the timeout to 90 minutes. Change-Id: I90477d85bcc65410cce30d0862444924e65e0804 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-12-10fix(infra): Varius issuesPeter Mikus1-1/+2
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I9c5899deba994b8683f7cc0596ebb2d59a611f8e
2024-12-05fix(core): IPutilPeter Mikus1-3/+7
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Ie4a61ade1da312ddab078411c8a7db3ba59393f3
2024-12-05fix(gso): Repair linux interface name detectionVratko Polak1-8/+4
+ Set GSO_FALSE tag on non-gso suite. Change-Id: I32b6ff2f492a0dd8f2fe47ef5435c8d0e3318406 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-12-05fix(core): remove lshw dependencyPeter Mikus1-16/+7
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I14143394ed6637db183a2fcc9b91e3c7fc8e0037
2024-11-27fix(pylint): Escape backslash properlyVratko Polak2-3/+3
When backslach is used to escape Robot dollar or docstring asterisk, and the backslash is in normal (not raw) Python (doc)string, the backslash itself needs to be escaped by a second backslash. The old code happened to work well enough, but now it leads to a loud SyntaxWarning in console log, so it is worth fixing faster than other pylint violations. Change-Id: Id36fa0a393267f2cdced1229a30eaff8357c4ac4 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-11-27feat(infra): Docker image 24.04Peter Mikus1-2/+2
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I10cab20174610016d2cc87ccb884074057b1cd93
2024-11-26feat(crc): Bump messages after 24.10 releaseVratko Polak1-5/+8
+ Add option to skip mfib table creation, not used yet. - Comments mentioning device tests not updated, TODO added instead. Change-Id: I1dc24c0ba3e9f04bfe4fc139af680301dd15ae53 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-11-25feat(dma): Add show dma as test teardownVratko Polak1-1/+12
Add the teardown to memif and nginx tests, for memif it needs to be before "container" teardown. Change-Id: I142b76d3e47554d3a8050e04b9598592b43f22c1 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-10-29feat(ansible): Remove python_envPeter Mikus1-1/+1
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Id03fd5fa6cdf9694dc59fb671519e703a8bb8591
2024-10-28feat(core): Remove PIP installation from CSITPeter Mikus1-6/+1
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I67f6ba64c445af361ebd8a8bf9a4cd0d001b239b
2024-10-28fix(core): Ubuntu 24.04Peter Mikus1-2/+4
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: If7e33a924ad347eb9396609010acf763b3a71f15
2024-09-03feat(infra): Remove CLX,TX2,TSHpmikus1-9/+0
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I6b62a20259674ddf5550cce480ccbba3dbd0f259
2024-08-30fix(trex): do not match substringoper-240902Vratko Polak1-1/+1
Fixes: d78103b24d3bd68f3bd390fa527924bbb1019a23 Change-Id: I098752553ed34c6fef0cf4eed61662b78c8fd97c Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-08-23feat(trex): External configurationpmikus1-6/+8
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Ic566c755ba375173aa129f377f31e726d42a666e
2024-08-09fix(papi): do not check client in asyncVratko Polak1-1/+3
This is primarily to avoid excessive logging in scenarios with multiple get_replies (not just .add) per session. Change-Id: Ic5b1c295965cd8d32c71a7851ec7823568483b06 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-08-07fix(papi): Do not check CRC on NoneVratko Polak1-0/+4
None can happen when VPP crashes (and pipe is not detected as broken yet) or stalls. Avoid CRC check in that case, raise early with error message. Change-Id: I15a957420320affd72dbd99fa48c309b28f0511a Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-07-26feat(TGen): Include reason on TRex errorVratko Polak1-3/+3
This adds noise to console output, but prevents other possible bugs from looking just like CSIT-1936. Ticket: CSIT-1936 Change-Id: If30c59a96ebd9cec6aea40ca820b775d5f3548c6 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-07-26fix(container): Remove obsolete LXC optionVratko Polak1-2/+1
CSIT-1944 Change-Id: I0f763369acc560a5ab2d9db28fc25f20b1c5ffe7 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-07-19fix(api): Remove support for old behaviorsVratko Polak1-7/+1
The 2406 cycle did not upgrade any messages used by CSIT. But there were few workarounds in CSIT code to accomodate vehavior of older VPP builds. Two removed. One (re PAPI) stays, as that needs more testing. Change-Id: I0595cf1d8b9d9ea80113f59130cbbdf00a249157 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-06-28fix(core): VPP Initialisation issue on MLX.oper-240701pmikus1-1/+1
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I2113e5e2067e13465ee1fedc6a2ba1c5bc1d7254
2024-06-25fix(core): typopmikus1-1/+1
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I8ae87a8ee350cfe601a9deab2f115b75d26bd02a
2024-06-25feat(core): Add option to disable sriov checkpmikus1-1/+7
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ie8dbdf8b231dcbbbf2c90ad0f16d6b48fbdd8c5c
2024-06-18fix(trex): Add MTUpmikus2-1/+14
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I91a3136a29192fb25ec4845e0924b96977f591f5
2024-06-12feat(multi): Multiple VPP instancespmikus1-17/+65
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I28f2752f725c9816a557667033bf7d656fb0d414
2024-05-31feat(ipsec): Add suites for more algsVratko Polak2-11/+87
+ Add suite with UDP encap. + Add suite with anti replay enabled. + Add new enums where needed by the new suites. + Apply trimming in enum_util to support "3DES". + All 10ktnl suites written and tested. + New robot tags added. + Fix one comment from the parent. Change-Id: I2581814dbb327891d8658dd009c4e52ffd318e3b Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-05-31feat(jobspecs): Add more soak testsVratko Polak1-3/+0
+ Add l2xcbase. + Add 200k scale, both ip4 and ip6. + Test 200k and l2bdmaclearn also on: + Primary NIC with secondary driver. + Secondary NIC and its primary driver. + Add 1518B memif test cases, for 2n-spr also with DMA (including 64B). + This needed an edit in autogen. + Switch crypto tests to drv_vfio_pci as AVF has bad RSS on those. + Add two SRv6 cases to 3n-icx as it does not support hwasync crypto. + Repair name of UDP ASTF tests. Change-Id: I91e20ec80dc4984c55d39b5f5ad38f26b48da33e Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-05-31feat(hoststack): Enable L4 checksum RX offloadVratko Polak1-0/+5
As hoststack is never tested in container/VM (yet), configuration there does not check the new flag. Change-Id: Icac4837efcf035cad0f1e126e1bf90811aba16b2 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-05-31style(jumbo): Unify naming of jumbo flagVratko Polak5-44/+44
Previously, the flag was sometimes called "jumbo", sometimes "jumbo_frames". As we never use "jumbo" for things other than frame size, unify the flag to "jumbo". Change-Id: Ib688389799a4550ac9f51375f4defc06a02e6f03 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-05-31Revert "feat(hoststack): Enable L4 checksum RX offload"Peter Mikus4-10/+2
This reverts commit 4e897a7a91e8b4782da05a4c906392e62c8f8ab5. Reason for revert: Container/Qemu is not conditioned. Change-Id: I497caa2db24803f40811b3c60c359b4772cacda7 Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch>
2024-05-30feat(hoststack): Enable L4 checksum RX offloadVratko Polak4-2/+10
Change-Id: I169b06433ae962811aafa91ce90fe169b0bc4c71 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-05-29fix(core): AWS interface initializationpmikus1-5/+55
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I3ef110e8fec2fa8abafead1392a1b2af5e59f803
2024-05-28feat(hoststack): Add stat pre/post actionsVratko Polak1-20/+1
While adding runtime actions to hoststack tests is not easy, adding pre and post actions for stats is easy. The main hoststack measurement is treated as the stats trial, the same way as the 10 measurements in MRR tests are. + Remove the previous partial info via "show" CLI commands. - As in other VPP tests, stat telemetry is not exported. Change-Id: Ib567aa810418568520d4d543c6d50431e85a3269 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-05-14feat(CpuUtils): Allow suites to forbid siblingsVratko Polak1-1/+5
Some perf suites use a single unidirectional flow of traffic. On SMT-enabled machines, 1C tests create 2 workers by default. But if there is only one stream/flow, only one worker does useful work. The other worker on the sibling logical core does busy-wait, which provably lowers the peformance. Some suites already set smt_used (as a suite variable) to False for these purposes. This change edits a lower-level L1 keyword to honor this value, and adds the suite variable to single stream (and client) hoststack suites, where the detrimental effect of busy siblings was observed. Change-Id: I203f1a700d8e6cd84640b9c0b40487cb832908aa Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-04-30feat(ipsec): Use strings instead of enums in RobotVratko Polak2-226/+261
Only related to enums appearing in ipsec suites. + Add conversion utility as enum_utils.py file. + Rename PolicyAction closer to ipsec_types.api: IpsecSpdAction. + Device and perf suites updated to use str in Variables table. - Perf suites are being tested. Change-Id: I3b1678c4d6cc303c590e5e3665ab1b05d104a121 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-04-26Revert "fix(IPsecUtil): Delete keywords no longer used"Vratko Polak1-0/+43
This reverts commit 79635f7cdfb7046230473570068f97a159cf87b4. Peter says he is using those. Change-Id: I47886ba0676bc74d5189a2986ac347f49fdde36c Signed-off-by: Vratko Polak <vrpolak@cisco.com>