From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0042.outbound.protection.outlook.com [104.47.0.42]) by dpdk.org (Postfix) with ESMTP id EA39F4F91 for ; Tue, 27 Feb 2018 18:27:38 +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=AtQZF5TI7xjRI2AXaKR3mk0ih3kaBlY8PbaUyjU0kkjdaAOjWPIBvZMRomo5zty3UXcq/IZsXUjnH7nw7AtiB/beWPIIni61YvsSx38AY+BudTOMJSY6hxdIJiEpBj0TnlOEEzTDY57GhivM0OC9Vy4bSMFKfIHbYN7MVEWg8w0= Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by DB4PR04MB0768.eurprd04.prod.outlook.com (2a01:111:e400:984d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Tue, 27 Feb 2018 17:27:37 +0000 From: Hemant Agrawal To: dev@dpdk.org, bruce.richardson@intel.com Cc: thomas@monjalon.net, shreyansh.jain@nxp.com Date: Tue, 27 Feb 2018 22:55:51 +0530 Message-Id: <1519752352-15442-7-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519752352-15442-1-git-send-email-hemant.agrawal@nxp.com> References: <1519752352-15442-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: BM1PR0101CA0017.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::27) To DB4PR04MB0768.eurprd04.prod.outlook.com (2a01:111:e400:984d::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 02456b55-0191-4b06-6b43-08d57e0765b9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020); SRVR:DB4PR04MB0768; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0768; 3:n14Int2ull9YcPct8NY0DZw6B2C471X5Eu/Tag+n5D6X77+liME++fsOl2/uq4JiezhEs9loRHvBjuP2cDnRiVcHC69E9p7RMWfcdJMyKPgTwUtwkJxc420KF/MyWwAEe4XDfu85vlZuzdXbT07tTEakclAXVo/b7DLEZqT9sTVpZnggimve3woB3rc29qSzHvcq/BD0Bvn67hUG5uvao7i9a4nRG2kVtHUvD3E1I/+ByTiVOB1f46Zn2nbGA+w2; 25:HdAin5Ru+m9422kdr8egDWyu4UWaIyJ8QZhoncDzfP+6AGAoa536M4pUQRscvXJfYDnj79gBM6C9ePFCUGGWcjcspngvveu17vmzADgIVly1Mtm5rYe2c0GD0KqFEONQFekuKx4kM2jsjau1GSe01E65WXNUx4NYFPd2cfn3DeI+TSIoJ7o83pRfjMjaow/jEHC27ugFCAOjsSKDDFXMPZCOs8ukELs4RgrNagJjFRymbkD0PmABqZs/qG4GayGcF9mNG00yVHRf5kbJrugfEo2oQTYsA9bGSH52EYLLagQbeLv+Fo/M6ly6ldw6eAr3kQCpviVBb+Y8YkJTSh+jeQ==; 31:BH8CQ01QQ4n7YRtLzHgRDoYUM+hGG09hHD9+vIRb+ixfbP/PM7BFHcAdEBPmvusSPPJq9B28ZRis4d8NFM5Fr+JovXJ18MR2yyCaV3HyRVrIPVYoHEtEAK0ZiAkmRwPDAHlvkKY7mlAfFB7TcKpuG0ncnBbUQ5RfSsIbwhMFh/P2yBWV+NwE/FO0/s88NA/9pNe2IjeMoe229AT0tk0JsXaBfVdEtXB7JYfG/UViW6Q= X-MS-TrafficTypeDiagnostic: DB4PR04MB0768: X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0768; 20:/Ds6c+AJicdZneMcgGS70qr+JrxWeZDdMnIR7FG6vI5b/0SKLOXKBbfnFW9aUuWgvuH3MvkBoVuRihZvRZUGjNX2/qdOMlREDPt7CIVWbc0vZsG9ohr/Z+Z/ty845+uRraq6HK7fwGMGR2FqCuIdJAj98eVc7bP2jBGOr7g44SF/mgEIz3K7+XsKKBCRxy3Wx4v+MpJWCa+wxal+bbgq/6+/eB9PxT32OBC4dwYYt2MFROq82bqV1+DGa6mCoEqw2H6YTQrFl+zL87svJu38l+bMF1s+BOuLo0bEpFCpeLyWNAdMGqsYRZLRFJ2YeAgn3uPdtJQ8EirX3ZiZEcy/WI9Im8NcMcuSbOOkb3bEVIBcs4bvBOihhH+Y+uVyZ3naW8978cY/tYOj5BEUhaXNo9PR/GhiCAbBn1q+OcsIOODZSXzYYkt+ZPOjTtuXN5swGq8BS0784mCS8z+s6imY18E14MaOP8YX0pmhOamd8zEPdVgWfDiRzjPIi08rh+rl; 4:gRefr6QZ9yJaBDi2kOIY1qXrvUQDUpYmOIghPcKZxQyFWE9Ahm7ApvQ8mNAJ97YpPyE/iImTvSRCf6E7gi/5No8vLLW9Jg6rgncWel2dvYcBI1CobJbwTFATA9QjBM2U1sdhVq1ODjb0QW2uFDD72IqYI+JzQSnENFDIwmZ2OfzFfiWp5brb30HeI6jhHBFbGk7CBEgFNZ5gjExDu1FOrqSQX7dij6Z36oVd7ltGc4qBmd23et9lce6cl/y/fOfaKMpqOT91SoIYZrGJK7GCwxMcePXLsNXzogp635kJbNkGie+4FqL4jrONHsKfCx3Y 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)(944501198)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041288)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:DB4PR04MB0768; BCL:0; PCL:0; RULEID:; SRVR:DB4PR04MB0768; X-Forefront-PRVS: 05961EBAFC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(396003)(376002)(39860400002)(39380400002)(346002)(199004)(189003)(26005)(316002)(68736007)(105586002)(16586007)(6512007)(36756003)(66066001)(2906002)(47776003)(386003)(6346003)(4326008)(53936002)(6486002)(8676002)(55236004)(8936002)(97736004)(81156014)(76176011)(3846002)(5009440100003)(7736002)(5660300001)(6116002)(25786009)(50226002)(6506007)(305945005)(478600001)(81166006)(51416003)(52116002)(6666003)(106356001)(86362001)(2950100002)(16526019)(48376002)(50466002)(186003)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR04MB0768; 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) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB4PR04MB0768; 23:tGYaqqPI1vZuOSDTBAW8sxcY1t1ywTRbkVDrHvtp0?= =?us-ascii?Q?1UkaYoDcyL8hYSwoLrAjZOOO7ZTetfl3Z4gFv51JPbs6zs1mVdGUr+CBVfM4?= =?us-ascii?Q?FsxR9iY3NBrpieUjxaj6OIneBo25TpbqJZwlKa2meuubaC+1xrvoXxNfS10d?= =?us-ascii?Q?89NoP/8cTnq+qaNhEQpCPqzcOG/9ylj63mI2I/yoGYYNz8jAdWrtNBXe4rUB?= =?us-ascii?Q?LVgcHuiCjVc5c0woQ42K3B2FZWlkVNuOnq4faSaBVAm14C4fsBRHIejuxNZD?= =?us-ascii?Q?mMbZb3lgrVJuAqZn2yjheJ9swReHK6J0dZTfdgPqIIpSQDaIg+IpxYleCEeU?= =?us-ascii?Q?fAIoNkYFYCjEJ3Ni+XC1K+4V/HMzkSvgFv7HovTni0YgM0gkY9jyDPYb6Pyz?= =?us-ascii?Q?uf2RwdWdK5zG78TeUdHAj39yIJPPEJNLjMV5s9muDd5LFLBl3Re+KuVpBp/c?= =?us-ascii?Q?2McvreObho+91/R4AE9bLRKvuhQTNXNtnptVx3wiTiR6meNDxgq+1N06ZrXZ?= =?us-ascii?Q?AfRaI2jzQ+JRrk5T50H/e99vW1MFfO5YxsocSu93V+zPhAL5w/9o0nXKe4IQ?= =?us-ascii?Q?bAWcB14+kEZuXZrvZB91jkrPHJscQ4aYCsH1naP5hkacvPd8iVK10no5fxnQ?= =?us-ascii?Q?CT/eiVKp08w54rb2zfNunMFIJaHgx0Exmka7VnoeK1E+SGujFrc3e4DIM3JS?= =?us-ascii?Q?RLPeLtc82xyUqvQymD/5TiS4TBILSFmE7WV89rAXfwzpNHXfJ2zKOHH5vIrU?= =?us-ascii?Q?kylbDwX/p+GFx81QfAywjXkETgu4/2DQQzPMbrpv6JHi59ZtHJcwY9pbZ2uz?= =?us-ascii?Q?WLf85fudkH2qJRcyE5T7RFjdx/EmEJJuZ0RsKLmK2MTCCUZb0rGu9oSLFLDD?= =?us-ascii?Q?ssJSgneIt6fUFe3HijMHrIujVjTx97fjJjiJP3rXT61z9jrful3I4dp1W+ak?= =?us-ascii?Q?j4MYpxjgkpA8HatSZCkcFjeD7d24oEMA3KNqCby65HFHdzlmRqJWdZBjB68d?= =?us-ascii?Q?pHbwgZRHsVCtkoDRUHUmtj4aw7sXnqNwMgnKrKmhTxUTR3xT0+18S9ISunB0?= =?us-ascii?Q?93ilM4y3p+VF/lk/1SaeC9V93TPMScosHJ2bchJhHouQHTktygAiUkgHg+Zt?= =?us-ascii?Q?5sBxLsUxlnR5idsTVO/KNffYodUf1u0C1oWgkRiwlsYLfiTaW8a9EGbIBzOd?= =?us-ascii?Q?tZgX15ljcjtjgU=3D?= X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB0768; 6:26zSHRQttyKZTJix0c9QjZ4NuMEZSxnr+6Jq3m5jXiWCkp3Ow1ceYvRdkQNQ88zTp46SvU233qvOxtgHG+gnHZEy92G93cFSniGU8pJRwfo2bklP20zPgxzZUVwfqWkcndkHqAElxOpkX+A/EFv7O3a/rV8kPrFNglZVhRihIqiDJX+e4SVbNxRikdi1Mw7pL8UqXYkhQIo4PZ1fEN6m07rkCSpcYpJJe08N1XB5ZImSab+lvF7u60J2fhGsZ/MobMZX9LlfUHwmsSIK5LBbVZ25b9azKwfzOwsa3CDMdMn5E5ueM7D7qO3v3ivPmm8vL0dYvKWLfEHx58RlEWuLPSaVI23cBT1wv6Bsfm/KiWc=; 5:tzshLrbM57EZ+ifazXv6uOZ1G1eznIAUVHz7M0wEo/wL1IPeEHXz6caPPdxqWu7OtZZZ/C6ZouRSIm1NV1Nis918kOm8CDdYuXK7iRBOk71qB4fVwTYLn5jRuRvl6ss9Q2xrBNGSLRI8Qcu6KzlaKbcBQaZDhiyZ+982X1nGARE=; 24:KCO3NQcoZ+9tKZLo7h9+G2KCclqiDBR+ZPxFi4QbDiSwq+pKFqGL2rdXnSvfTE8iX6ZcmvWIJSZ0c7tXnwGQ9bpB4Pq8WNfg9cLclA0P0xM=; 7:GLFk59lFTkRXTJ9PYQknRo/JD9F8SiAQeQsFRt/pKJdG27JEgNqpukKTdoHb7wDy3hqK0eCfNPQ0C9fgCU1tprHfxTUQI+eApX+3hgsJW0puJgqz50ZMrWnHYIaBFnLdmchBlJYz5jJtwUfU9HMu9lLUVY8mAP4Qpy5V63p8l7ycbK7Bced2cEbP65VtqmKM2JVVaRzGJMy2iDB4TQHh3i2q1jkwY1BtlG6LAmsPAb8CQwgH7a46PetHOKkXF7rq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2018 17:27:37.0564 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 02456b55-0191-4b06-6b43-08d57e0765b9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB0768 Subject: [dpdk-dev] [PATCH 6/7] 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: Tue, 27 Feb 2018 17:27:39 -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