Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DPDK MANA CentOS 7 changes #3373

Open
wants to merge 9 commits into
base: mcgov/dpdk-mana-merge
Choose a base branch
from
Prev Previous commit
Next Next commit
dpdk: force dpdk build on RHEL<8.0
Signed-off-by: Pavel Boldin <pboldin@cloudlinux.com>
  • Loading branch information
paboldin committed Aug 10, 2024
commit d2c5d1e738c6956b7d0fafe69899110cc22f9bca
13 changes: 10 additions & 3 deletions microsoft/testsuites/dpdk/dpdkutil.py
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@
from lisa.base_tools.uname import Uname
from lisa.features import NetworkInterface
from lisa.nic import NicInfo
from lisa.operating_system import Fedora, OperatingSystem, Ubuntu
from lisa.operating_system import Fedora, OperatingSystem, Ubuntu, CentOs
from lisa.tools import (
Dmesg,
Echo,
@@ -178,8 +178,15 @@ def _set_forced_source_by_distro(
# Default to 20.11 unless another version is provided by the
# user. 20.11 is the latest dpdk version for 18.04.
if (
isinstance(node.os, Ubuntu)
and node.os.information.version < "20.4.0"
(
isinstance(node.os, Ubuntu)
and node.os.information.version < "20.4.0"
)
or
(
isinstance(node.os, CentOs)
and node.os.information.version < "8.0.0"
)
or examples != None
):
variables["dpdk_source"] = variables.get("dpdk_source", DPDK_STABLE_GIT_REPO)