From 07453da7156bb1775c45a41772b81b89e5a4fabc Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 1 Mar 2016 15:55:23 +0200 Subject: [PATCH] Disable unmaintained librte_power as per upstream recommendation --- dpdk-2.2-examples.patch | 12 ------------ dpdk.spec | 3 +++ 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/dpdk-2.2-examples.patch b/dpdk-2.2-examples.patch index 3a2bb54..115ce6a 100644 --- a/dpdk-2.2-examples.patch +++ b/dpdk-2.2-examples.patch @@ -10,15 +10,3 @@ diff -up dpdk-2.2.0/examples/ip_pipeline/Makefile.examples dpdk-2.2.0/examples/i CFLAGS += $(WERROR_FLAGS) -Wno-error=unused-function -Wno-error=unused-variable include $(RTE_SDK)/mk/rte.extapp.mk -diff -up dpdk-2.2.0/examples/Makefile.examples dpdk-2.2.0/examples/Makefile ---- dpdk-2.2.0/examples/Makefile.examples 2015-12-15 19:06:58.000000000 +0200 -+++ dpdk-2.2.0/examples/Makefile 2016-01-20 14:28:43.280070250 +0200 -@@ -76,7 +76,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost - DIRS-$(CONFIG_RTE_LIBRTE_XEN_DOM0) += vhost_xen - DIRS-y += vmdq - DIRS-y += vmdq_dcb --DIRS-$(CONFIG_RTE_LIBRTE_POWER) += vm_power_manager -+#DIRS-$(CONFIG_RTE_LIBRTE_POWER) += vm_power_manager - DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += l2fwd-crypto - - include $(RTE_SDK)/mk/rte.extsubdir.mk diff --git a/dpdk.spec b/dpdk.spec index 12c5077..396c34f 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -157,6 +157,8 @@ setconf CONFIG_RTE_MACHINE '"default"' setconf CONFIG_RTE_NEXT_ABI n setconf CONFIG_RTE_LIBRTE_CRYPTODEV n setconf CONFIG_RTE_LIBRTE_MBUF_OFFLOAD n +# Disable unmaintained features +setconf CONFIG_RTE_LIBRTE_POWER n # Enable automatic driver loading from this path setconf CONFIG_RTE_EAL_PMD_PATH '"%{pmddir}"' @@ -294,6 +296,7 @@ install -m 644 ${comblib} %{buildroot}/%{_libdir}/${comblib} - Drop no longer needed bnx2x patch, the gcc false positive has been fixed - Drop no longer needed -Wno-error=array-bounds from CFLAGS - Eliminate the need for the enic patch by eliminating second -Wall from CFLAGS +- Disable unmaintained librte_power as per upstream recommendation * Mon Feb 15 2016 Neil Horman 2.2.0-5 - Fix ftbfs isssue (1307431)