mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
meta-isg: dpdk v1.8: add patches for qat, vhost and libvirt PACKAGECONFIG
Introduce two patches to enable DPDK config file to support PACKAGECONFIG options for QAT, vhost and libvirt. Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
parent
08884038d9
commit
634f91c982
|
|
@ -0,0 +1,43 @@
|
|||
From c1a59d62f2aa7656060d8ebcc8e45e852d931ff1 Mon Sep 17 00:00:00 2001
|
||||
From: Ong Boon Leong <boon.leong.ong@intel.com>
|
||||
Date: Tue, 17 Feb 2015 00:23:12 +0800
|
||||
Subject: [PATCH] dpdk: enable VHOST build config in common_linuxapp config
|
||||
|
||||
Introduce CONFIG_VHOST_ENABLED for package config selection purpose in
|
||||
building vhost feature.
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
|
||||
---
|
||||
config/common_linuxapp | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/config/common_linuxapp b/config/common_linuxapp
|
||||
index 2f9643b..67f5edb 100644
|
||||
--- a/config/common_linuxapp
|
||||
+++ b/config/common_linuxapp
|
||||
@@ -361,9 +361,9 @@ CONFIG_RTE_LIBRTE_PIPELINE=y
|
||||
#
|
||||
CONFIG_RTE_LIBRTE_KNI=y
|
||||
CONFIG_RTE_KNI_KO_DEBUG=n
|
||||
-CONFIG_RTE_KNI_VHOST=n
|
||||
+CONFIG_RTE_KNI_VHOST=$(CONFIG_VHOST_ENABLED)
|
||||
CONFIG_RTE_KNI_VHOST_MAX_CACHE_SIZE=1024
|
||||
-CONFIG_RTE_KNI_VHOST_VNET_HDR_EN=n
|
||||
+CONFIG_RTE_KNI_VHOST_VNET_HDR_EN=$(CONFIG_VHOST_ENABLED)
|
||||
CONFIG_RTE_KNI_VHOST_DEBUG_RX=n
|
||||
CONFIG_RTE_KNI_VHOST_DEBUG_TX=n
|
||||
|
||||
@@ -372,7 +372,7 @@ CONFIG_RTE_KNI_VHOST_DEBUG_TX=n
|
||||
# fuse-devel is needed to run vhost.
|
||||
# fuse-devel enables user space char driver development
|
||||
#
|
||||
-CONFIG_RTE_LIBRTE_VHOST=n
|
||||
+CONFIG_RTE_LIBRTE_VHOST=$(CONFIG_VHOST_ENABLED)
|
||||
CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
|
||||
|
||||
#
|
||||
--
|
||||
1.7.9.5
|
||||
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
From 54c95ca8f76f412c94a9f61e3756420ac554310b Mon Sep 17 00:00:00 2001
|
||||
From: Ong Boon Leong <boon.leong.ong@intel.com>
|
||||
Date: Thu, 12 Feb 2015 16:33:49 +0800
|
||||
Subject: [PATCH] examples: add config variable to enable/disable dpdk_qat
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
This patch adss following example build configs:
|
||||
|
||||
1) CONFIG_EXAMPLE_DPDK_QAT is used to control dpdk_qat example
|
||||
by PACKAGECONFIG.
|
||||
|
||||
2) CONFIG_EXAMPLE_VM_POWER_MANAGER is used to control vm_power_manager
|
||||
example by PACKAGECONFIG.
|
||||
|
||||
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
|
||||
---
|
||||
examples/Makefile | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/examples/Makefile b/examples/Makefile
|
||||
index 81f1d2f..7e9c7bd 100644
|
||||
--- a/examples/Makefile
|
||||
+++ b/examples/Makefile
|
||||
@@ -40,7 +40,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
|
||||
DIRS-y += cmdline
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += distributor
|
||||
ifneq ($(ICP_ROOT),)
|
||||
-DIRS-y += dpdk_qat
|
||||
+DIRS-$(CONFIG_EXAMPLE_DPDK_QAT) += dpdk_qat
|
||||
endif
|
||||
DIRS-y += exception_path
|
||||
DIRS-y += helloworld
|
||||
@@ -68,6 +68,6 @@ DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_XEN_DOM0) += vhost_xen
|
||||
DIRS-y += vmdq
|
||||
DIRS-y += vmdq_dcb
|
||||
-DIRS-y += vm_power_manager
|
||||
+DIRS-$(CONFIG_EXAMPLE_VM_POWER_MANAGER) += vm_power_manager
|
||||
|
||||
include $(RTE_SDK)/mk/rte.extsubdir.mk
|
||||
--
|
||||
1.7.9.5
|
||||
|
||||
Loading…
Reference in New Issue
Block a user