aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
AgeCommit message (Collapse)AuthorFilesLines
2023-05-16fix(core): AVF unbindpmikus1-1/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ifa3964f290d75ebae094d1d46ce27b5d133c2158
2023-05-16fix(infra): Bootstrap scriptspmikus1-0/+8
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I4e19d8fe38802652b25e6a1c577e816328cebd2d
2023-05-15fix(core): Container entropypmikus2-7/+4
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I45760143ae0ccb0cc0edf0931ad47f5cf48ec968
2023-05-12fix(qemu): increase vm boot timeJuraj Linkeš1-2/+2
On 3n-tsh testbed, the vm sometimes times out when booting. Increasing the timeout is harmless since it doesn't affect perfomance. JIRA: CSIT-1877 Change-Id: I45eebdfba2fcd7c9a0be083ebb3515d37724e965 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2023-05-10feat(infra): Remove system.d dependencypmikus4-67/+93
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Icb7b6124dcba7bb57c18ceb91120284f6fe02c2e
2023-05-09feat(job_specs): Add 3nab-sprpmikus1-4/+17
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I2e0feccef5c5b15b035490dfaf521c8c9a1795f8
2023-05-05fix(core): Docker detectionpmikus2-10/+15
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I976f96410b06b4f4d7500b03b1f5dd54486bbf42
2023-05-05fix(core): Unbind only when neededpmikus1-3/+11
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I7b7b8744fac6669a696253acb94e7a5d713fdb5b
2023-05-05fix(core): Add vpp log pathpmikus1-0/+3
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I76e47610a0caa8af8e48a295ce08e799280404be
2023-05-05fix(core): Move log files to defaultpmikus1-5/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ie88729cbd3916372cdbf5769974654edf066d5d7
2023-05-05feat(core): Remove some dead codepmikus1-29/+0
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: If90e443a2d60459c6cbc6a85ba619e72242318a5
2023-05-05fix(core): Code stylingpmikus1-16/+20
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I76907c214cfae76c3d101ebd14813fd3a77504f8
2023-05-05fix(core): vppctl pathpmikus1-2/+2
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ia6778b0c49906a686427b9c1ca7f5658e8993e63
2023-05-02C-Docs: Set the version of hugo-book themeTibor Frank1-1/+4
Change-Id: Ic8daac7dfc10788baa44d3cf8cf587296ec5070d Signed-off-by: Tibor Frank <tifrank@cisco.com>
2023-04-20Add 100k tunnels ipsec policy mode with fastpath enabled test suiteYulong Pei2-25/+57
Signed-off-by: xinfeng zhao <xinfengx.zhao@intel.com> Signed-off-by: Yulong Pei <yulong.pei@intel.com> Change-Id: I3708253adf4c7421ff48eee6aefb735b39726359
2023-04-19fix(core): wrong to unbind driver if pci device in unbinded driver stateYulong Pei1-2/+4
Signed-off-by: Yulong Pei <yulong.pei@intel.com> Change-Id: I7515bf952f8b6dbae180726da6a8bd4821c7af26
2023-04-18fix(api): bump messages to 23.02 usageVratko Polak3-7/+9
New features are generally not used in CSIT, but some edits in code are needed to continue using defaults. 3 messages have newer versions: * bridge_domain_add_del_v2 * ipsec_spd_entry_add_del_v2 * lb_add_del_vip_v2 Change-Id: Ibcc089ccbf933c019b5e7188c06ef229e68d39a8 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-04-05fix(telemetry): Enable MRRpmikus1-1/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I11896900a73f97194a2935202343dc28756cbb28
2023-04-03Enable IPsec policy fast path inboundYulong Pei2-3/+24
This will greatly improve the performance of IPsec policy cases Signed-off-by: xinfeng zhao <xinfengx.zhao@intel.com> Signed-off-by: Yulong Pei <yulong.pei@intel.com> Change-Id: Ib42b5650791be7fcc8649873eaf12616aeba5aec
2023-04-03remove dpdk_nic_bind.py dependencyYulong Pei2-27/+22
dpdk_nic_bind.py from <trex>/scripts/ is out of date, often bumped into errors when using it to bind nic port, e.g. /usr/bin/python3 dpdk_nic_bind.py --bind=vfio-pci 0000:ca:00.0 /opt/trex-core-3.00/scripts/dpdk_nic_bind.py:40: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives   from distutils.util import strtobool Error: bind failed for 0000:ca:00.0 - Cannot bind to driver vfio-pci so remove dpdk_nic_bind.py dependency in csit. Signed-off-by: Yulong Pei <yulong.pei@intel.com> Change-Id: I5a3f641cd77d339aa7a213f410ce2efe7c322b8a Signed-off-by: Yulong Pei <yulong.pei@intel.com>
2023-03-28feat(core): Add 2n-spr topologypmikus2-0/+7
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I3f7efcbfc82f683e7afc986d00fa71ae7413d93d
2023-03-27fix(core): Adopt to executor changespmikus1-4/+2
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I206118daa0383e8a7d160aaf1c3dd53fc3ab9279
2023-03-24fix(bootstrap): EB deploypmikus2-13/+14
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I44fd0fd94ba91758cfa37b11cba44955a0b24f72
2023-03-21fix(core): Arch detectionpmikus1-3/+13
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ife3aed308cac696876316e4ad17f17e7993f96d0
2023-03-21feat(core): Fix arch detectionpmikus1-4/+16
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I4dcb0034b8f914b7863ac8ddede4d644d64c2d47
2023-03-20feat(bootstrap): CDash CIpmikus8-301/+349
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ia9f5b1c9036b9f09c4d9bb041a41e9b49d2ead7f
2023-03-13feat(model): Move schema to resourcespmikus1-1/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I905921cc93436c0e0f1c22dfbdc2af62f4b04ac0
2023-03-13feat(docs): Move job_specs to resourcespmikus1-1/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Iee0ded1f2fb43a09a7a1d61f593f4e92ead3dbb3
2023-02-24Fix: detaches the attached XDP/BPF program before af_xdp test runYulong Pei2-0/+17
When call create af_xdp interface api, it will load default xdp program (xsk_def_prog.o) on the NIC interface, the program will be unloaded when call delete af_xdp interface api, but current csit config did not call delete api for af_xdp test cases, that will cause af_xdp test case fails to run on Intel E810 NIC when the interface already have xdp program attached, so this patch is to fix this issue by to detach any attached XDP/BPF program on the interface before af_xdp test case run. Signed-off-by: Yulong Pei <yulong.pei@intel.com> Change-Id: I1a557b4c4a7e88c5715cec771a001df29ac4ae6f Signed-off-by: Yulong Pei <yulong.pei@intel.com>
2023-02-23fix(core): SPR includepmikus1-0/+4
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I3308f12046dfeed7db872a3a901806acf81cdb15
2023-02-22fix(core): log but not export from teardownpmikus3-6/+12
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I0f5f1000f55110455e86db4c461fba3c87fb198e
2023-02-20feat(telemetry): Data compresspmikus2-1/+8
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I652844e722e24cb49f09a3f30aabe3103e271079
2023-02-16fix(bootstrap): per-patch perf: apply zn2 trex fixVratko Polak1-1/+2
+ per_patch_device does not need that call (yet). Change-Id: I4c85a038962a2cfea3fa91bb4a3c37a8348132ca Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-02-13Fix issue in csit hoststack testYulong Pei1-27/+10
1. ABTool.py, fix error in parsing the return result of ab 2. DUTSetup.py, add sleep to wait for the program to start Signed-off-by: Peng Lu <pengx.lu@intel.com> Signed-off-by: Xinfeng Zhao <xinfengx.zhao@intel.com> Signed-off-by: Yulong Pei <yulong.pei@intel.com> Change-Id: I1cffa28d8492bcc27ae188f1e084b80afad60502
2023-02-09feat(infra): Introduce 2n-spr 3n-sprpmikus1-6/+24
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ied301e8fcca22af8420364f2e158dfdd49bdc58d
2023-02-02fix(perf/hoststack/quic): enable plugin_crypto_openssl.soDave Wallace2-8/+6
- convert hoststack tests to use app-api-socket instead of vpp-api-socket Change-Id: Ibcd87f3624e33168ed3afcb30267262efc927e7c Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2023-02-02fix(job_spec): Naming conventionspmikus1-1/+7
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Iccaa4f8945e5eb48272737338a52c9edbf1cb58b
2023-02-01fix(model): Merge vsap into hoststackpmikus1-1/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I2b1aa0240e611f3f7d2b516583a6ea3e36091821
2023-01-25fix(core): common.shpmikus1-0/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Iab5e8c21e4defb92e257459a64101a6f19609917
2023-01-24Tune host stack performance testsFilip Tehlar3-37/+132
* remove evt_qs_memfd_seg and evt_qs_seg_size as they are obsolete * use app socket api instead of vpp's api * apply rx and tx descriptors constraints * increase event queue size for nginx tests Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Change-Id: Ie7ac12b8f587e0b1962884127e8eb68a4e588aee Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2023-01-23fix(core): Telemetry for iperf3pmikus1-1/+2
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I16469204c9bb9d521f0ca01bc3ed21ecba2d8824
2023-01-19Add 40k tunnels ipsec policy mode with fastpath enabled test suiteYulong Pei2-6/+11
In order to compare performance number with existed routing based ipip interface mode 40k tunnels ipsec test. Signed-off-by: xinfeng zhao <xinfengx.zhao@intel.com> Signed-off-by: Yulong Pei <yulong.pei@intel.com> Change-Id: I94816a8c18f08b539114d6ca9d4e1218a2b6ea5f
2023-01-18fix(core): Handle hoststack exceptionspmikus1-3/+6
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I28295ee6e64ab9674449a98e8d036b39d3d538bf
2023-01-17feat(model): Simplify logicpmikus5-93/+16
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I461899d72e92e5c5db9f64261206ec0e6704e0c8
2023-01-16feat(papi): wipe remains of VATVratko Polak5-643/+10
- Some older documentation files are not updated yet. Change-Id: If1717e12308f0e2e76c10024e6eebe68ddeddc9f Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-01-16feat(papi): switch TestConfig from vat to async PAPIVratko Polak1-114/+1
Change-Id: I5b3ee68c8155e62ca6c68e84132d78af0615ee4d Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-01-16feat(papi): switch ipsec from vat to async papiVratko Polak2-347/+84
+ Move papi_exec resource out of for loops. Change-Id: I39d75ad2552986f82f7e2c8e3aae2fbc07f042e0 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-01-16feat(papi): switch ip from vat to async papiVratko Polak1-47/+0
Change-Id: I3ecad09d2659124a6c07d642a453845ed1779258 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-01-16feat(papi): add async mode, use it in scale callsVratko Polak7-174/+418
+ Introduce two explicit handling modes to save memory in scale test. + Connect in async mode for both handling modes (to avoid reconnects). + Support both pre- and post-37758 VPP PAPI async behavior. + Use control-ping in dumps to emulate sync mode. + Do not use it for single reply to avoid VPP-2033. + Fix call sites to get their replies with correct handling mode. + Drain enqueued replies to avoid subsequent errors. + Retry if read returns None too early. + Update docstrings. - Complexity issues reported by pylint postponed, needs larger refactor. - Explicit replace of VAT is done in subsequent changes. Ticket: CSIT-1547 CSIT-1671 Change-Id: I3c63fa5c578975cc4dd7fce0babe3ab04ec15ed3 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-01-16style(papi): reformat code before real changesVratko Polak1-111/+144
Used black (with line length overridden to 80). Also manually removed u from inside f strigs. Change-Id: I5be354e744a697ac68f781b08159de6d1fbdc07e Signed-off-by: Vratko Polak <vrpolak@cisco.com>