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