diff options
Diffstat (limited to 'meta-isg/common/recipes-extended/dpdk')
-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 | |||