Age | Commit message (Collapse) | Author | Files | Lines |
|
Previously, Jumpavg was known to give wrong results
when the data contains values of order one or smaller.
This change introduces a new "unit" parameter,
which changes how the information content is calculated.
For example if the data values are mutiplies of 0.01,
the unit parameter should be set to 0.01 to compensate.
For callers not knowing their correct unit value,
another parameter is introduced, called "sbps"
(meaning Significant Bits Per Sample).
A binary integer number with this many ones
is how much units should the maximal sample be.
This way jumpavg computes the corresponding "unit" value to use.
If neither "unit" nor "sbps" are given,
the "sbps" value of 12 is applied.
+ Rename files to conform to snake_style naming.
+ Fix normalization for the "opposite triangle" distribution.
+ Simplify logic, all groups now start as "normal", not "unknown".
+ Minor style improvements as suggested by pylint.
+ From user perspective, this change should be backward compatible.
- The normalization fix is a behavior change,
but it is a bugfix and the new behavior should be better.
Change-Id: I5a5ca11757f087fff13faf1d0b8e34a741400258
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I14975b21e7f480c3bca5ba6a04514008af219039
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ib98b25bd3c98b5e6dbcb1bfe8478bd41bf37d71c
|
|
Change-Id: If7e00460fee4eee50479dc089c026670dcf3edf9
Signed-off-by: Tibor Frank <tifrank@cisco.com>
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I84b46e6a792d72cb56a9a42d40db8cc13866b836
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I4704b18eb74847fa7c040a27b7296912d27d6ca5
|
|
Change-Id: I6ec27d787b59d4bc13b8c04f4217302cc3021581
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I198fe62ddba8910c6bd8256739cc2503b87dfc75
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I4c192210e1aef1275e8a9b56eab7956798aca15d
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ia13e920ef11d364893a51957778e60084f4ac0f9
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I58607f50e2889092e40ff831ed4f1515444e29f8
|
|
Change-Id: I947f961e665f5eb2f2f055a47cd0119011666b28
Signed-off-by: Tibor Frank <tifrank@cisco.com>
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I4924054b414dc450df14a02a29081549c8620787
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I881dda8b2fec32b8f489ec97df6592937f6193fa
|
|
Change-Id: Ibef272705ea889d58bb9c5b69a8566f6e38de1d1
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Iccbe5f0cabe6fdd5274126cf970549673edd4f1c
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Icc07d18b9c0bd00af157bb817205e5b54824d525
|
|
In tunneling scenarios, VPP needs to reassembly packet fragments
before decapsulation. Conveniently, VPP also fragments the packets
after encapsulation (at least for some encapsulation protocols)
if they do not fit into MTU.
So this change adds few suites, adapted from existing 3-node ones
which additionally lower MTU on DUT1-DUT2 link.
The intended packet size is 1518B. 64B packets will fit,
and most of IMIX packets will also fit without fragmentation.
VPP refuses to reassembly 9000B packets as they have too many fragments.
+ Add a keyword so suites need only one additional line of code.
+ Add new test tag REASSEMBLY for the added suites.
+ Tell autogen the one soak test case for reaseembly should be 1518B.
- It is possible to increase fragment limit for 9000B, not done yet.
- Ipsec policy suites are added but they should not be used.
- VPP does fragmentation twice (before and after encapsulation).
- VPP does not perform reassembly (only last fragment is decrypted).
- TRex does not realize the packet from VPP is only a fragment.
- The result is false pass with unfairly good performance.
+ Suites still included, to simplify verifying VPP fixes for the above.
Change-Id: If33c60d767fea161d9e4ffabb8ded3d81c8f39ed
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
Change-Id: I56e62660053694e2b54467fed7c843ff5b201e1d
Signed-off-by: Tibor Frank <tifrank@cisco.com>
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ib0e3be90cf5a15b24568a8bf05722d22e46fdd31
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I16defefa5edd01638bc382be4f5e8cbca4fe9453
|
|
The current invocation is deprecated:
WARNING: Running the setup command as `meson [options]` instead
of `meson setup [options]` is ambiguous and deprecated.
Change-Id: Ieffa7f295e4ea7634ee5e8f77e373c5e9314b3cf
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I1537f3383d44ace8e705e5c744713d0863ca67d0
|
|
When changing MTU on a running VPP, the interface has to be down.
- Other plugins (rdma, avf, af_xdp) need vastly different logic,
so support for them will be added later.
+ Mlx5-core does not need to set MTU on Linux interface.
+ MTU setting now does not happen at final setting path up,
it happens in driver initialization layer instead
E.g. AVF tests will not attempt to change MTU.
+ MTU edit removed from some non-hardware interfaces (including memif)
e.g. bond interfaces. MTU on parent hw interface seems to be enough.
+ The non-jumbo MTU value used is 1800,
so 1518B tests with additional encapsulation can still work.
+ When VPP MTU setting fails, the failure is now propagated.
Previously, the failure was just logged and ignored,
but now there is no reason to hide it.
Ticket: CSIT-1797
Change-Id: I3b853f1faf90001d544cbbb87b2affbb882ffba0
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ifa3964f290d75ebae094d1d46ce27b5d133c2158
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I4e19d8fe38802652b25e6a1c577e816328cebd2d
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I45760143ae0ccb0cc0edf0931ad47f5cf48ec968
|
|
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>
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Icb7b6124dcba7bb57c18ceb91120284f6fe02c2e
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I2e0feccef5c5b15b035490dfaf521c8c9a1795f8
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I976f96410b06b4f4d7500b03b1f5dd54486bbf42
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I7b7b8744fac6669a696253acb94e7a5d713fdb5b
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I76e47610a0caa8af8e48a295ce08e799280404be
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ie88729cbd3916372cdbf5769974654edf066d5d7
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: If90e443a2d60459c6cbc6a85ba619e72242318a5
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I76907c214cfae76c3d101ebd14813fd3a77504f8
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ia6778b0c49906a686427b9c1ca7f5658e8993e63
|
|
Change-Id: Ic8daac7dfc10788baa44d3cf8cf587296ec5070d
Signed-off-by: Tibor Frank <tifrank@cisco.com>
|
|
- iterative, daily MRR, weekly NDRPDR:
- reduce* tests with xxv710 NIC for TBs:
- 2n-icx - reduction from 480 to 303 tests
- 3n-icx - reduction from 441 to 306 tests
- 2n-clx - reduction from 504 to 444 tests
- add tests tests with e810cq NIC for TB to ensure test coverage:
- 2n-clx
- coverage:
- add tests with e810cq NIC for TBs:
- 2n-icx
- 3n-icx
- 2n-clx
- reduce* tests with xxv710 NIC for TBs:
- 2n-icx
- 3n-icx
- 2n-clx
* Used the same approach as it was used for x710 some time ago:
- keep only base tests, prefer avf driver.
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Change-Id: I63e950e1a5df18e5f7992aa7805b9b202ee75eb5
|
|
Signed-off-by: xinfeng zhao <xinfengx.zhao@intel.com>
Signed-off-by: Yulong Pei <yulong.pei@intel.com>
Change-Id: I3708253adf4c7421ff48eee6aefb735b39726359
|
|
Signed-off-by: Yulong Pei <yulong.pei@intel.com>
Change-Id: I7515bf952f8b6dbae180726da6a8bd4821c7af26
|
|
Mellanox cards do not support AVF driver,
and rdma_core driver had worse performace.
Change-Id: I619301b6ed4966f9a69274d514cca21511a2cc72
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
|
|
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>
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I11896900a73f97194a2935202343dc28756cbb28
|
|
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
|
|
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>
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I97e2cbe12f14fc90a074cdfbf662b60b2b217647
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I09cb0934cfe57dcd5fcca1199cc974b5ecfbed8f
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ib1fd6c2e3bea90124b5ff91409e4dfeaed162cb6
|
|
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I3f7efcbfc82f683e7afc986d00fa71ae7413d93d
|