diff options
| author | WU CHIA CHUAN <chia.chuan.wu@intel.com> | 2015-07-10 21:23:52 +0800 |
|---|---|---|
| committer | Saul Wold <sgw@linux.intel.com> | 2015-07-10 08:17:08 -0700 |
| commit | de7785e1cb4f33ad2087a7da71def9401a6a284b (patch) | |
| tree | f3412498d994de415813fac4738d9656229cae0e /meta-isg | |
| parent | b3f37c6f02ab2de7e78bcfb9ae1ce78cb11b208b (diff) | |
| download | meta-intel-de7785e1cb4f33ad2087a7da71def9401a6a284b.tar.gz | |
meta-isg: dpdk v2.0.0: add patch to handle vhost and ip_fragmentation applications
Introduce a patch to enable/disable the vhost and ip_fragmentation examples applications
under common_linuxapp config file. The flag introduce is controlled by PACKAGECONFIG.
Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta-isg')
| -rw-r--r-- | meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-2.0.0-dpdk-enable-VHOST-and-ip_fragmentation-in-common_linuxapp.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-2.0.0-dpdk-enable-VHOST-and-ip_fragmentation-in-common_linuxapp.patch b/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-2.0.0-dpdk-enable-VHOST-and-ip_fragmentation-in-common_linuxapp.patch new file mode 100644 index 00000000..45ce5e05 --- /dev/null +++ b/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-2.0.0-dpdk-enable-VHOST-and-ip_fragmentation-in-common_linuxapp.patch | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | From 3d3c03d947394696565b3bb7bed8c900de057a28 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: WU CHIA CHUAN <chia.chuan.wu@intel.com> | ||
| 3 | Date: Thu, 2 Jul 2015 15:59:18 +0800 | ||
| 4 | Subject: [PATCH] dpdk enable VHOST and ip_fragmentation in common_linuxapp config | ||
| 5 | |||
| 6 | Introduce CONFIG_VHOST_ENABLED for package config selection purpose in | ||
| 7 | building vhost feature. | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [configuration] | ||
| 10 | |||
| 11 | Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com> | ||
| 12 | --- | ||
| 13 | config/common_linuxapp | 11 ++++++++--- | ||
| 14 | 1 file changed, 8 insertions(+), 3 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/config/common_linuxapp b/config/common_linuxapp | ||
| 17 | index 0b25f34..000f950 100644 | ||
| 18 | --- a/config/common_linuxapp | ||
| 19 | +++ b/config/common_linuxapp | ||
| 20 | @@ -406,19 +406,24 @@ CONFIG_RTE_LIBRTE_PIPELINE=y | ||
| 21 | CONFIG_RTE_LIBRTE_KNI=y | ||
| 22 | CONFIG_RTE_KNI_PREEMPT_DEFAULT=y | ||
| 23 | CONFIG_RTE_KNI_KO_DEBUG=n | ||
| 24 | -CONFIG_RTE_KNI_VHOST=n | ||
| 25 | +CONFIG_RTE_KNI_VHOST=$(CONFIG_VHOST_ENABLED) | ||
| 26 | CONFIG_RTE_KNI_VHOST_MAX_CACHE_SIZE=1024 | ||
| 27 | -CONFIG_RTE_KNI_VHOST_VNET_HDR_EN=n | ||
| 28 | +CONFIG_RTE_KNI_VHOST_VNET_HDR_EN=$(CONFIG_VHOST_ENABLED) | ||
| 29 | CONFIG_RTE_KNI_VHOST_DEBUG_RX=n | ||
| 30 | CONFIG_RTE_KNI_VHOST_DEBUG_TX=n | ||
| 31 | |||
| 32 | # | ||
| 33 | +# Compile ip_fragmentation | ||
| 34 | +# | ||
| 35 | +CONFIG_RTE_IP_FRAG=y | ||
| 36 | + | ||
| 37 | +# | ||
| 38 | # Compile vhost library | ||
| 39 | # fuse-devel is needed to run vhost-cuse. | ||
| 40 | # fuse-devel enables user space char driver development | ||
| 41 | # vhost-user is turned on by default. | ||
| 42 | # | ||
| 43 | -CONFIG_RTE_LIBRTE_VHOST=n | ||
| 44 | +CONFIG_RTE_LIBRTE_VHOST=$(CONFIG_VHOST_ENABLED) | ||
| 45 | CONFIG_RTE_LIBRTE_VHOST_USER=y | ||
| 46 | CONFIG_RTE_LIBRTE_VHOST_DEBUG=n | ||
| 47 | |||
| 48 | -- | ||
| 49 | 1.7.9.5 | ||
| 50 | |||
