Skip to content

Commit

Permalink
DPDK: Add 32bit multiqueue test
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgov committed Oct 28, 2024
1 parent 3033356 commit f9f9f12
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions microsoft/testsuites/dpdk/dpdksuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9f9f12

Please sign in to comment.