aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
AgeCommit message (Collapse)AuthorFilesLines
2024-10-28fix(core): Ubuntu 24.04oper-241028Peter Mikus1-2/+4
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: If7e33a924ad347eb9396609010acf763b3a71f15 (cherry picked from commit 77e76813afb5418f7c294fe433805620396d3fcf)
2024-10-28fix(ansible): Calibration rolePeter Mikus1-1/+1
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Ie590eb5eaed0bec9b75ce786062f62f4a3a1d19d (cherry picked from commit d3d02ce8ef228ae02a3ebf485cd3a3395b03bbee)
2024-10-28fix(ansible): Remove CalibrationPeter Mikus1-1/+1
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Ia71b70ceecca0541cad1598fbd021a4d8f47fb1b (cherry picked from commit 19f071df8ee74fdcb04dae99aeca8a9d660b085c)
2024-10-25fix(core): Ubuntu 24.04 python3.12Peter Mikus1-0/+1
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I3aff1de925820ddf8630047751519ebe48dd1468
2024-10-15feat(all): Nvidia GracePeter Mikus1-0/+14
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: If89513d29fc7bb995daa4449145e9f004c1c36ec
2024-09-23feat(bonding): Add simple suite for minimal coverageVratko Polak2-114/+15
- We want 2-link suite, as it has a non-trivial traffic pattern. - Not done here, as it needs edits in multiple layers. + Add 1-link suite to compare (and for 1-link testbeds). + Simplify also old bonding keywords. + Partial support for future multi-link suites. + Update jobspecs for minimal coverage: + Only add to iterative, both MRR and NDRPDR. - Coverage jobspecs to be updated later. + {1,2,4}c 64B tests, only to 3n-icx for now. + For both primary NIC+driver combinations there. Change-Id: I6da3b99a44b5ae83cc52921d5e2034fe5218270c Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-09-19feat(robot): Infra actionoper-240923Peter Mikus1-1/+1
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I5d1718bbf61317c2d36e782b0ccb37b8ceb6e71e
2024-09-19feat(robot): Infra actionPeter Mikus1-0/+32
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I55f6e954c865fa0574b9521bd885b68d2a87d39b
2024-09-17feat(infra): Tune paramsPeter Mikus1-1/+1
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I8e3d3316d0c1f7da5e02b1198a6e56a301f0f0a8
2024-09-16feat(infra): Tune paramsPeter Mikus1-1/+1
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I5dc0a38e530cbaf4bb7d3563adba34cd06a3f608
2024-09-12fix(bootstrap): Tune external topologies by defaultPeter Mikus1-0/+2
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Ibf760a5ae187456b24d228a4c7e51301ba682b10
2024-09-03feat(infra): Remove CLX,TX2,TSHpmikus2-49/+2
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-23fix(bootstrap): Go install with sudopmikus1-2/+2
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I0869ee6629916025b1df603072dfa7ccae62110a
2024-08-23fix(bootstrap): Hugo init with go installpmikus1-3/+11
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Iadd4851ab4a7fc366ddffbace6ce7b47776fceeb
2024-08-23feat(bootstrap): Add Noble and Hugopmikus2-4/+9
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ib8f34293a984b63437884440d3244c177d757bc4
2024-08-23feat(trex): External configurationpmikus2-7/+9
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-08-07fix(pip): Requirements for 24.04pmikus1-1/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I7511fb128d81f5d91fb2cc0d71f193efaefd9f41
2024-08-01feat(ebs): Install hugo if not foundoper-240805pmikus1-3/+3
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Ice4c09579a174c0ce3d26c8429016d55414bfb93
2024-07-31feat(bootstrap): Split gather.shpmikus4-130/+182
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I8bf1fbf49d224b89f2da4a7f08bdf932cad9fd35
2024-07-30feat(infra): Ubuntu 24.04 LTSpmikus1-2/+2
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I7d672d07e6ed6bf6582888e8826bbc1cb6d94d17
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-07-17fix(bootstrap): External topologies read"pmikus1-28/+27
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Iefa96896004d8c9cc06df90f0a744c497b443106
2024-07-16feat(core): Change external testbed detection"pmikus2-24/+33
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Id005feac8104bb0b7da08d8dd9baaa3c5117e157
2024-06-28fix(core): VPP Initialisation issue on MLX.oper-240701pmikus2-2/+3
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-18feat(core): Adjust T-Rex for external topologiespmikus1-1/+2
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Id3f0a4a26404951bc7ce82655538b72848508e18
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 instancespmikus2-17/+96
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 Polak2-0/+10
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 Mikus5-15/+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 Polak5-2/+15
Change-Id: I169b06433ae962811aafa91ce90fe169b0bc4c71 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-05-29fix(core): AWS interface initializationpmikus2-5/+61
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I3ef110e8fec2fa8abafead1392a1b2af5e59f803
2024-05-28fix(hoststack): Do not limit number of RX queuesVratko Polak1-6/+2
This makes most scale hoststack tests correctly use both sibling cores. - Except quic multi-client ones, which start failing instead. - To be fixed later. - VPP startup.conf looks correct to me. - All quic tests suffer from CSIT-1935 so no big loss. Change-Id: If22c01651140865e188733039890f1fb0ceaa57a Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-05-28feat(hoststack): Add stat pre/post actionsVratko Polak2-21/+19
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-20fix(perf): Increase threshold for jumboVratko Polak1-2/+2
The old limit of 1522 was introduced long time ago. First, it appeared here [0], where it is correct as that suite has zero overhead. The first suite with wrong logic seems to be here [1] (no "Add No Multi Seg to all DUTs" in 1518B testcase). And when I was moving that logic to a keyword in [2], I did not realize it is wrong with overhead. This Change uses 1800 as the new threshold, matching the value used for non-jumbo MTU. [0] https://gerrit.fd.io/r/c/csit/+/2652/12/tests/perf/Bridge_Domain_Intel-X520-DA2.robot#70 [1] https://gerrit.fd.io/r/c/csit/+/4454/96/tests/perf/40ge2p1xl710-ethip4ipsecscaleip4-ip4base-interfaces-aes-gcm-ndrpdrdisc.robot#229 [2] https://gerrit.fd.io/r/c/csit/+/13411/35/resources/libraries/robot/performance/performance_utils.robot#84 Change-Id: Iff3703fcff0e4bbb1a6b10be359fa5ef67fd5422 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-05-17feat(device): Reconfigurepmikus1-4/+6
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I5ca0fc5832c249553c79dd9c5d4148ba64e61654
2024-05-16feat(bootstrap): Add more granular eb scriptspmikus2-47/+52
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Icbcd373ef815fa082d9be022fc201c96df140536
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 Polak3-235/+268
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-30fix(hoststack): Remove unwanted api trace in DMA testKai Ji1-1/+0
Change-Id: I48ec272fb150c09221142b8d73830d7b6741d0b5 Signed-off-by: Kai Ji <kai.ji@intel.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>