From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0059.outbound.protection.outlook.com [157.55.234.59]) by dpdk.org (Postfix) with ESMTP id 3D1E15A63 for ; Tue, 15 Dec 2015 16:37:42 +0100 (CET) Received: from DB4PR02CA0048.eurprd02.prod.outlook.com (10.242.174.176) by HE1PR02MB1020.eurprd02.prod.outlook.com (10.163.172.150) with Microsoft SMTP Server (TLS) id 15.1.355.16; Tue, 15 Dec 2015 15:37:41 +0000 Received: from DB3FFO11FD037.protection.gbl (2a01:111:f400:7e04::102) by DB4PR02CA0048.outlook.office365.com (2a01:111:e400:983b::48) with Microsoft SMTP Server (TLS) id 15.1.355.16 via Frontend Transport; Tue, 15 Dec 2015 15:37:41 +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-43.internal.tilera.com; Received: from lab-43.internal.tilera.com (12.216.194.146) by DB3FFO11FD037.mail.protection.outlook.com (10.47.217.68) with Microsoft SMTP Server (TLS) id 15.1.346.13 via Frontend Transport; Tue, 15 Dec 2015 15:37:40 +0000 Received: (from lsun@localhost) by lab-43.internal.tilera.com (8.14.4/8.14.4/Submit) id tBFFbdA8009241; Tue, 15 Dec 2015 10:37:39 -0500 From: Liming Sun To: Date: Tue, 15 Dec 2015 10:37:29 -0500 Message-ID: <1450193851-9100-2-git-send-email-lsun@ezchip.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1450193851-9100-1-git-send-email-lsun@ezchip.com> References: <1450193851-9100-1-git-send-email-lsun@ezchip.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD037; 1:M2+kBaN06gR37MCYKicBTGYK3DfDXwuqaXc9rkkFzj5gocAcEXJ2cuOMIugNHoIJo2XUj9kYVeCLpXmf8n/8DOvqMqcbVq6oeYjxQmgiHYRzP5UDgfdbfBHN9SDR66wrdpeuoyZD6tHSfZ+GhJ7XzlBoajBXDSmjI0dv2ZIlgDOh9bQAiL21n8tWXHslDFVb9zL1RAfp41mTEwtOuhQ2g3S8vhtRiOhfeOJxOMhVmtnkyNP/t15CaOji0HYqI6gJIP4E/uhm2/8tOOZijD7h5GtAZDbqxoUyMm7MEMSKCyf8F1Z+az5dqZUrddx2eYLsgwft67cWpF6IMBEyLfa8OOd7sA96Wy8r4RgxqToHPATGyITZWJPLx2s4Hz0lKqdzscNKmNFi0iwQBWezPMGmf/lAw37WPPKTjDG89gdsPzo= X-Forefront-Antispam-Report: CIP:12.216.194.146; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(5003940100001)(92566002)(104016004)(50986999)(76176999)(6806005)(11100500001)(2950100001)(4001430100002)(450100001)(48376002)(50466002)(5008740100001)(586003)(1220700001)(42186005)(1096002)(50226001)(106466001)(19580405001)(105606002)(85426001)(36756003)(33646002)(19580395003)(229853001)(2351001)(107886002)(86362001)(5001970100001)(87936001)(47776003)(189998001)(110136002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR02MB1020; H:lab-43.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; HE1PR02MB1020; 2:BqvQYZj1b16uRc92kcqH4ZftUdKN8x41chXQW85XP8NOZWlyBx+RD0vQovTT5dlY/nTzvi4cQ/KkzyqkBgvWnIDLLkUfQv5p2gM9yRnQGwvEiuNDpEg7qJMUsvfYUBvaC98gnWfmj7g+0zEd7OnfvQ==; 3:7iCvZ2QZ4ePJ6sc16ZdrOFPtpvs6+n26cAWPragQM0hAh5CLHrEr8DKGwCOLbp0nk2qHH1Nyr+T30+qxrKYgRV9sMgbh3IMa4n59uPQjMXOa1FU29yDQh1Ummxy52Sf/Iurer/hZPuAyRkUlq7nJML191KrYNJPQ5dkPp3ucytEP6gkJ3TGutHDjwmc0YCmY00eiR3XVoJiR6riNheCxwvRSsqQ0QF2fzfkFnI9+pgs=; 25:MkSYkef9LFzdcY0MJI7FaU4Uq1RjGAfRdnhe3svMeR0idgqvlNjkBvlHID3Dt15xkBkzRJqIO6CiuK+s0KP8UogsiCWfEFS/J7DI2kstSvnFFIy9QqArpSe0vKDHW9roazFBrHT6c888xtQNwok4Z4I37giL+hhUJBsDazz4+E1rfSVtmysd7e9lxElEVjxfpAjgr/cb7g5njnvNXe1uZJlRaLpXGM2PU/YXsdeoPoJ/UIJdoqMWM1KUUqKAOsIesYX/Y8pilEGKrTZQN0qdTg==; 20:G7C/aTxvlVUrxEiYwwJ2KEWC6opjY280xiCYrNMTba84FfG+qf76C9Pjqb9o5Rw6pXXERJ2I7DySx5EQm5W08j8c2VGd7lc+/8+H1GHVcCob1pWWmuv+w53Zp/JDdzLANcOh7jNr/lkTXIzo86nB565EB0YdS1pyuB1W35CGfmk= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HE1PR02MB1020; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(121898900299872); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(10201501046)(3002001); SRVR:HE1PR02MB1020; BCL:0; PCL:0; RULEID:; SRVR:HE1PR02MB1020; X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB1020; 4:yQl51M8A0HH1s/mYAN3a9Uo7o/pAazODz9spDy8FBKhKDSS8mRzS4DVhRxU2AvOZaWbp2M2UQl5VGboxdj4KWwtXCGSWVtPf0qWdgYP3xDaovqy/eCOVxHOBs7NQSQJuhqeUX4NNVtoQrempa9GvoLGVRhc9giz779QQbdv6NcztW8dUJsS2lSriFPQLuvPedxyGrrE+jwE7X2A7e+NKDAhWGvSQnJNGnfEpBfHrcHwURsMjhJOLOgvPc2FJxOgxnARWiaslzT6vrgs3P2PVTCeFbmG3JRaAZ8EA4GflMwnB/Y19BneV66PWh7h491gqJm4CXjPhC0iWC6HH2WMDWf4wMNxebiNpX26R/FZDT+u0ndb7vxUL4Y71OGmj7MErsRFWE6hJczgL1RUT3GheS2jwk7oHg7yCkZ3+WwZh+BRNBl9JC8o4G/Oi45EBSsH6 X-Forefront-PRVS: 07915F544A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR02MB1020; 23:GcBwm8jh4L/NAqS5MVYV6Mtgvjmw8/x0mnzGnyRA7?= =?us-ascii?Q?ENDQbGyWnIQvqEQnsnPlSnu6hd14fHPMGlgrq7/8BkvtXKg1g3Aoqukr3fAJ?= =?us-ascii?Q?oCfru2H+POJcY9kCPzvl7dRUG+CE+P44IGQi6dTxl/x2lpfhfTKX2QyclxoW?= =?us-ascii?Q?EYe6Tr4vdofAFZr23VxwW+ODZJENEVlJUfph9pwQG683U9wejALQus8PBaWJ?= =?us-ascii?Q?eeer89yPD8iYIijpPH2/tm7N+me9HwEJWfC4J1kp4XT9ta01fZScF7tuM1uX?= =?us-ascii?Q?umqaosEvydV8b7AYR25xa0Kr9ee5ML88MMWbeOQA90SMH/nxOTA2SpwHA79F?= =?us-ascii?Q?zOU7YJlXjt0bIdc++7Eq/UoMQoh5EkiN/gYf3DyZcGF1xmEhtOysGjaglhOn?= =?us-ascii?Q?FD+AAIIC2ddmSxHYHQijNboF1acTCIOGpcd7Mi6zcWBuxkgP3MbEMV+C9VTz?= =?us-ascii?Q?KoTmRjcJG/4EoQFWbbGx7JeMqVTYz01iu6PeGmgRbWj8D3bS6L95kOvc1Flf?= =?us-ascii?Q?UKU3HAZhI54ZrMXAxH4M/8K47jwhxSt7YjTnZqUiq4xWx6vUKE7vejDrGXYA?= =?us-ascii?Q?zE1zNpjquiIgTG3qDUKFywqC3g0WEC+fc7MTk10DPMhex9GqYE5ZfxjNXrwh?= =?us-ascii?Q?xImvoIw9XHJuuixvmXp0fhny++yIc05zUbYcxJ2c1uZ7bBOvZSZfVh5aaW8O?= =?us-ascii?Q?xTqi5jV2PEXr4J1t5/DFANh87BhUeJ1cKh0Lk6TeCKLHW5fs329ZUnzRx3An?= =?us-ascii?Q?ef51jcYuVqLEaR9wNgJAgsnayaz2XDgnpDasrvmC/s6BP/I7iTfL/4MDyo+Z?= =?us-ascii?Q?5/ATeLE+dXPISkBQ0ttbSrvK2HhjxMls3vwp8mKQDFy12qJdViudhWhdU/jb?= =?us-ascii?Q?Rb0mLunkBgCixorSjbx51QQrt9APOcedB2ZKgawwkAu2waPeV6LJrEqg4OX4?= =?us-ascii?Q?ifiwPavNGTnQ4hQpTUEBzQdscTLvlo3XjdaLqNTejVq+qpTS9NHHHSGAcw/R?= =?us-ascii?Q?OrpNP+4ectpr1DARAjYJSalQo3DoSdVkFjA4cSjbjr5ilQe+cxtwUWN0AXqj?= =?us-ascii?Q?i8VKIEGZC+aDJ/r9ChPQ8g4cJkuGT+TMFy3xOu+0vGvErYOkw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB1020; 5:A1mqlbd6ZZQy6SK1ozcdmcN4gy1wXqASspYW/Pr9SgKoMUCLmZfktQtZ6swVkMRULF+VSw7sVl53FL5OmT7juIedNDzR5dc6D09mC6fnN67BzoZ7j3ekSe1PmDGcGPmu/8orVZFCw3ZdAWYZjYtUmw==; 24:flk5YBUKnEW+NHmTIEgUSK60lPrd4PMVYK4DL9Z2pDhOKBUz2jVooi1gpT1WNilHalRqy8P1SoifD8jZ0oznc3jmtgOyENxEZJltPYtUM+I= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ezchip.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Dec 2015 15:37:40.3770 (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-43.internal.tilera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR02MB1020 Subject: [dpdk-dev] [PATCH 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: Tue, 15 Dec 2015 15:37:42 -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 --- MAINTAINERS | 3 ++- config/defconfig_tile-tilegx-linuxapp-gcc | 4 ++++ mk/arch/tile/rte.vars.mk | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletions(-) 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.7.1