From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0064.outbound.protection.outlook.com [104.47.2.64]) by dpdk.org (Postfix) with ESMTP id D423A5B3A for ; Thu, 1 Mar 2018 08:35:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=MjmjqcIGob+uoQE6xVPSpAX0+Fx7g6gjkoE6LLToVQI=; b=Z/Sz2pMVs6dEuNdWdq2Qs86UsdVuKPQ0OSRkr6vaV7D4t2pzyitkbhTuz+ayG/YaMN/BkqfCDKiY312GNQFpccB3Qy/5MQh6nXNGHbFj6owD/Am8nkdLFYV8hpUw0VQDvhMX2YbTVek5+FFX2PkfsIudcAHNM2YEtDcFr2Ldxjg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Thu, 1 Mar 2018 07:35:03 +0000 From: Hemant Agrawal To: dev@dpdk.org, bruce.richardson@intel.com Cc: thomas@monjalon.net Date: Thu, 1 Mar 2018 13:03:14 +0530 Message-Id: <1519889597-5805-8-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519889597-5805-1-git-send-email-hemant.agrawal@nxp.com> References: <1519752352-15442-1-git-send-email-hemant.agrawal@nxp.com> <1519889597-5805-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: PN1PR0101CA0043.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::29) To AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7fd4d878-983e-487d-610b-08d57f46f2af X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:AM2PR04MB0753; X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0753; 3:ed8BMFC32Md6cjnnaZgulYZCGhOCQPfbOEx1nq9QEiIEWgmWToQnZPH3NalqSiTVum6PyAlWI2Sk/1Wwt0tMg0U5W02Qth4BmsB0V8IX+OhG8ZwjCn8Uslnmb73PKpnBKsrmMOUVcAjUFIWa/USYewF3Kjeft2WllV/qILR64biCqTl8xcLHDvglo9vXu4k3xf/ORT1xPZa4ISzUqJ3uvw7JhtaSyMyWhDIo5TmkgFMK/C6TMiFBr6RxLIqsr16E; 25:gUY8f3GvNtVslEoxxLm2yD0ze2ydK2D1I9KP8tBBG8VOcNSIxJyO47l+ZagOc6KsBuQ6wHQKM4lwsTsaRdqXHuJfCHrNffKz4wJJJ7C+/wBTuMxIssomTr8YcwjWACzdXsdV7JXhCrdST5I82TFrpp3YmCxnTDYsco76ndoDgJ1D4IUvEhtsPZqJQjeODYZDCfx/q0AaHC46AlSctFA5827ZlAISpvLoyqBKAc2dchte1q+8vHMEZJmwQdiX+fw92uzh7lP5f3sa5flpf7pu3qgaXdOSFrX0X5c700r0Hf3kzpjGbBJp3iAjY9alMoMNmNPCq6tZzMYnI2yYDw5oqQ==; 31:ylJ7gXvlvHjdN3TEkQ3oi4XeNXf/kMrf/wGgQ8+0oEm/AUbnVcV7/R3VzxcnomE5YQ7dKuf5SNfE5B14fjjeFWykdKJb7TuXWMHh25QiR0A6fpR2oH/M7ZiM3lQXn9u3ACYwGZoe/lm0jAp2GXL/AbBlbhu2J38gRqMiVNgaz6LDCREiLmGE8J1Bf/VnYs1cWWa8qq8x4gY0W1WtVTHc0YJ+uWSmiWBSIbMk/dLKHJM= X-MS-TrafficTypeDiagnostic: AM2PR04MB0753: X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0753; 20:kNhbTP4TyvPPDi8wi+HXTtyk9nECxpR1uLt70aU2I/im/rJ4XpOoVMMZPlqDuJX4XFZ7RjArMD3krhAeCJWRJBOTix6ONuOErBr4EivPMd7K4J9PHVl+uLizcFSVb0daFyfsf08KZNbTOzzxFFMP+uqNypejZIv97jvUT1QZZn/h5dQpmLS+PE1Zfmr5DD3QZsGSpSU7gVl2OK7+SYfQwr+ipCsIEe6+YWRcW+cJLUHHsZ1tWOZwM8Bl1tYCD6qIuv9jtkyGtbsnqaF02gNOByWpxUwbJGdEm8iG+veP90zd+xzF6pLChfsWzWJo4MS2uBJ8Th1Rwd7y3729AFCoAKe0w46W5xuSR/1AjkF8ooxaG8DZ94utgNHaNIEyzPo2fDRhkAgr1bXXNMWAT/7s4w47pknWaPwSYXiKUHeQcKN5QS2tVQ9RvtB8CNEBM9toJCnKDunE53rkecaufRvKMtmfxg+io4kS9a6PaIp1749/by8CWk4HFXpqIdwMOzX/; 4:emiZiRY5wfx+UInT7wIyjRGpytNkWVgPbM4jnlzOEHntfNP+9O7DQFl20JN7R1J99Rw1IeN+043rQXJ1TGZfmDFWN4yzPxwkp3u1u6mPeMluNEkEIVEKOwxSEzbHFjRSuYZfgGFubaVvam9o66k8R+zf/V16uayelcifoEmXd19P/KsR5FnKcPqrP5Jh6Pvk2mnuXLkRJE8uO2sV/vudzontZwFXHCHK3DceVAxKWiYEFMCKcBotaWLu5Pyz0s/9SUFMLb2xI1oRfPMiSTOpGlzE9qxQ4+71WYcaZkyv3Um2hL59gFH+RnaizJzCS7FE X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(8121501046)(5005006)(3002001)(3231220)(944501224)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:AM2PR04MB0753; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0753; X-Forefront-PRVS: 05986C03E0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(396003)(39380400002)(366004)(346002)(39860400002)(199004)(189003)(7736002)(8676002)(26005)(16526019)(386003)(55236004)(106356001)(81166006)(50226002)(47776003)(81156014)(6506007)(66066001)(8936002)(16586007)(316002)(2906002)(4326008)(25786009)(6116002)(5660300001)(3846002)(186003)(86362001)(305945005)(6512007)(2950100002)(6666003)(97736004)(50466002)(48376002)(478600001)(5009440100003)(52116002)(36756003)(53936002)(68736007)(76176011)(51416003)(6486002)(105586002)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0753; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM2PR04MB0753; 23:AcYgKAQNKHrWmF5gU2i/yFw2iOmanEUhSZ7KhxtqP?= =?us-ascii?Q?wwf9z6MKYJv3JS4131GyFFSGEJN7Yaj1+g5tQcxeIQEtCL1VcvKwx9yS2nfE?= =?us-ascii?Q?UPE3eYDcSQdOYi/oyOqfprt+iWizE3yNm5q+YOYFtVFZppDuUC2WQVbZRTpe?= =?us-ascii?Q?BotTJJylhqs46dgh5p2AW8tuvEWKIYH+5nU2f3lKBIig9s4Ux8NBHVpp8v2g?= =?us-ascii?Q?T8YigCoddzRoAEHOuPFqcZdhFQh7ic/SlKXhZQ7rkWtDosrKt7F93GoNct3f?= =?us-ascii?Q?yvLcJjNOaKbogtu72Iupc5e6SCb2FMno/ZewWRe2lgo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04MB0753; 6:9n9FCAQzSArp8Di5JSSJAidAubGAOiJzlWrzUBUBcbcI59iIcMbWRUj57kJfy35ofKfEA3dr/gPULTC8kYhSRcC+Pc6TCIPDW/uwy56dR0aL6V21v/TJoAbgYJN1xI9JF0/vcaQ8X86Q0Yn9Dqdzln4CC0Es2lml/IVgLQFxd/1b8I72y1zqxRhybdIIVekfZjiDtUzGlo4WPX8DSGVU0siULUlvzQ1EdbLbiQDhCkKENET7zn8SAv1FXrHi2VUoVbwuHV4o5a6Pc2GPdeeCD5D+IsiC6OQq6CY6VXVYh+/Q8WP/7psvKHxK2PN8AVmsUBm7QDJ1ySmip3YXJ79s8ArI4Oj4t9cdHvMotHbLCsU=; 5:B1WYalOytJDy/ddYrOjRbwVvSkUjYlPVigfAC7RkqKC2BDOPqFEUNg7/D630gIOCfI1STylUTupbxWmH1cmSHUSXUU8kupXmGRMA7Xvf79SBuSikhTDtNOMp39Fdm/14ujjIy0FGGP27I8Trbpipz1SlADLWVKXuRKeUimUnb/0=; 24:Kq+JZyO3ogAGhUTtlSGzymtt9Y6PVUYEFg687QTNP6HCQjniQZoB5AYeTHmgqovNvKBajrUWgwUVuHDs74AM5wnp6fQoY/m65qrKcZ8YKI4=; 7:6enqLzFpKcv2yL2GGol3/5MckIUCpIvCyDb2T71MlUZmifPzach8xTjU5k2N/RVfKYN2uJ9s8ReaUjZW79NXRuWeE6W6KrvuVrRI04MithF2Ob/B/Bw7M4neicPwOVtr3UExyMnY3IxHZopO2q6Ex2O6W5UHIcuJzy+URZw78duPNZhbGCXxValJEm3v28uLB3KHsMBW23z78CjfTuatQzrhvkUCL/1ypK7AjA8mK1MVfXBehCvqlALa1xtXdXv2 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2018 07:35:03.1311 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7fd4d878-983e-487d-610b-08d57f46f2af X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0753 Subject: [dpdk-dev] [PATCH v2 07/10] bus/fslmc: enabling dpaa2 compilation for other platforms X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2018 07:35:05 -0000 Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/qbman/qbman_sys_decl.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/drivers/bus/fslmc/qbman/qbman_sys_decl.h b/drivers/bus/fslmc/qbman/qbman_sys_decl.h index 5640b04..fa6977f 100644 --- a/drivers/bus/fslmc/qbman/qbman_sys_decl.h +++ b/drivers/bus/fslmc/qbman/qbman_sys_decl.h @@ -36,4 +36,18 @@ static inline void prefetch_for_store(void *p) #define dccivac(p) RTE_SET_USED(p) #define prefetch_for_load(p) { asm volatile ("pld [%0]" : : "r" (p)); } #define prefetch_for_store(p) { asm volatile ("pld [%0]" : : "r" (p)); } + +#else +#define dcbz(p) RTE_SET_USED(p) +#define lwsync() +#define dcbf(p) RTE_SET_USED(p) +#define dccivac(p) RTE_SET_USED(p) +static inline void prefetch_for_load(void *p) +{ + RTE_SET_USED(p); +} +static inline void prefetch_for_store(void *p) +{ + RTE_SET_USED(p); +} #endif -- 2.7.4