gazelle/0071-Allow-dynamic-load-PMDs.patch
xiusailong af183e9773 backport upstream patches from repository
(cherry picked from commit acaa789aa85d602fc946045431a51d0422696c4e)
2022-07-22 14:30:50 +08:00

77 lines
2.9 KiB
Diff

From 15dbe826aef71330043818c9a6c187819823768a Mon Sep 17 00:00:00 2001
From: Honggang LI <honggangli@163.com>
Date: Mon, 18 Jul 2022 10:57:34 +0800
Subject: [PATCH 18/19] Allow dynamic load PMDs
Signed-off-by: Honggang LI <honggangli@163.com>
---
src/lstack/Makefile | 52 +++++++++----------
1 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/src/lstack/Makefile b/src/lstack/Makefile
index 0fb4405..7ce35d4 100644
--- a/src/lstack/Makefile
+++ b/src/lstack/Makefile
@@ -57,32 +57,32 @@ include $(patsubst %, %/dir.mk, $(DIRS))
OBJS = $(subst .c,.o,$(SRCS))
LWIP_LIB = $(LIB_PATH)/liblwip.a
-LIBRTE_LIB = $(LIB_PATH)/librte_bus_pci.a \
- $(LIB_PATH)/librte_pci.a \
- $(LIB_PATH)/librte_cmdline.a \
- $(LIB_PATH)/librte_hash.a \
- $(LIB_PATH)/librte_mempool.a \
- $(LIB_PATH)/librte_mempool_ring.a \
- $(LIB_PATH)/librte_timer.a \
- $(LIB_PATH)/librte_eal.a \
- $(LIB_PATH)/librte_ring.a \
- $(LIB_PATH)/librte_mbuf.a \
- $(LIB_PATH)/librte_telemetry.a \
- $(LIB_PATH)/librte_kni.a \
- $(LIB_PATH)/librte_net_ixgbe.a \
- $(LIB_PATH)/librte_kvargs.a \
- $(LIB_PATH)/librte_net_hinic.a \
- $(LIB_PATH)/librte_net_i40e.a \
- $(LIB_PATH)/librte_net_virtio.a \
- $(LIB_PATH)/librte_bus_vdev.a \
- $(LIB_PATH)/librte_net.a \
- $(LIB_PATH)/librte_rcu.a \
- $(LIB_PATH)/librte_ethdev.a \
- $(LIB_PATH)/librte_pdump.a \
- $(LIB_PATH)/librte_bpf.a \
- $(LIB_PATH)/librte_pcapng.a \
- $(LIB_PATH)/librte_security.a \
- $(LIB_PATH)/librte_cryptodev.a
+LIBRTE_LIB = $(LIB_PATH)/librte_bus_pci.so \
+ $(LIB_PATH)/librte_pci.so \
+ $(LIB_PATH)/librte_cmdline.so \
+ $(LIB_PATH)/librte_hash.so \
+ $(LIB_PATH)/librte_mempool.so \
+ $(LIB_PATH)/librte_mempool_ring.so \
+ $(LIB_PATH)/librte_timer.so \
+ $(LIB_PATH)/librte_eal.so \
+ $(LIB_PATH)/librte_ring.so \
+ $(LIB_PATH)/librte_mbuf.so \
+ $(LIB_PATH)/librte_telemetry.so \
+ $(LIB_PATH)/librte_kni.so \
+ $(LIB_PATH)/librte_net_ixgbe.so \
+ $(LIB_PATH)/librte_kvargs.so \
+ $(LIB_PATH)/librte_net_hinic.so \
+ $(LIB_PATH)/librte_net_i40e.so \
+ $(LIB_PATH)/librte_net_virtio.so \
+ $(LIB_PATH)/librte_bus_vdev.so \
+ $(LIB_PATH)/librte_net.so \
+ $(LIB_PATH)/librte_rcu.so \
+ $(LIB_PATH)/librte_ethdev.so \
+ $(LIB_PATH)/librte_pdump.so \
+ $(LIB_PATH)/librte_bpf.so \
+ $(LIB_PATH)/librte_pcapng.so \
+ $(LIB_PATH)/librte_security.so \
+ $(LIB_PATH)/librte_cryptodev.so
DEP_LIBS = $(LWIP_LIB) $(LIBRTE_LIB)
--
2.23.0