Projects
openEuler:C
gazelle
_service:tar_scm:0039-build-add-mlx5-pmd-depend...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0039-build-add-mlx5-pmd-dependency.patch of Package gazelle
From 0f9d05d8fe6e58e199c0885a2808791aebd2bf08 Mon Sep 17 00:00:00 2001 From: jiangheng <jiangheng14@huawei.com> Date: Sat, 4 Nov 2023 17:13:11 +0800 Subject: [PATCH] build: add mlx5 pmd dependency --- src/lstack/Makefile | 2 ++ src/ltran/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lstack/Makefile b/src/lstack/Makefile index 30965f8..d5872bb 100644 --- a/src/lstack/Makefile +++ b/src/lstack/Makefile @@ -90,6 +90,7 @@ ifeq ($(DPDK_VERSION_1911), 1) $(LIB_PATH)/librte_pmd_bond.so \ $(LIB_PATH)/librte_pmd_hinic.so \ $(LIB_PATH)/librte_pmd_ixgbe.so \ + $(LIB_PATH)/librte_pmd_mlx5.so \ $(LIB_PATH)/librte_pmd_virtio.so ifneq ($(ARCH), loongarch64) LIBRTE_LIB += $(LIB_PATH)/librte_pmd_i40e.so @@ -99,6 +100,7 @@ else $(LIB_PATH)/librte_net_bond.so \ $(LIB_PATH)/librte_net_hinic.so \ $(LIB_PATH)/librte_net_ixgbe.so \ + $(LIB_PATH)/librte_net_mlx5.so \ $(LIB_PATH)/librte_net_virtio.so \ $(LIB_PATH)/librte_telemetry.so \ $(LIB_PATH)/librte_pcapng.so diff --git a/src/ltran/CMakeLists.txt b/src/ltran/CMakeLists.txt index e098a77..8f5f674 100644 --- a/src/ltran/CMakeLists.txt +++ b/src/ltran/CMakeLists.txt @@ -31,14 +31,14 @@ if($ENV{DPDK_VERSION_1911}) set(DPDK_DIR /usr/include/dpdk) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DDPDK_VERSION_1911=1") set(DPDK_LINK_FLAGS "-Wl,-lrte_pmd_bond -Wl,-lrte_pmd_hinic -Wl,-lrte_pmd_ixgbe \ - -Wl,-lrte_pmd_pcap -Wl,-lrte_pmd_virtio") + -Wl,-lrte_pmd_pcap -Wl,-lrte_pmd_virtio -Wl, -lrte_pmd_mlx5") if(NOT CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "loongarch64") set(DPDK_LINK_FLAGS "${DPDK_LINK_FLAGS} -Wl,-lrte_pmd_i40e") endif() else() set(DPDK_DIR /usr/local/include/) set(DPDK_LINK_FLAGS "-Wl,-lrte_net_bond -Wl,-lrte_net_hinic -Wl,-lrte_net_ixgbe \ - -Wl,-lpcap -Wl,-lrte_net_pcap -Wl,-lrte_net_virtio -Wl,-lrte_pcapng -Wl,-lrte_telemetry") + -Wl,-lpcap -Wl,-lrte_net_pcap -Wl,-lrte_net_virtio -Wl,-lrte_net_mlx5 -Wl,-lrte_pcapng -Wl,-lrte_telemetry") if(NOT CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "loongarch64") set(DPDK_LINK_FLAGS "${DPDK_LINK_FLAGS} -Wl,-lrte_net_i40e") endif() -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.