From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0086.outbound.protection.outlook.com [104.47.0.86]) by dpdk.org (Postfix) with ESMTP id 2F6D595CE for ; Fri, 8 Jan 2016 03:59:33 +0100 (CET) Received: from HE1PR02MB1146.eurprd02.prod.outlook.com (10.163.173.140) by HE1PR02MB0764.eurprd02.prod.outlook.com (10.161.118.140) with Microsoft SMTP Server (TLS) id 15.1.361.13; Fri, 8 Jan 2016 02:59:31 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=zlu@ezchip.com; Received: from zhigangTHINK (58.135.92.20) by HE1PR02MB1146.eurprd02.prod.outlook.com (10.163.173.140) with Microsoft SMTP Server (TLS) id 15.1.361.13; Fri, 8 Jan 2016 02:59:27 +0000 From: Tony Lu To: 'Liming Sun' , References: <1450193851-9100-1-git-send-email-lsun@ezchip.com> <1450193851-9100-2-git-send-email-lsun@ezchip.com> In-Reply-To: <1450193851-9100-2-git-send-email-lsun@ezchip.com> Date: Fri, 8 Jan 2016 10:59:07 +0800 Message-ID: <002e01d149c0$991cb940$cb562bc0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdE3To80yjqcVlomQJGShf8hgSJ/DQScc87w Content-Language: zh-cn X-Originating-IP: [58.135.92.20] X-ClientProxiedBy: PS1PR06CA0035.apcprd06.prod.outlook.com (25.169.59.173) To HE1PR02MB1146.eurprd02.prod.outlook.com (25.163.173.140) X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB1146; 2:EaYs3pwue2x6n8ZuvNEyK/vpUVzuhecpJG4nG0jLMfEJ+dYqalvigkvYVmz5NRZ3ORdQ0/gbTZgr2cFT0853xSYljVyXtyiYBAf0OVuews2ioeSvSss8r33LGcT7tDKq8j9e9WZ11XQj8A2IBWmo0g==; 3:AopMgEzgcuC+FjcHn9PeSQXyVNt5+RO32LNUlZMe282xM5n7As8ZyuD/peeiAhm7qCsZ5RGxp4VVw3qq3rX5leWpiKBYaM7DdUg+p3iS1F90VbJ9AV3+w4DP/IId6WwS; 25:IHXBROjKMQx+geh/SXijxeQsARP00JFPTbZe3tc8UxAZTwEMSvgFwJjl6DjNRwF5I0lsLj1QliIL1wCo6z+ekT8gwTdM4HBWvvac1s2OClMtiNsi7T/4WpdvBnGzfDi5UIz+PVDnWFtM10M3Db5bGflmgN3nL6l2KF8c61MR3QbAufWsAdOusJGzk1Fw3zEo31z1Het0rfrCKF3DojQicHwinV+by5WtAIXVJx7pCbYBxXbj1GQ4jSlPBQB+mQR+; 20:9BwKlXy6C60OQZQdcAhQWQBwjmz5hdc0wAFmMsM96LKc7Bg54HDNqnXqkbwVio+lvFENpXCzkzJKPxrxHb8za311k1iqX/cogM/KXhBDGflTwTHLdfuxmmqgsimyqnr/uZxPLAWTGuqVST74vn4zcuCu2ucZE5/0bu2abC/3/DU= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HE1PR02MB1146; X-MS-Office365-Filtering-Correlation-Id: 788c6bad-d729-4ef5-4485-08d317d7b9a5 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)(520078)(8121501046)(3002001)(10201501046); SRVR:HE1PR02MB1146; BCL:0; PCL:0; RULEID:; SRVR:HE1PR02MB1146; X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB1146; 4:O3EDYtfqp9EH6wEE4cosfjT9I1J0wCcTD3bE7EAb+Jtfo9pGMDQwDSpzHZrSXIXtsRQ/Eb54ycxXbwwvErGGR1zGk9UDEij0A65SVf3Uf5aBu6Zz9h9OsqnRNTBRk1SGkSZeNm0xOHnPF+6cSzStwPrVszBtrvnIViio6Zs5aPxH+xfSygdxTtNQWeLRL5jIDeRR7J+Rpeo0xc0RWNdzd/EOjunMXudd42pmia9OJlm5beznpvQTm640n6/lPTTryO13IuMMb6mAyIsogfQw+lvdKkjLlPQcBfQfAOubSSBsb4su/0CU0y+WVE8AvBXkPcsxS2lyiil+cUNtZ9TmrVHJWX0vkn7+Bm9h2tPaO8M26aMoUGIirA/6p/ycB6JzXb4DuqyCPwVayjh4LG2wBJFPAJ8Ws53j/tFIMImm0wd0mELMEYC6zreAHJrtmw6L X-Forefront-PRVS: 0815F8251E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(377454003)(189002)(13464003)(199003)(40100003)(66066001)(87976001)(23726003)(47776003)(59696002)(81156007)(5004730100002)(230700001)(586003)(101416001)(33646002)(96836002)(107886002)(46406003)(1420700001)(50986999)(19580405001)(3846002)(5001960100002)(105586002)(2950100001)(86362001)(33716001)(77096005)(84116002)(42186005)(102836003)(97756001)(76176999)(50226001)(92566002)(450100001)(97736004)(1096002)(106356001)(19580395003)(5001770100001)(5008740100001)(122386002)(14726001)(61296003)(189998001)(6116002)(50466002)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR02MB1146; H:zhigangTHINK; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: ezchip.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR02MB1146; 23:CDotn4howVU5jQHKHeO3Ojv/mgW/wGmiCSmsP6ka4?= =?us-ascii?Q?4evBfT+M29QEXHnMBpR2oiLTfp8y7T5+1HCAYvwPKW1yWUsZz5ttH8nBrkPT?= =?us-ascii?Q?jOk9xJjWZIVy+JS15o6YciLXpJ/S7uk5iox4dF/7LQum4mmhZf0MZlp50dG0?= =?us-ascii?Q?ZR3nhCasAazTVRjRUtBq1Gatatj73WZ83F6FxdWIaTFkMRXLpTCKePRnSVxl?= =?us-ascii?Q?dOnEG3V4zWWU+GbbhOrZ8pVOlvXckZmNtk7QNv7b7578otFFy1rVRMz9/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obej4LwQKhS+QlmQH+xxYQbxy5wVVs/n6oFOWzQa4z?= =?us-ascii?Q?yaNRp8xLTEtOMA5yg2N4+Jk921lNTOvT22bzDA71HQTVSTmDhFZiU6rRRe4N?= =?us-ascii?Q?gg/8vREB17zi0Zqyijeq7RTmuJuWsqwVFA/OYIJfOuEGjKGUvAktmRjZN+Jd?= =?us-ascii?Q?L/MhIAHG3c/e79AY5CiYlI=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB1146; 5:mTGt184OpE1h1KotJJ25oGqBRZBS+JGS0bvnoSpCoGYULRs8ZZwLDimktIzSiQWjfd4oVuBU+G4EMwMoS8Y03nInQAjY0QEVHASlb16oUanaf1V/Iyvjb6k7c3Q0Ktrvz1HJE3S2xvOx4FG0BzOXQA==; 24:usqG9KnpDGhGQf4R40FVFfLF5H7lGUujuXMb4/FOc4cAITdqvv0k7e8cRNJtlOhn16RjzfPdnp/WzvnbvxfWZMRZtF7QpOmGWzG69H9l9zY= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2016 02:59:27.0957 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR02MB1146 X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB0764; 2:3qKj9gEBHoO71YosxMF81LkP2zourlDOnf7wErv96qByUMR12qMWKdxZszsVNvH5N8R6iYC+QI2xf621ONtvKwvkfyaOP4g5VNwf0l9JWipvJuiG3jFWLu8N2/E4BjOLgOmk1mochhd7NdGGA8iskg==; 23:D6wsg4+uk6qIVtdQdB6NFjlG5fjyqL4dSbuiRQYSGX5pFF4kBNk69/0poQPxQCtPDGDonSVAEyiJMmh/uR0SKwPkyUA0RqbX/nFbLdD1f0G45ZwgRdp1ND9EknZn78JMUpvVT7E+o7htewERml+VPezL/gGh5RYb8P7VvPbo02dXFpSwiz108bPGI6I+vULM X-OriginatorOrg: ezchip.com Subject: Re: [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: Fri, 08 Jan 2016 02:59:33 -0000 >-----Original Message----- >From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Liming Sun >Sent: Tuesday, December 15, 2015 11:37 PM >To: dev@dpdk.org >Subject: [dpdk-dev] [PATCH 1/3] driver/net/mpipe: support native build on tilegx >platform. > >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 Acked-by: Zhigang Lu