From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0089.outbound.protection.outlook.com [157.56.112.89]) by dpdk.org (Postfix) with ESMTP id 404563B5 for ; Fri, 8 Jan 2016 15:30:47 +0100 (CET) Received: from HE1PR02MB1148.eurprd02.prod.outlook.com (10.163.173.142) by HE1PR02MB1291.eurprd02.prod.outlook.com (10.169.115.149) with Microsoft SMTP Server (TLS) id 15.1.361.13; Fri, 8 Jan 2016 14:30:45 +0000 Received: from DB3PR02CA0030.eurprd02.prod.outlook.com (10.242.134.40) by HE1PR02MB1148.eurprd02.prod.outlook.com (10.163.173.142) with Microsoft SMTP Server (TLS) id 15.1.361.13; Fri, 8 Jan 2016 14:30:42 +0000 Received: from DB3FFO11FD050.protection.gbl (2a01:111:f400:7e04::155) by DB3PR02CA0030.outlook.office365.com (2a01:111:e400:9814::40) with Microsoft SMTP Server (TLS) id 15.1.365.19 via Frontend Transport; Fri, 8 Jan 2016 14:30:42 +0000 Authentication-Results: spf=fail (sender IP is 12.216.194.146) smtp.mailfrom=ezchip.com; ezchip.com; dkim=none (message not signed) header.d=none;ezchip.com; dmarc=none action=none header.from=ezchip.com; Received-SPF: Fail (protection.outlook.com: domain of ezchip.com does not designate 12.216.194.146 as permitted sender) receiver=protection.outlook.com; client-ip=12.216.194.146; helo=lab-14.internal.tilera.com; Received: from lab-14.internal.tilera.com (12.216.194.146) by DB3FFO11FD050.mail.protection.outlook.com (10.47.217.81) with Microsoft SMTP Server (TLS) id 15.1.355.15 via Frontend Transport; Fri, 8 Jan 2016 14:30:41 +0000 Received: (from lsun@localhost) by lab-14.internal.tilera.com (8.14.7/8.14.7/Submit) id u08EUeGI021680; Fri, 8 Jan 2016 09:30:40 -0500 From: Liming Sun To: Date: Fri, 8 Jan 2016 09:30:36 -0500 Message-ID: <1452263438-21634-1-git-send-email-lsun@ezchip.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1450193851-9100-4-git-send-email-lsun@ezchip.com> References: <1450193851-9100-4-git-send-email-lsun@ezchip.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD050; 1:P9OS1RzVFa+EgA4h+KWDbKkbAGOFVbUntO1IdQ201ti5Vd7qNYl2buNwvj37S5NIog09IKiIWKS/yYeE0JmzcEC2cJJ+i+NVdymBekXnW8yKUqYxaf0/qy3TB4J6DIojSZHiuFPdG2gZR+DH57CYhhYF2G7Ifa9151BK0lmtB/h+T/sn5wNN0e/Q4Bo7k4keoUsf6bAFf7uZ/FOrFAGYycI4yQZtDUuU2UlVhrkWSkL4YUpzwYTniqiyKCnkb2zm7Du0L0xwa9inaxrcu+Ri5cw0F5iHIpbJNR7TucX9RhRDiuKQ9QoDo7wdCx+DBVDLDcB8lGRpuufF18SYKznqVIurbqdwL4j5P7Wf2IDaZAT1ElTE695mw48W6fXX9k4h9OS7fPS+Hg66SKzVQET1/Q== X-Forefront-Antispam-Report: CIP:12.216.194.146; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(50986999)(4326007)(586003)(47776003)(110136002)(50466002)(33646002)(76176999)(50226001)(450100001)(6806005)(2351001)(11100500001)(107886002)(86362001)(229853001)(104016004)(2950100001)(87936001)(92566002)(5003940100001)(36756003)(42186005)(1096002)(4001430100002)(19580395003)(85426001)(48376002)(1220700001)(5008740100001)(105606002)(2906002)(5001970100001)(189998001)(106466001)(19580405001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR02MB1148; H:lab-14.internal.tilera.com; FPR:; SPF:Fail; PTR:wb-fw1.tilera.com; A:1; MX:1; LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB1148; 2:4ReWYBzjaR9cQvJ+mBOwKIn47okuyN3NkRDzV9wUlhCX1Yn3+gmkwFNYsFz2B7V3a+K8HQBKNlVmjRDp1ozeKumhzzrVjWJwb5xcNyGzOIYP2qxZYFSnqnm9cpZcPHFbOiJUp95THvArmoxDAAIW6Q==; 3:hb6iZpdwM6o96PSRu2f9dREAkbFU6uR/Cc8nWDSdCIz2G0k2ks27JbF3Qi+P48BClM4yCp/Unu0b6/VslLaO6kih2o+U9jwuIr1mxLFpKYnt6E8a3k7Oy4D1Xu1Sb6oDsD16mN2SCIO4gbqhPcx+05Mrx8ENaFFJrd6npe3ErHowdH2EaM6mofUe1BmJS4Ufd6JBVlxY4wIivrPEskWNWMRs0V3IlleFcuL4G6H+KNM=; 25:7TwdflYmu0GTcPRZmoTMD9Pjh8O+yRjmyRcCu2t31TgfkCziN4nhzpN7MSKCR2YEaEGOIV94t+NvVQayI7FNCvn8jPdh1hKT5XNhcyJV/nUTFiF2eEzA1Ey7BqFVsflwHOv4bzL2ZHvaHaD91Abr3eqE4lyyVh3DJPQhxdo2om+g3Zn2HyrtDxpJMO8KWhLEuFGYCTiVLPR77JzInu2MYZOeSsGVwwWRGf8zwdINGDVS++Bxu6K8DGN/BqJQyAtP; 20:GaZ4j1F+t+Ao+zIfPDZnngSqbdep0mbQ0oL41cJsHQy1KgyMYe51KT7NvwBv4Ln5y5G0VmFI3Viq3ptXtEmEI5vwmf/mT7D2b+RXtopbjgI5vRn55m+OUH0k64PpFzpZvGsjCM5ueYWtReIRHE7j0HSlL8wmX9/SsBXNFmu95OQ= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HE1PR02MB1148; X-MS-Office365-Filtering-Correlation-Id: 17685a6a-984b-44c3-6d04-08d3183849b7 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(121898900299872); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(13015025)(13017025)(8121501046)(13018025)(520078)(10201501046)(3002001); SRVR:HE1PR02MB1148; BCL:0; PCL:0; RULEID:; SRVR:HE1PR02MB1148; X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB1148; 4:eZUNnY980rcDgh50c87vLAWjHHpR4QYgw0I/KGjIXrKbXaJOdeu3/hr1T241HPedoWSHG69n6D/U0LHMDtmOLdqLMlEGuBE+X5CxpcHuhC1eLb2IEDvtlS4+oZUqzYP7xHcQnn7zBkQETEiawYiT6Io/w5NA1vLhoKYiAep3gq/R9LBd6SVKT1MR4Yh91DV+xzVCPTmQmaz+u9SetfQRlXFo6F0pRry45hA0Kd/7dF4kHBn7SdrpT5j9qQVh/VnlkY8wB+kyZq7SwlhKhVIgN1IR0LE7k7iAKV07L48L7Yo6r5EwDNKGPfxv/VaVtfokk20NZkTCC3oGQg+21YXOYLh2GVU8MpJyh2UdI/fB5KF4LK1iC1W9Y3pYdvpKjuASsSD+/H2T2OzCPM4gDvRSttjd1sUXMw3hV8tfBHece3/ly3weugstZTBY69USLOOql0OTB8+9hFCs14rBZ5bG7aw9YFK8u4rLWsu0HuiJLWI= X-Forefront-PRVS: 0815F8251E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR02MB1148; 23:ul01MzT46/JWXeq+EMxUJAdU22yoMMwSs6ybjv20H?= =?us-ascii?Q?zIUyiYjXDCL906snHhrUQuXqJTyM975yX5xzbUtiDWuqroigiYozR8vX0r4p?= =?us-ascii?Q?QKyWfThjyIKca0LLuithNR8qIJSPZgTTpjD6CzWNN8HB7+GkKuWiuH1wzDBP?= =?us-ascii?Q?cMSsBn2oa78dU0fKz29oSZUedcPee8xxesXrhfEUDO44tkgeLtPJA/PtfsFp?= =?us-ascii?Q?KnFKwTliLEh40l9NRZ80N2gl952JOoNS/Exo5k/B2/msbrMMP0Orc8/5qJbS?= =?us-ascii?Q?IjoYelluQkbutPeRKigN5QBh+3akcFUJBA/qWeIrfKUnGczlVtVGTG92XbBK?= =?us-ascii?Q?I/VH5cuMaro+6mlcJltBiMREOLh4OWnR1bR+ENY0k2eHVkDnY40ALhRV/o9+?= =?us-ascii?Q?Yz8G9eHA4LOLdmkWjy3oxlnKvzah6tVptPL9T73M7bWB49FGQr0sbevKcq/M?= =?us-ascii?Q?VarkAHZBhlV/htuHjwBjhjc5Mpz5AIBDyz96x5Sq8ALvpw7Os48yIwSzIYiT?= =?us-ascii?Q?q+5bGyDFk0gfhGYhDtemmaASrCL+wxIhuZ7fxkSIZCpRXtTuUgcWDPfSJhN9?= =?us-ascii?Q?EB0nt9L5l9dc6TBcQlu5eJVWTjcq++EzQuVK2aC78QdDUGifncrPi2yC18P4?= =?us-ascii?Q?rpeb0Y9UYtaFWjcK35bS1jEefZZzhwH1D7R+hLM70BNgJYNkZUzghrD3bLzv?= =?us-ascii?Q?itFYU6g0tyYATHgfpY2KcOcKwOGPa+8nzqp6HnmTT03IurvPLpBQuv+Mx1Lu?= =?us-ascii?Q?Wea8/j1hk7W4Hle1tDPfGHat3YILVYbv94wPeeB1qX8oBeX51Ley6GP0Oyfv?= =?us-ascii?Q?0u+iAGOa5R+kcMolT182vzZ6tPAVNn/hG9F5fH9WkbPkvNN5cvkMVcBbSPKW?= =?us-ascii?Q?srU4UBxcu75/8iZATRpg9IU/Ect/Wi49v4aJNF2PXaALhj4s/KuEaVSym665?= =?us-ascii?Q?eSB/5iTzkbhNmI7soWzR1mlHpY3V87hgkR6WQHQ2KGdO/oV1wC4XKUTVu3aK?= =?us-ascii?Q?Ty95I+p2dyjZtv2/lVuNnCSbNDED281j6MEk9Tof69E9AkA2hBFgcjx/mcKU?= =?us-ascii?Q?EAVIuuJQB2fl49XhPe8/gLGhOqca9FJI2/rrJ27xEiU4ae0alz54Mjde0P/x?= =?us-ascii?Q?3lJWCjH/gDrw/ZtowALp37+aaQBEdro?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB1148; 5:4+yrN6sg9LfwMigTDJGAiesdtO4S8vUULxZ+mh/V433cbFGBU/2LTJNmfC8mBoq2o4h5ZHxHxQSj5S1lgPvarVX24U2eto7/ctPlf0GRV0cJIgMNhx+BZhVfBRQeJP7boacRbmJbot26xDdgCnuMiw==; 24:MCuKUJMoxLu0iGHspwbNI0kGFDlkKcsoouH87KAokBgMW7v2HBxucWpps6aP0aqGgjv3R4sxC2DbwewwyluQ75yH2l+P5SCN2nYtJMXtv2o= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2016 14:30:41.6968 (UTC) X-MS-Exchange-CrossTenant-Id: 0fc16e0a-3cd3-4092-8b2f-0a42cff122c3 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0fc16e0a-3cd3-4092-8b2f-0a42cff122c3; Ip=[12.216.194.146]; Helo=[lab-14.internal.tilera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR02MB1148 X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB1291; 2:zGR/314GFuhRj123IPMmsEBA447C5wONJ4rW2/gprG8XmJJyHgQ/cSDEMi8bI1/Tin4qXPamCC/MpuWA0oWhEu5JYJ8JwHHJFa6WFRbXrX4M9PUEpk/GFWX6mXjO3kJ1O9o06pYyeZ/KXT0fWs7EiQ==; 23:bzUTxaMfhJMbqMqdSyftiPTOLf00ns4ZyhAJt6Dgfd8L89wLNBWs/omKG8Jo2yHtNSvTg2uiF40MVQKIOg4xUDT8CCkP7WQmH25pT+NGp9pyFYGnthtzXYUY6qqUEjAfhABRCVQ+axtBJIYFXHgNeCVBALMfnCr8PvlauRRgwHwCSfRVycASj+M31Gr2SnFN X-OriginatorOrg: ezchip.com Subject: [dpdk-dev] [PATCH v2 1/3] driver/net/mpipe: support native build on tilegx platform. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 14:30:47 -0000 This submit updates the CROSS setting to support native build on TileGx platform. It also enable the combined library by default. Signed-off-by: Liming Sun Acked-by: Zhigang Lu --- MAINTAINERS | 3 ++- config/defconfig_tile-tilegx-linuxapp-gcc | 4 ++++ mk/arch/tile/rte.vars.mk | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3292e84..8f7e9ca 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -138,8 +138,9 @@ M: Jianbo Liu F: lib/librte_eal/common/include/arch/arm/*_64.h F: lib/librte_acl/acl_run_neon.* -EZchip TILE-Gx +EZchip TILE-Gx/Mx M: Zhigang Lu +M: Liming Sun F: lib/librte_eal/common/include/arch/tile/ F: drivers/net/mpipe/ diff --git a/config/defconfig_tile-tilegx-linuxapp-gcc b/config/defconfig_tile-tilegx-linuxapp-gcc index 9df9d7f..fb61bcd 100644 --- a/config/defconfig_tile-tilegx-linuxapp-gcc +++ b/config/defconfig_tile-tilegx-linuxapp-gcc @@ -70,3 +70,7 @@ CONFIG_RTE_LIBRTE_SCHED=n CONFIG_RTE_LIBRTE_PORT=n CONFIG_RTE_LIBRTE_TABLE=n CONFIG_RTE_LIBRTE_PIPELINE=n +CONFIG_RTE_LIBRTE_CXGBE_PMD=n + +# Compile combined lib by default. +CONFIG_RTE_BUILD_COMBINE_LIBS=y diff --git a/mk/arch/tile/rte.vars.mk b/mk/arch/tile/rte.vars.mk index b518986..06dab18 100644 --- a/mk/arch/tile/rte.vars.mk +++ b/mk/arch/tile/rte.vars.mk @@ -30,7 +30,13 @@ ARCH ?= tile + +HOST_ARCH := ${shell uname -m} +ifneq ($(filter tile%,${HOST_ARCH}),) +CROSS = +else CROSS ?= tile- +endif CPU_CFLAGS ?= CPU_LDFLAGS ?= -- 1.8.3.1