Compare commits
4 Commits
v24.06-rc2
...
stable/240
Author | SHA1 | Date | |
---|---|---|---|
|
cd30ea1ddf | ||
|
a095e37d2a | ||
|
6e8b350a01 | ||
|
6244633428 |
@ -6,6 +6,7 @@ Release notes
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
v24.06
|
||||
v24.02
|
||||
v23.10
|
||||
v23.06
|
||||
|
500
docs/aboutvpp/releasenotes/v24.06.rst
Normal file
500
docs/aboutvpp/releasenotes/v24.06.rst
Normal file
File diff suppressed because it is too large
Load Diff
@ -118,12 +118,24 @@ sha2_key_add (vnet_crypto_key_t *key, clib_sha2_type_t type)
|
||||
static int
|
||||
probe ()
|
||||
{
|
||||
#if defined(__SHA__) && defined(__x86_64__)
|
||||
#if defined(__x86_64__)
|
||||
|
||||
#if defined(__SHA__) && defined(__AVX512F__)
|
||||
if (clib_cpu_supports_sha () && clib_cpu_supports_avx512f ())
|
||||
return 30;
|
||||
#elif defined(__SHA__) && defined(__AVX2__)
|
||||
if (clib_cpu_supports_sha () && clib_cpu_supports_avx2 ())
|
||||
return 20;
|
||||
#elif defined(__SHA__)
|
||||
if (clib_cpu_supports_sha ())
|
||||
return 50;
|
||||
#elif defined(__ARM_FEATURE_SHA2)
|
||||
return 10;
|
||||
#endif
|
||||
|
||||
#elif defined(__aarch64__)
|
||||
#if defined(__ARM_FEATURE_SHA2)
|
||||
if (clib_cpu_supports_sha2 ())
|
||||
return 10;
|
||||
#endif
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
@ -316,6 +316,12 @@ class VppAsfTestCase(CPUInterface, unittest.TestCase):
|
||||
if "DVPP_ENABLE_SANITIZE_ADDR=ON" in vpp_extra_cmake_args:
|
||||
cls = unittest.skip("Skipping @tag_fixme_asan tests")(cls)
|
||||
|
||||
@classmethod
|
||||
def skip_fixme_ubuntu2204(cls):
|
||||
"""if @tag_fixme_ubuntu2204 & is Ubuntu22.04 - mark for skip"""
|
||||
if cls.has_tag(TestCaseTag.FIXME_UBUNTU2204) and is_distro_ubuntu2204 == True:
|
||||
cls = unittest.skip("Skipping @tag_fixme_ubuntu2204 tests")(cls)
|
||||
|
||||
@classmethod
|
||||
def instance(cls):
|
||||
"""Return the instance of this testcase"""
|
||||
@ -1361,6 +1367,13 @@ class VppTestResult(unittest.TestResult):
|
||||
test_title = colorize(f"FIXME with ASAN: {test_title}", RED)
|
||||
test.skip_fixme_asan()
|
||||
|
||||
if (
|
||||
test.has_tag(TestCaseTag.FIXME_UBUNTU2204)
|
||||
and is_distro_ubuntu2204 == True
|
||||
):
|
||||
test_title = colorize(f"FIXME with Ubuntu 22.04: {test_title}", RED)
|
||||
test.skip_fixme_ubuntu2204()
|
||||
|
||||
if hasattr(test, "vpp_worker_count"):
|
||||
if test.vpp_worker_count == 0:
|
||||
test_title += " [main thread only]"
|
||||
|
@ -39,6 +39,7 @@ class TestProm(VppAsfTestCase):
|
||||
"""Enable HTTP Static server and prometheus exporter, get stats"""
|
||||
self.vapi.cli("http static server uri tcp://0.0.0.0/80 url-handlers")
|
||||
self.vapi.cli("prom enable")
|
||||
self.sleep(1, "wait for min-scrape-interval to expire")
|
||||
|
||||
process = subprocess.run(
|
||||
[
|
||||
|
@ -183,9 +183,7 @@ class MethodHolder(VppTestCase):
|
||||
variables and configure VPP.
|
||||
"""
|
||||
super(MethodHolder, cls).setUpClass()
|
||||
if (is_distro_ubuntu2204 == True or is_distro_debian11 == True) and not hasattr(
|
||||
cls, "vpp"
|
||||
):
|
||||
if (is_distro_debian11 == True) and not hasattr(cls, "vpp"):
|
||||
return
|
||||
try:
|
||||
# Create pg interfaces
|
||||
|
@ -2036,6 +2036,7 @@ class TestResponderBehindNAT(TemplateResponder, Ikev2Params):
|
||||
|
||||
|
||||
@tag_fixme_vpp_workers
|
||||
@tag_fixme_ubuntu2204
|
||||
class TestInitiatorNATT(TemplateInitiator, Ikev2Params):
|
||||
"""test ikev2 initiator - NAT traversal (intitiator behind NAT)"""
|
||||
|
||||
@ -2068,6 +2069,7 @@ class TestInitiatorNATT(TemplateInitiator, Ikev2Params):
|
||||
|
||||
|
||||
@tag_fixme_vpp_workers
|
||||
@tag_fixme_ubuntu2204
|
||||
class TestInitiatorPsk(TemplateInitiator, Ikev2Params):
|
||||
"""test ikev2 initiator - pre shared key auth"""
|
||||
|
||||
@ -2099,6 +2101,7 @@ class TestInitiatorPsk(TemplateInitiator, Ikev2Params):
|
||||
|
||||
|
||||
@tag_fixme_vpp_workers
|
||||
@tag_fixme_ubuntu2204
|
||||
class TestInitiatorRequestWindowSize(TestInitiatorPsk):
|
||||
"""test initiator - request window size (1)"""
|
||||
|
||||
@ -2148,6 +2151,7 @@ class TestInitiatorRequestWindowSize(TestInitiatorPsk):
|
||||
|
||||
|
||||
@tag_fixme_vpp_workers
|
||||
@tag_fixme_ubuntu2204
|
||||
class TestInitiatorRekey(TestInitiatorPsk):
|
||||
"""test ikev2 initiator - rekey"""
|
||||
|
||||
@ -2193,6 +2197,7 @@ class TestInitiatorRekey(TestInitiatorPsk):
|
||||
|
||||
|
||||
@tag_fixme_vpp_workers
|
||||
@tag_fixme_ubuntu2204
|
||||
class TestInitiatorDelSAFromResponder(TemplateInitiator, Ikev2Params):
|
||||
"""test ikev2 initiator - delete IKE SA from responder"""
|
||||
|
||||
@ -2413,9 +2418,7 @@ class TestResponderVrf(TestResponderPsk, Ikev2Params):
|
||||
|
||||
globals()["ikev2"] = _ikev2
|
||||
super(IkePeer, cls).setUpClass()
|
||||
if (is_distro_ubuntu2204 == True or is_distro_debian11 == True) and not hasattr(
|
||||
cls, "vpp"
|
||||
):
|
||||
if (is_distro_debian11 == True) and not hasattr(cls, "vpp"):
|
||||
return
|
||||
cls.create_pg_interfaces(range(1))
|
||||
cls.vapi.cli("ip table add 1")
|
||||
@ -2525,6 +2528,7 @@ class Test_IKE_AES_GCM_16_256(TemplateResponder, Ikev2Params):
|
||||
|
||||
|
||||
@tag_fixme_vpp_workers
|
||||
@tag_fixme_ubuntu2204
|
||||
class TestInitiatorKeepaliveMsg(TestInitiatorPsk):
|
||||
"""
|
||||
Test for keep alive messages
|
||||
|
@ -162,8 +162,6 @@ class TestNAT44ED(VppTestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
if is_distro_ubuntu2204 == True and not hasattr(cls, "vpp"):
|
||||
return
|
||||
|
||||
cls.create_pg_interfaces(range(12))
|
||||
cls.interfaces = list(cls.pg_interfaces[:4])
|
||||
|
@ -55,8 +55,6 @@ class TestNAT64(VppTestCase):
|
||||
def setUpClass(cls):
|
||||
super(TestNAT64, cls).setUpClass()
|
||||
|
||||
if is_distro_ubuntu2204 == True and not hasattr(cls, "vpp"):
|
||||
return
|
||||
cls.tcp_port_in = 6303
|
||||
cls.tcp_port_out = 6303
|
||||
cls.udp_port_in = 6304
|
||||
|
Reference in New Issue
Block a user