From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout4.w1.samsung.com (mailout4.w1.samsung.com [210.118.77.14]) by dpdk.org (Postfix) with ESMTP id 37E91325A for ; Tue, 27 Jun 2017 12:24:56 +0200 (CEST) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OS70008EBLJ15A0@mailout4.w1.samsung.com> for dev@dpdk.org; Tue, 27 Jun 2017 11:24:55 +0100 (BST) Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170627102454eucas1p1f8b3f96cf55583a46c8a23f435c05c66~L846hZhfx2175921759eucas1p1k; Tue, 27 Jun 2017 10:24:54 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges4.samsung.com (EUCPMTA) with SMTP id 1A.9A.04729.67232595; Tue, 27 Jun 2017 11:24:54 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170627102454eucas1p14b2a1024d77158ad0bf40d62e6ad4365~L845ynkn41988419884eucas1p1z; Tue, 27 Jun 2017 10:24:54 +0000 (GMT) X-AuditID: cbfec7f4-f79806d000001279-78-595232765841 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 5F.F9.20206.57232595; Tue, 27 Jun 2017 11:24:53 +0100 (BST) Received: from imaximets.rnd.samsung.ru ([106.109.129.180]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OS700MK2BL73140@eusync3.samsung.com>; Tue, 27 Jun 2017 11:24:53 +0100 (BST) From: Ilya Maximets To: dev@dpdk.org, David Marchand , Sergio Gonzalez Monroy , Thomas Monjalon Cc: Heetae Ahn , Yuanhan Liu , Jianfeng Tan , Neil Horman , Yulong Pei , Bruce Richardson , Jerin Jacob , Ilya Maximets Date: Tue, 27 Jun 2017 13:24:40 +0300 Message-id: <1498559080-27331-3-git-send-email-i.maximets@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1498559080-27331-1-git-send-email-i.maximets@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHIsWRmVeSWpSXmKPExsWy7djP87plRkGRBp9Pa1rcWGVvsaKjncXi 3aftTBbTPt9mt7jS/pPdYuIkE4vu2V/YLG41n2SzWDHhCKPFpwcnWCxaluxksvj24DuzA4/H xf47jB4bTvSzevxasJTV48a/W2wei/e8ZPI4dnMau0ffllWMHle+r2YM4IjisklJzcksSy3S t0vgyrhxZz9rwSvRitONDg2MM4W6GDk4JARMJA48Kepi5AQyxSQu3FvP1sXIxSEksJRRoq1x CxtIQkjgM6PEo/25EEUmEhOOP2OGKFrGKPFn1V2ojmYmiRUdFxlBqtgEdCROrT7CCJIQEVjI KNH48wRYC7PASSaJ/X9PsIHsFhZwk5i0zwKkgUVAVWLSkpvsIDYvUHjz1EesEOvkJG6e62QG sTkF3CWWvf7HDhFfxy5x+mMSxAuyEpsOMEOEXSRmfDsI1Sos8er4FqhyGYnLk7tZQE6QEGhm lGhYdYkRwpnAKPGleTkTRJW9xKmbV8FsZgE+iUnbpjNDLOCV6GgTgijxkLh9egYrRNhR4nJH DsTz1xkldi+7xziBUWYBI8MqRpHU0uLc9NRiE73ixNzi0rx0veT83E2MwFRw+t/xLzsYFx+z OsQowMGoxMMbwBoYKcSaWFZcmXuIUYKDWUmE9zdzUKQQb0piZVVqUX58UWlOavEhRmkOFiVx Xq5T1yKEBNITS1KzU1MLUotgskwcnFINjBOm+pyZLNKa1ay6klV+Ev/P9LA/Yn896h8eUpD1 XONTUnuvm93vW8e7xJtN/JlbDSpczhdzZJz4lqm94oVUZU9V2a30efvYMkOWJP0U6fYIU9og 2xksfj0toSvjjbeNTavEnfnPH33RcJ+UyPH0ItMsPue2b84vGHlfVPpE7BaeG3k9KoRdiaU4 I9FQi7moOBEAJvhqzQEDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t/xq7qlRkGRBgufmlncWGVvsaKjncXi 3aftTBbTPt9mt7jS/pPdYuIkE4vu2V/YLG41n2SzWDHhCKPFpwcnWCxaluxksvj24DuzA4/H xf47jB4bTvSzevxasJTV48a/W2wei/e8ZPI4dnMau0ffllWMHle+r2YM4Ihys8lITUxJLVJI zUvOT8nMS7dVCg1x07VQUshLzE21VYrQ9Q0JUlIoS8wpBfKMDNCAg3OAe7CSvl2CW8aNO/tZ C16JVpxudGhgnCnUxcjJISFgIjHh+DNmCFtM4sK99WxdjFwcQgJLGCX+vvvGDuG0Mkks7tjJ ClLFJqAjcWr1EUaQhIjAQkaJC6u/MIM4zAKnmSTeLLvP0sXIwSEs4CYxaZ8FSAOLgKrEpCU3 2UFsXqDw5qmPWCHWyUncPNcJtppTwF1i2et/UNuaGSV+z53PPoGRdwEjwypGkdTS4tz03GIj veLE3OLSvHS95PzcTYzA6Nh27OeWHYxd74IPMQpwMCrx8P5gCowUYk0sK67MPcQowcGsJML7 mzkoUog3JbGyKrUoP76oNCe1+BCjKdBVE5mlRJPzgZGbVxJvaGJobmloZGxhYW5kpCTOO/XD lXAhgfTEktTs1NSC1CKYPiYOTqkGxtiA5cnmpjlpX/h0ljQ0G195/nZvht29fTVV+tuW3Nov +q13F297g05hmN0WBZ3dPgHbl/N6rO933Z3k7by5xdDto3xIayvTnfeWN1/ySypf7ki3Ztge eF/IOVSS827iZWnDyWcm2mRNapwQN7VBR8NQbz17oEzHXo+Z9qprNvJd237M2rteiaU4I9FQ i7moOBEA0zIdz6QCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170627102454eucas1p14b2a1024d77158ad0bf40d62e6ad4365 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?UTF-8?B?SWx5YSBNYXhpbWV0cxtTUlItVmlydHVhbGl6YXRpb24gTGFi?= =?UTF-8?B?G+yCvOyEseyghOyekBtMZWFkaW5nIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?SWx5YSBNYXhpbWV0cxtTUlItVmlydHVhbGl6YXRpb24gTGFi?= =?UTF-8?B?G1NhbXN1bmcgRWxlY3Ryb25pY3MbTGVhZGluZyBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0NJU0hRG0MxMEdEMDFHRDAxMDE1NA==?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170627102454eucas1p14b2a1024d77158ad0bf40d62e6ad4365 X-RootMTR: 20170627102454eucas1p14b2a1024d77158ad0bf40d62e6ad4365 References: <1498553186-24541-1-git-send-email-i.maximets@samsung.com> <1498559080-27331-1-git-send-email-i.maximets@samsung.com> Subject: [dpdk-dev] [PATCH v9 2/2] config: enable vhost numa awareness by default X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2017 10:24:56 -0000 It is safe to enable LIBRTE_VHOST_NUMA by default for all configurations where libnuma is already a default dependency. DPDK_DEP_NUMA not needed anymore. Signed-off-by: Ilya Maximets --- config/common_linuxapp | 1 + config/defconfig_arm-armv7a-linuxapp-gcc | 1 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 1 + devtools/test-build.sh | 4 ---- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config/common_linuxapp b/config/common_linuxapp index 64bef87..74c7d64 100644 --- a/config/common_linuxapp +++ b/config/common_linuxapp @@ -42,6 +42,7 @@ CONFIG_RTE_KNI_KMOD=y CONFIG_RTE_LIBRTE_KNI=y CONFIG_RTE_LIBRTE_PMD_KNI=y CONFIG_RTE_LIBRTE_VHOST=y +CONFIG_RTE_LIBRTE_VHOST_NUMA=y CONFIG_RTE_LIBRTE_PMD_VHOST=y CONFIG_RTE_LIBRTE_PMD_AF_PACKET=y CONFIG_RTE_LIBRTE_PMD_TAP=y diff --git a/config/defconfig_arm-armv7a-linuxapp-gcc b/config/defconfig_arm-armv7a-linuxapp-gcc index e06b1d4..00bc2ab 100644 --- a/config/defconfig_arm-armv7a-linuxapp-gcc +++ b/config/defconfig_arm-armv7a-linuxapp-gcc @@ -49,6 +49,7 @@ CONFIG_RTE_TOOLCHAIN_GCC=y # NUMA is not supported on ARM CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n +CONFIG_RTE_LIBRTE_VHOST_NUMA=n # ARM doesn't have support for vmware TSC map CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=n diff --git a/config/defconfig_arm64-dpaa2-linuxapp-gcc b/config/defconfig_arm64-dpaa2-linuxapp-gcc index f78449d..b061fb0 100644 --- a/config/defconfig_arm64-dpaa2-linuxapp-gcc +++ b/config/defconfig_arm64-dpaa2-linuxapp-gcc @@ -47,6 +47,7 @@ CONFIG_RTE_PKTMBUF_HEADROOM=256 # Doesn't support NUMA CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=y +CONFIG_RTE_LIBRTE_VHOST_NUMA=n # # Compile Support Libraries for DPAA2 diff --git a/devtools/test-build.sh b/devtools/test-build.sh index 61bdce7..0dbc04a 100755 --- a/devtools/test-build.sh +++ b/devtools/test-build.sh @@ -41,7 +41,6 @@ default_path=$PATH # - DPDK_DEP_ISAL_CRYPTO (y/[n]) # - DPDK_DEP_LDFLAGS # - DPDK_DEP_MOFED (y/[n]) -# - DPDK_DEP_NUMA (y/[n]) # - DPDK_DEP_PCAP (y/[n]) # - DPDK_DEP_SSL (y/[n]) # - DPDK_DEP_SZE (y/[n]) @@ -124,7 +123,6 @@ reset_env () unset DPDK_DEP_ISAL_CRYPTO unset DPDK_DEP_LDFLAGS unset DPDK_DEP_MOFED - unset DPDK_DEP_NUMA unset DPDK_DEP_PCAP unset DPDK_DEP_SSL unset DPDK_DEP_SZE @@ -163,8 +161,6 @@ config () # sed -ri 's,(TEST_PMD_RECORD_.*=)n,\1y,' $1/.config ) # Automatic configuration - test "$DPDK_DEP_NUMA" != y || \ - sed -ri 's,(NUMA=)n,\1y,' $1/.config sed -ri 's,(LIBRTE_IEEE1588=)n,\1y,' $1/.config sed -ri 's,(BYPASS=)n,\1y,' $1/.config test "$DPDK_DEP_ARCHIVE" != y || \ -- 2.7.4