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: fix build of v19.11
Signed-off-by: Pavel Boldin <pboldin@cloudlinux.com>
  • Loading branch information
paboldin committed Aug 10, 2024
commit 22acf02b6a3dde5a665b7d63acbf40fd0e7d981a
6 changes: 4 additions & 2 deletions microsoft/testsuites/dpdk/dpdktestpmd.py
Original file line number Diff line number Diff line change
@@ -326,6 +326,7 @@ def generate_testpmd_command(
).is_greater_than(0)

return (
f"env LD_LIBRARY_PATH=/usr/local/lib64 "
f"{self._testpmd_install_path} {core_list} "
f"{nic_include_info} {log_level_args}"
f" -- --forward-mode={mode} "
@@ -711,11 +712,11 @@ def _install(self) -> bool:
if (
isinstance(distro, Debian)
or isinstance(distro, (Fedora, Suse))
and distro.package_exists("dpdk")
):
# if not using package manager and dpdk is already installed, uninstall it
# in preperation for source build
distro.uninstall_packages("dpdk")
if distro.package_exists("dpdk"):
distro.uninstall_packages("dpdk")
else:
raise NotImplementedError(
"Dpdk package names are missing in dpdktestpmd.install"
@@ -1064,6 +1065,7 @@ def _install_fedora_dependencies(self) -> None:

rhel.group_install_packages("Development Tools")
rhel.install_packages(self._fedora_packages)
rhel.uninstall_packages(["doxygen"])

# ensure RDMA service is started if present.