Message ID | 1513169578-28440-5-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5432737qgn; Wed, 13 Dec 2017 04:54:50 -0800 (PST) X-Google-Smtp-Source: ACJfBovlYndjKKsbUp8Vr8bWwS84SUIhdLYWPpeJOWRkZs4n2e9UkC23mg6j17SlrIYlVHFxtdRH X-Received: by 10.223.151.197 with SMTP id t5mr2153807wrb.263.1513169690889; Wed, 13 Dec 2017 04:54:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513169690; cv=none; d=google.com; s=arc-20160816; b=e8shRtDob+Bw44eKvCeXUO0z4Zy62JdP/yLZs7+q6l2orIfLBPZu3jOantQwFFHvvo Cg/PNFrxZjhs7v2TqUt4URZ/+ymkKNT8HUT0C81IOPqQvD6K5f3lLWOPQi8qbZBVgSt6 m9y9GRmvdpbT5iBITah0IWWm2UbxdI5rUjQBIAwaOTGeCnRzeaXN7XHsnqoBJcBs/+FF EhceCn2+0d0N3jINKOs5TtFDa+mUOPf2tj0HIDd5A8soPjNYlp+If0OUtczsQST5R/Yh qGkG+f0aekqFLUa9HzSCfqZB5QwmsoPU6HnewrsXMU3zRWyvGwpVyGKhiWO9GWHON5JS 3TVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:cc:to:from :arc-authentication-results; bh=Jntuuw1g06DpR8okqhrWj3eOzqpmAFSuSC+1M2Yvvgo=; b=t21UshQ8Yv0xCf88ATIgPPhu/wSg3xeGOXKLSdVMt6JLPmMlnldZoxJT97gzHJM9lQ oy4Ip1P+n6/ZWkQV6r/gXxbyJFU4IA7XGXvP4RugeOac+VIfbGAIzTxCwvVld+EgtL7z z9Sq5Rwku9JLMrUHRI9gh3afgMwgVre/UfHx63KgZuT88khzNdObxEynMOsoqwoGOnGn NBJf7Ocpk2vdmf9kV6bKK7uTTeoHatRzMYP6FvuBNwICclxOcwEqbTJ8vGTHTNeadKfF ncVTQ2e3+gzdMuIBsw7s9dx7t+PuE/rI3Q6aNMagChrwCfnOs5xSsmT30/Kcfo76zlze O4VA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id m5si1405339wrb.75.2017.12.13.04.54.50; Wed, 13 Dec 2017 04:54:50 -0800 (PST) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1C4911AEE9; Wed, 13 Dec 2017 13:54:14 +0100 (CET) Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0060.outbound.protection.outlook.com [104.47.41.60]) by dpdk.org (Postfix) with ESMTP id B3EDE1AFE8; Wed, 13 Dec 2017 13:54:10 +0100 (CET) Received: from BN6PR03CA0015.namprd03.prod.outlook.com (10.168.230.153) by CO2PR03MB2357.namprd03.prod.outlook.com (10.166.93.17) 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:54:09 +0000 Received: from BY2FFO11FD041.protection.gbl (2a01:111:f400:7c0c::133) by BN6PR03CA0015.outlook.office365.com (2603:10b6:404:23::25) 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:54:09 +0000 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 BY2FFO11FD041.mail.protection.outlook.com (10.1.14.226) 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:54:01 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id vBDCrsSj021824; Wed, 13 Dec 2017 05:54:06 -0700 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: <dev@dpdk.org> CC: <thomas@monjalon.net>, <stable@dpdk.org> Date: Wed, 13 Dec 2017 18:22:58 +0530 Message-ID: <1513169578-28440-5-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513169578-28440-1-git-send-email-hemant.agrawal@nxp.com> References: <1509617335-6354-1-git-send-email-hemant.agrawal@nxp.com> <1513169578-28440-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131576432421269110; (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)(339900001)(199004)(189003)(6666003)(6916009)(97736004)(356003)(305945005)(106466001)(105606002)(4326008)(2351001)(316002)(5660300001)(54906003)(296002)(23676004)(50466002)(8936002)(50226002)(36756003)(77096006)(53936002)(8676002)(76176011)(2950100002)(47776003)(2906002)(5820100001)(2870700001)(86362001)(68736007)(81156014)(104016004)(59450400001)(498600001)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR03MB2357; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD041; 1:GQIlftMLfhDQb0LMnvKILbBlJ5KjDhRO7AvPqK5HWHuwQMyPWx8j0XxKytZRVHjdSp3I+ETehjEEST05GxvMwUrkpstQEnv2dQKC70m8nbFcwMrwMciGUW/3x/uvwMFe X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e31ca62c-3cb5-42b5-6e76-08d5422895bf X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4628075)(201703131517081)(5600026)(4604075)(2017052603307); SRVR:CO2PR03MB2357; X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2357; 3:aaVWK4qC3qp9xUt/qfhgFDOXbfSz+cV4RRITaWVReSPTIqWnNjRqYjfFBDuPUyMOzDfqKsQBFxUb9emROjah9c4tZqibWM3bNm9sAqxxrgG1DItY0xOpGaQIQSlCg7nqW+7E8s0fYCd54ipMfpqJYVP5ZJXQ35flgD7/egZ1NZNv9pjiSdvARoYSMH+tIws374vbotLoJ1krpjFIOWsF3g9B5TQUgMEx4HeIETvltp+GUAznPBtVb3vR8y3rVcmbkKhjmYU9Kyz3aptzhOyBKCFrjY0eNeq1Yet/g3W1wdGXCmsyHlBhBKWxXSX8QClVi710VUDCERtcd7AzMOwlmG57Zs2//l5Pzz5BauWV9jA=; 25:psID5CjM53asMjE5Pl0cp8wT1zZmfO8yVvjXDKD9XZ6HMr3VAZ3qj0LkTX7Ry2QmxLSCWraQqKAxO623xCCwH4mcBSyd13fT17yo9WhV8W8lgbN+EGEN4LlFSx6/HjVCkcXSJ567TKMaKCXAvyFxXMZ8wsl/m8h7SKCz2ys5/4PRmTNNTg8bjWTPosBbOei75bwOy5pPL6zjfCvHjQp335G41ibGpn+aH263iROtBxSkUNbHhwlqM4QP797MYoMs/ClcJxEZfbST7R2meQa5tWI118WVfAU3ce4O9jzayjq3Ums3XLRXjZ2yTrY/bfixf4yIou/tMDN6cNWlU3dGh1sHDj8K0BLFuP/U5H/jsyA= X-MS-TrafficTypeDiagnostic: CO2PR03MB2357: X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2357; 31:2PVMHVMxXidaxyC50mtymXM7v6Q6E9hwl+t7ibljJZAwLB5BwpRjKB6VL3d9r+3lkAKDVlROl3aplaTl/KCpc6LtG+rS7Wj4KgJ0OclSdEtQwm2lMAjvtMQ/d8jwNuChIcY60JjkmUErBlID5xalVqi54chdmSqqkzEfhkiafsYghONQW7iaI+BcY3jq4uJVHke+6VumyaJyEZAGyTzg6geFMuAuUVJsTmrpEWGPI2I=; 4:t7x1fseVRD1/5cqso+w4N9BuGWylehVGgUkVkY/1E1hBpsG/U7rINNqKRLVpDAHIqKNFVFJEdjQ2yJhYLjUVnGPlLk0XcC24YQyG9AUkrhNYwAJjzRAPp6JfumX6foweL9o9gciVdojzx1ICU4XGq+zxOIGPXH/vFkl20gVgUZrzh/gg+uP5XsPGh3IUoqZpQUrHVMGhcnUUl2zUG05Z7b1gvHwHqK3o8EYAW6hAopVjbBmu6RGdPXszhm6jQ+YUVsbrMwhLxExOIOYsLSs8B863CPS09e0ln4eQ6dw5fuS8mVSqoILD8wu7FQv7U3UkfEeZlUUZmMs9279VuFqRgLBuhC9Q4xSX4WZNVvcmZ2Y= X-Microsoft-Antispam-PRVS: <CO2PR03MB2357EF633D6E55892D21A98A89350@CO2PR03MB2357.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231023)(6055026)(6096035)(20161123563025)(20161123561025)(20161123565025)(20161123559100)(20161123556025)(201703131430075)(201703131520075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(201708071742011); SRVR:CO2PR03MB2357; BCL:0; PCL:0; RULEID:(100000803101)(100110400095)(400006); SRVR:CO2PR03MB2357; X-Forefront-PRVS: 052017CAF1 X-Microsoft-Exchange-Diagnostics: =?utf-8?q?1=3BCO2PR03MB2357=3B23=3ACP++?= =?utf-8?q?+xUiAAKnCo27VRBCCRIuXXbzzPnwe1lR6a6IRLk86Ll5IASTGIwhULMN?= =?utf-8?q?LfYQeg+eqA/Qj+GfmPF1FN89OSHAj6a8LPP65unHebv9l1JcZeIGYJSu?= =?utf-8?q?AUQ5QHj8KeEkOhD69K07/zXPSZkdYJravcpu8UGPBEWxcrtlDjLsBbBM?= =?utf-8?q?vLSL5Hish+DJNmu8y4sR1+QJWV0TQB8/2I5sDSua2PuEJc/a7MLj0W8H?= =?utf-8?q?4GzOR3a90wbT341cgKVqzjOt44rFWjKCyKnCmKbudwG64iLYsRDLdu/Y?= =?utf-8?q?403D/K7fLFVN4cyIjd7M0w644Gdssv+3whQK/58ir1W5bkW6gOsc7b6t?= =?utf-8?q?2PmW6VASTjE2RnayW/W3YHI57qJBBu9cXYIW0T5xtvZO/hBdPAsE1/nt?= =?utf-8?q?8Tlq76GcT7jOAMXKocG57iwD2JM3NUfhb29uAvyp/d6GuiGWMjXxesVk?= =?utf-8?q?9nAQKMlvSaEBofM0WmYuTUBhB0gW4iNLG7bsXi+3kUhjbkgn1t3nVwYc?= =?utf-8?q?6Od5QGLoXBqeVrGVf9yG0FUOtxhqMO2CSnWWN+TqBfBpSJUT8u7PktYd?= =?utf-8?q?dixvd8V16HhDOSaITifFj3M5x5UasIjpmAk1noskoB1fmo6yN7fyMDDE?= =?utf-8?q?KT9WtixG0JjJn/rUon3pGqnOk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FrUlcFRDFdFLohkGxCY3utGmVqxiqwbA1e1JIqKGTMnfkWdmp7j01mAGxQDSssITUcFKXi6IP96on3x57AK6p0=; 24:tJV8a2RAYMY31FMeaUUFlUpJ4dsL/nwZLb8tFe3gW35NmEDTvypMqC40w1hg5yeGix4zsyeRtduwVpnozxTJxuGYSquzaVJL6jFpjqRC+Sg=; 7:rVa1J6KVqF62axaQm1aXGS8tjTCYC4y3ngnM0cgSSMRbwjGrS1LzC+0ZyiIxmoDn1Bvzv0vf0IzPWsoYCQaM/gfvjZGN1jDe1T2yhaAkr2vQbI2PI3NTExnf5dw/sEsaf0ESn+CemS/NGKZNe8DQal+G95JDPIIOV2D57aZV2WKfYC5+4/qEAou3jVyvxZtf85hywEbIEVzrjathHGlW8ixZ49Pk8jxZwO4mRRQu5TLRwJn/3s8E1Yy6Gy1p+5h4 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Dec 2017 12:54:01.9241 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e31ca62c-3cb5-42b5-6e76-08d5422895bf 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: CO2PR03MB2357 Subject: [dpdk-dev] [PATCH v2 5/5] net/ixgbe: fix compilation on ARM BE X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
[v2,1/5] pmdinfogen: fix cross compilation for ARM BE
|
expand
|
diff --git a/drivers/net/ixgbe/base/ixgbe_common.c b/drivers/net/ixgbe/base/ixgbe_common.c index 7f85713..5e6ad95 100644 --- a/drivers/net/ixgbe/base/ixgbe_common.c +++ b/drivers/net/ixgbe/base/ixgbe_common.c @@ -4607,7 +4607,7 @@ s32 ixgbe_host_interface_command(struct ixgbe_hw *hw, u32 *buffer, /* first pull in the header so we know the buffer length */ for (bi = 0; bi < dword_len; bi++) { buffer[bi] = IXGBE_READ_REG_ARRAY(hw, IXGBE_FLEX_MNG, bi); - IXGBE_LE32_TO_CPUS(&buffer[bi]); + IXGBE_LE32_TO_CPUS((uintptr_t)&buffer[bi]); } /* If there is any thing in data position pull it in */ @@ -4627,7 +4627,7 @@ s32 ixgbe_host_interface_command(struct ixgbe_hw *hw, u32 *buffer, /* Pull in the rest of the buffer (bi is where we left off) */ for (; bi <= dword_len; bi++) { buffer[bi] = IXGBE_READ_REG_ARRAY(hw, IXGBE_FLEX_MNG, bi); - IXGBE_LE32_TO_CPUS(&buffer[bi]); + IXGBE_LE32_TO_CPUS((uintptr_t)&buffer[bi]); } rel_out: