From f9f9f12f7aef142a824060b1e262ae6c80d65c74 Mon Sep 17 00:00:00 2001 From: Matthew G McGovern Date: Mon, 28 Oct 2024 16:03:57 -0700 Subject: [PATCH] DPDK: Add 32bit multiqueue test --- microsoft/testsuites/dpdk/dpdksuite.py | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/microsoft/testsuites/dpdk/dpdksuite.py b/microsoft/testsuites/dpdk/dpdksuite.py index 08d07b0d01..a01f7110c7 100644 --- a/microsoft/testsuites/dpdk/dpdksuite.py +++ b/microsoft/testsuites/dpdk/dpdksuite.py @@ -119,6 +119,40 @@ def verify_dpdk_build_netvsc_32bit( force_dpdk_default_source(variables, build_arch=CpuArchitecture.I386) verify_dpdk_build(node, log, variables, "netvsc", HugePageSize.HUGE_2MB) + @TestCaseMetadata( + description=""" + netvsc pmd version. + This test case checks DPDK can be built and installed correctly. + Prerequisites, accelerated networking must be enabled. + The VM should have at least two network interfaces, + with one interface for management. + More details refer https://docs.microsoft.com/en-us/azure/virtual-network/setup-dpdk#prerequisites # noqa: E501 + """, + priority=2, + requirement=simple_requirement( + min_count=2, + min_core_count=8, + min_nic_count=2, + network_interface=Sriov(), + unsupported_features=[Gpu, Infiniband], + ), + ) + def verify_dpdk_send_receive_netvsc_32bit( + self, + environment: Environment, + log: Logger, + variables: Dict[str, Any], + ) -> None: + force_dpdk_default_source(variables, build_arch=CpuArchitecture.I386) + verify_dpdk_send_receive( + environment, + log, + variables, + "netvsc", + HugePageSize.HUGE_2MB, + multiple_queues=True, + ) + @TestCaseMetadata( description=""" netvsc pmd version with 1GiB hugepages