From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0062.outbound.protection.outlook.com [104.47.34.62]) by dpdk.org (Postfix) with ESMTP id 5CA4E200; Wed, 13 Dec 2017 13:23:29 +0100 (CET) Received: from DM5PR03CA0035.namprd03.prod.outlook.com (10.174.189.152) by MWHPR03MB2701.namprd03.prod.outlook.com (10.168.207.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.9; Wed, 13 Dec 2017 12:23:27 +0000 Received: from BY2FFO11FD013.protection.gbl (2a01:111:f400:7c0c::186) by DM5PR03CA0035.outlook.office365.com (2603:10b6:4:3b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.302.9 via Frontend Transport; Wed, 13 Dec 2017 12:23:27 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD013.mail.protection.outlook.com (10.1.14.75) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.282.5 via Frontend Transport; Wed, 13 Dec 2017 12:23:20 +0000 Received: from [10.232.133.65] ([10.232.133.65]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vBDCNOGw026008; Wed, 13 Dec 2017 05:23:24 -0700 To: Bruce Richardson References: <1509617335-6354-1-git-send-email-hemant.agrawal@nxp.com> <1509617335-6354-2-git-send-email-hemant.agrawal@nxp.com> <20171211124113.GB11536@bricha3-MOBL3.ger.corp.intel.com> CC: , , Michal Kobylinski , From: Hemant Agrawal Message-ID: Date: Wed, 13 Dec 2017 17:53:23 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20171211124113.GB11536@bricha3-MOBL3.ger.corp.intel.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131576414002930455; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(336005)(7966004)(39860400002)(39380400002)(346002)(376002)(2980300002)(1109001)(1110001)(3190300001)(339900001)(24454002)(199004)(189003)(356003)(2906002)(498600001)(97736004)(85426001)(83506002)(67846002)(23676004)(6246003)(2486003)(106466001)(36756003)(104016004)(53546011)(8936002)(76176011)(31686004)(105606002)(2870700001)(68736007)(5660300001)(54906003)(58126008)(81156014)(65956001)(6916009)(65806001)(77096006)(8676002)(316002)(50466002)(47776003)(305945005)(229853002)(2950100002)(86362001)(31696002)(53936002)(65826007)(64126003)(4326008)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB2701; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD013; 1:3vmvW/lfUV6HPOrAzgo+/9gzR18LZNF77JiBcMizG9ornr9UEFxfph2s0kiqbmOS7U7lwh2F/Rh+uIMon+tsqmuNDOghWyAyVepmhLSrjhzcCOxGJ/jEUiv3s+Htyrl1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 041b48e3-c2df-44e3-e317-08d542244bed X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:MWHPR03MB2701; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2701; 3:42pOQj/runmLJJx14OJWXRHCUDkxvWdhEeV4bQUHO9tugdh2nugxJslPa84xyyu7rwhWNF5KEMspqWtHyeDdsjv0easla6Ycu3bOQS+43BObEG8EQ78G0l6AZmEKC/y8yZOnPJiTaSaaA8sYrZgerssga7LrUZxiKSZYbfdjhAcaXhO+TmrCqq8//paHB8X8l7WsRSq4/WaOSYTvsfvHnPIBKKsEqENJ8wacZ6sI4oxnmTik/EmzS7NV0co8wGu2MSiMaPqU1IAo6JY1uJ4J0LcKze/e1W0RIAaSRFFwrzZOI+b8r88zw1hysVKzPn7NeeLueOWYB16dWLo7tble0g61WWcqZG+y/Wyd1Rm6DRU=; 25:bA0pgTh9SqtXu/xhLKZcdw+bppYLGHEeVcmWS8zLQIdrSVT+7bJNrbkwJU+mdXwK8oZWsmWWkF4ZxfYVnzrZaAJFAN6cTj/iFx9X+l0e/ENHwuheXbVmQVZ5YV6spYIOGbIyblCMAuD04IfPpGB31QP5ze3HbDcFokGDc4f3GBzwx+E8ar5R2k1iiOisTFBuoB8/z3U72y1r3+j/I5q8h0U43zwVZHwHPDpOJMQxw/qa9ByeFJICinTGWQudktDWMkDMh24OV8O8He45nofbYdV0FrFkHh7pvsP8189WkqghuDIHSpaPnUUTXaE6yW4NCIWZXYYAApBDfTYnd/ufaw== X-MS-TrafficTypeDiagnostic: MWHPR03MB2701: X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB2701; 31:5NqWBDrokm4VEgJ4fj8FR6AjwHEnV1I6lj2s/3xkKysJN0YAL+7zN7o61T1J7UM3k4+/JzthlL0NOQ/nYVIqBnNe9A4XLW5AXl6bLvf7sjH3ZxfmqrUFMSWJ0sKjj65Y+bPli3IAJetA79rlQfx36PXs8u2JNLqeiEGwSlGybiP6H8q8cpg+ji58KG/m+0fwqwH8ibZf70n9gPGaAyieTo6G2QQJ+s5kooozpHWLpnY=; 4:C6GFro3W1hezFw/bHpgp/0XGv6ZtRhxi6MMu6JhQMQ5YoL5u8hCTzv6wLYS3K7fGnRRK3GWq36ly2kjrRIQfV9wAluiII9apQMvJbYtYI0hOuuacffG4FG8Q/jJrbPsPfMlIXomQju3y3uCXaTBhBEKt3tq8Lk9Kg98W2ENjv7Lq2uIb7Vre/AQLjdnLSWSsZYr9isOmw2s1yGl3PkwY6QU/qiVfDQtdCXDUTTdcpKrdQ9S/9GF8R4G7Zd+QotcSMjRascHTiLFZYQlhDLjQmcc1FBIDe2VnwBV86+Ypizpe9n3J0/TaH0QPVBMyKafsC8SJnkgjB+4XNRR1Jh8jYzQCqIUxrDSnDAuEfbenRUQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231023)(3002001)(10201501046)(6055026)(6096035)(20161123559100)(20161123561025)(20161123563025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123565025)(20161123556025)(201708071742011); SRVR:MWHPR03MB2701; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:MWHPR03MB2701; X-Forefront-PRVS: 052017CAF1 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjAzTUIyNzAxOzIzOk5YTldaMTlKN2xxbkFhSTRLR1JJQTRIdmhD?= =?utf-8?B?Qzg3NFMyQjE5QVEvK0tVMm1FTExVZm5lZ2JrUGtJaFRIL3REellZT1dyUTFm?= =?utf-8?B?L0xDUHRyMWFvcWdDMEw0aHlaTFdMN2NjWHQ2QjRuTDNJMUJ5KzdRRjI0aEVn?= =?utf-8?B?ZlBwQVJPaXBkUzFLWVBBMDc2eW43T0VjTGlIdHhsNElhMTB2RWNnYmhNME14?= =?utf-8?B?TWg1ZXUrMVdBem0wUXFJSHVhZWIydjFkYWZ4aEp1VFZ4RlR0ZF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/G5hart4RQPFrEY3iClI3YEVGaP/Ihm5SX1oBM09ZkmQJ7EeTPXoJ8UGNeLr7f3po37k=; 5:kaQlbLMuVXof0ICxSUB7jk+DDVsKB/p9qstktnTHAXFcBa2FiHtTLaWNEU+WDgjZ1UvR3Ai+4sd0bUTPNDpY2Za0qYdwV3bA2WB2PrfJfEo0+N0ZYMwWBVHoQIcGdVFLzAMcxlNe9ObTDIAzB6hJTqS3VHYpk9Mzq9LH+DvvhIs=; 24:i+ouW30OZZrUO5zUcSnsalpNkjNkNEW/RkLlgRs642E0yuTuOmP6fEH75UQDBcGqeujWuYh6tpHHO7nY3tM7ossSJSissWfxYdAEfGHOAXw=; 7:i9keh+AnkcRHB6z1ThBXXGWxcwC/nKPPj8H0shkyNOf7IvypeqihmfZu2tUEkxT1xjAglkyjDN2hz8lZtfLJXPh1XEnd8Ss1Nwl3n2dRI8Jj6hGN7COlNbufOcD6XkoKEFBklxFU5TDxWN5zXeWK9OV5bXqwI7pnKw/SxyGEtn6Z7T1eGkpT9U1P7+noLF3SAimzMBgnsZaBeXsziCGSqd+h9ynx4+Q5dhIUau4zZQnYcK3xPivsq4V//ffePHxr SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Dec 2017 12:23:20.1058 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 041b48e3-c2df-44e3-e317-08d542244bed X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR03MB2701 Subject: Re: [dpdk-stable] [PATCH 2/5] lpm: fix compilation on ARM BE X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2017 12:23:30 -0000 On 12/11/2017 6:11 PM, Bruce Richardson wrote: > On Thu, Nov 02, 2017 at 03:38:52PM +0530, Hemant Agrawal wrote: >> Compiling on ARM BE using Linaro toolchain caused following >> error/warnings. >> >> rte_lpm.c: In function ‘add_depth_big_v20’: >> rte_lpm.c:911:4: error: braces around scalar initializer [-Werror] >> { .group_idx = (uint8_t)tbl8_group_index, }, >> ^ >> rte_lpm.c:911:4: note: (near initialization for >> ‘new_tbl24_entry.depth’) >> rte_lpm.c:911:6:error: field name not in record or union initializer >> { .group_idx = (uint8_t)tbl8_group_index, }, >> ^ >> rte_lpm.c:911:6: note: (near initialization for >> ‘new_tbl24_entry.depth’) >> rte_lpm.c:914:13: error: initialized field overwritten >> [-Werror=override-init] >> .depth = 0, >> >> Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field") >> Cc: Michal Kobylinski >> Cc: stable@dpdk.org >> >> Signed-off-by: Hemant Agrawal >> --- > > Acked-by: Bruce Richardson > Thanks for review. I found a better solution, I will be sending a v2.