From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by dpdk.org (Postfix) with ESMTP id EACAF5323 for ; Thu, 29 Jun 2017 07:59:43 +0200 (CEST) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OSA003BKONIXL10@mailout2.w1.samsung.com> for dev@dpdk.org; Thu, 29 Jun 2017 06:59:42 +0100 (BST) Received: from eusmges5.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170629055941eucas1p17e414f653deddf7d85928eb81c026172~Mgj6qo8QL2823728237eucas1p1x; Thu, 29 Jun 2017 05:59:41 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges5.samsung.com (EUCPMTA) with SMTP id D5.28.25577.D4794595; Thu, 29 Jun 2017 06:59:41 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170629055940eucas1p1c9adcb26bec3ce5de97fe56753fd941a~Mgj5uII2Z2843528435eucas1p1x; Thu, 29 Jun 2017 05:59:40 +0000 (GMT) X-AuditID: cbfec7f5-f792f6d0000063e9-63-5954974db735 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id CB.9A.17452.C4794595; Thu, 29 Jun 2017 06:59:40 +0100 (BST) Received: from imaximets.rnd.samsung.ru ([106.109.129.180]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OSA0003ION05H20@eusync4.samsung.com>; Thu, 29 Jun 2017 06:59:40 +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 , Hemant Agrawal , Ilya Maximets Date: Thu, 29 Jun 2017 08:59:20 +0300 Message-id: <1498715960-2668-3-git-send-email-i.maximets@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1498715960-2668-1-git-send-email-i.maximets@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSfUgTYRzHfe5ut9twcZ2iT74ELeqPKMtUOHrRiswjCCRHZUQ58pjS5mSn IwVz5WhzUi4FV4lNU1M3fM1sZZmKbL6AqZk4kxBMSQkJX7IpSc7T/z5fvt/f8/09Dw+BUutY EJGalsFq0uRKKS7G2pyez0cuWWSJxwrMe+hxWwxdazRg9MLiW4QuWfompOumm3F61OAR0k+K IumC0mWcnsjrw+lacw+gF6d6MVpf9Q6h/0ytomckzHDhJGCaegsFzFp5tYAZ35jAmcoPcwjj dJcImeYFB8I8brUBZnTVDuJF18WnklllqpbVHI1OEqfMtgyi6WUBd19OtgMdcFEmICIgGQmn P9pRngPg0PdG3ATEBEVWA1j73CrkxRKAxUV6wc7EP4tz23gF4EiHR+g1KDIPga7pK17GycOw 394DvCF/sgLA+57erQ6UXEag0XnVy35kHJxx8N0YeQD+LR7CvSwhY+HazFOMb9sL3YP5WxkR eQEuVzVg3kMh2SGEL9pXERMgNkUobOncvsN5uDA3v72pH5x3tQp5DoH5xi6En80DUGcbAbww A7icV4PwqRjY7/6K8JvugkVtFpQvkEDjQ4pHBlrrIZ8+Cxv7HgH+JcYAXFx7hphBSDnwsQF/ NpNTKVguKoyTq7jMNEXYbbWqBWx+iYEN14oDVDtPdAOSAFJfiU99QiIlkGu5LFU3gAQq9ZfE 6WSJlCRZnpXNatS3NJlKlusGwQQmDZSI+8euUaRCnsHeYdl0VrPjIoQoSAcmtL/1Sb/Ww5XD 48U/qmNNkvJ7iv0J6sUmnXtlH0poAjOi1Q8uh74eWrFGNAgrm83aCMuX+dwyg6xEXpOTrS6V 6n4Gl1PJfRcdBW9yY+ztozkr+k4uKTPJ/n531Ox0fP7Ng21xFemOcxDlbkyBgU+yqLrQk9HD p62+XYGG41KMS5GHH0I1nPw/5L8cXQ4DAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprDIsWRmVeSWpSXmKPExsVy+t/xa7o+00MiDfoOqFncWGVvsaKjncXi 3aftTBbTPt9mt1j5eCObxZX2n+wWEyeZWHTP/sJmcav5JJvFiglHGC0+PTjBYtGyZCeTxbcH 35kdeD0u9t9h9Nhwop/V49eCpaweN/7dYvNYvOclk8exm9PYPTa+28Hk0bdlFaPHle+rGQM4 o9xsMlITU1KLFFLzkvNTMvPSbZVCQ9x0LZQU8hJzU22VInR9Q4KUFMoSc0qBPCMDNODgHOAe rKRvl+CW8WzTOeaCuWIVi+7sZmxgPC7UxcjJISFgIvF3+jF2CFtM4sK99WxdjFwcQgJLGCVe //nICOG0Mkn8nr6dGaSKTUBH4tTqI2AJEYGFjBIXVn9hBnGYBb4wSex5sZsVpEpYwF3i6Y7V YB0sAqoSPyZfYAOxeQVcJX49ncECsU9O4ua5TrAaTgE3iS9L1oHFhQSaGCWmznWZwMi7gJFh FaNIamlxbnpusaFecWJucWleul5yfu4mRmDMbDv2c/MOxksbgw8xCnAwKvHwrlgVHCnEmlhW XJl7iFGCg1lJhNe9ISRSiDclsbIqtSg/vqg0J7X4EKMp0FETmaVEk/OB8ZxXEm9oYmhuaWhk bGFhbmSkJM5b8uFKuJBAemJJanZqakFqEUwfEwenVAPjLPMqBn2fECadJIkl/X1yoQIBdT6f fv2VbzabHbNEkMt2prrT8dmxb+4f3+6ay3lrQ5XBtpUXzbJPN63avLF7m3eA4GtzRx7zlk/n srb1HNNYcZr52MfLi59tKWuyeJHK+Zxdb2Vgow37x3PxZs2zPcXZVtkpb2EKs7Z6Pm1OhU/G zsLK5LdKLMUZiYZazEXFiQAlbuxmrwIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170629055940eucas1p1c9adcb26bec3ce5de97fe56753fd941a X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 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: 20170629055940eucas1p1c9adcb26bec3ce5de97fe56753fd941a X-RootMTR: 20170629055940eucas1p1c9adcb26bec3ce5de97fe56753fd941a References: <1498559080-27331-1-git-send-email-i.maximets@samsung.com> <1498715960-2668-1-git-send-email-i.maximets@samsung.com> Subject: [dpdk-dev] [PATCH v10 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: Thu, 29 Jun 2017 05:59:44 -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 Acked-by: Hemant Agrawal --- 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=n +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