From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40084.outbound.protection.outlook.com [40.107.4.84]) by dpdk.org (Postfix) with ESMTP id C05E37CFA for ; Wed, 14 Mar 2018 08:58:08 +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=oYvb4cJknvAsk12yFfP2ZFoUf9Wog6+6MOaBAT7sYW4MpRdqKgHD5BEf8aM7x1jqL2yRAINcRJkcS2vnhx+txgHMxuymJfkuy2rVB0bvrDNnqU78ZngNIOCjCZAZ4tFmosRJgPvEFPMvUftoz8+QJAwS1zxKCz7IyCSYFI15sQk= 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 AM2PR04MB0754.eurprd04.prod.outlook.com (2a01:111:e400:8411::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Wed, 14 Mar 2018 07:58:06 +0000 From: Hemant Agrawal To: dev@dpdk.org, bruce.richardson@intel.com Cc: thomas@monjalon.net Date: Wed, 14 Mar 2018 13:26:03 +0530 Message-Id: <1521014166-3201-8-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521014166-3201-1-git-send-email-hemant.agrawal@nxp.com> References: <1519889597-5805-1-git-send-email-hemant.agrawal@nxp.com> <1521014166-3201-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: BM1PR0101CA0008.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::18) To AM2PR04MB0754.eurprd04.prod.outlook.com (2a01:111:e400:8411::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 8aa121d9-6fc6-40d7-7458-08d5898152c1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM2PR04MB0754; X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0754; 3:UUcmQJbHrdMIeVFnDKihpFszeGgtJJ/HDQsqXzbKnFPkIg2nFXt7aof2zUpWgmhPGw6oGlQIkFqZfH2BOyy25zfi7/inOFva8j+lK/jhhswzTOAvElXrNFCxRKdZn6SeZiDj1OsaIcGSMOXTL+x0K23zgvo2VgLg5cOwb5mYyTu1F77PsCfwb6gGDrLxAW/CBcF0pj2G1QXYNNExV9RKwwxCvkogNcBXRL6+jJ3/8yMnr3cOOPzJVQiIx9M5wW0G; 25:wUYRqfPlxkORb/sn2O+P9U/Wk0AdlNpaMSXkLxKpOO/e+IpZBZ5WMHUjB8eh3ToiZfCGSjAnhvS3HViP85RgZ8crH7B3Hso10HSdhQwCbiFX3H59j2/24p+m79CUAyTTNprQwUfAaIXKSlJIM512yrGBUoeKRrXBrFQSKAPRahoJp7ptAMJL5jt+kZn+4oopjDxa/Gf37wbDARSHS+PkFiqMUS0pbK43Q4PbixgNDqrGZTWJOxNrApk4lkm+OGYI9Es43qfInfa7GpAbAwTRNliELSoX6K3E8ILEmvX9DGQlDujmqMC7nEEaW73ktGeYO7fOO/w9aAIhAewUrFEN1A==; 31:8YShsbc+hZ/0WAglKbU061y0AghpoaYeCuMglOdUkZmEnbDhx40je3OfPquMICVPrjKSF50HlKRre0sAQW8UW7JJ9GACVWUshsWXQRNnIfx8cDwS71g3p5hxDl2fHqLuJeaC0DAI7KSnieXii/BF6lwqupjQNEufg1dAK0yeJzzJYqtoJtfb4NxPEqZBPs3hAOF/9cgOZUwg1pwZnzKEgo+1AUAGP1EtXelPNcgdLOk= X-MS-TrafficTypeDiagnostic: AM2PR04MB0754: X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0754; 20:48xAEvcGmAsWDBtUjMGlQikCPYwAcOwDRgTmHBqvLFAL5XeLtFgwrlRJJFU8MjP5prci6i1W7vE2iwyrySFH+qoILCQ1IJGPrF9p1L0Uu7KRcUQIeLUWY4ayIvg9PCOw5NpE2KHSGdjfzcypxMM1Ge1ZKhEbjqSI7MtxHjILU+nyaTR0BtZX8Hduw8deFnFM3Ss9YfiifAAa9ziLvOzif10fQAWDtMVW4rk0OJCJ2cP+7ITdm/ro4zSkOJyF+gx299qsT+IRdYa7DlGDLgqCJ5mDYN2A2hXl/1thwCBLf53ikr+IX6wPZkzZMTQJis+hJHZToScOUiHmA6ES13KHlmnUgzu9hV2d6phD5ss9UprGTMZUH/BdJdzDH+PmVbxskJOGpf5b9b/oLvC3Taj5Co/VUGDKpHOp3fn0Fxvn65dbHCM4JcMZ5lLiJ9urr7K5dWUmTJqZjt994Lef+5jiMEAmCRCWdAuWKEtYON6OKUz+JPSS+9rBBjhOx2LxXNED; 4:wYeJwzDwkfw1IQXvV6FsX7Z0/9TTBXgS1k1hkzHOWDcczDZKw+/gsEwiC56mFnVvn9J034Fh/ugVelfjSfhAnQvebFsJLHyIHnLN+VlnE4zFXbHp+TUXGUn1VEblqPrBFs1n/Yl3zXhK6ZmQl+HwynuGVHBNhNzekBq9vKMDmP90WBWZ4LQnxYX9xqkTCvTlHXIKENt8p+I3jE1ea9rIcuLqXJq0dySjabUiuYKuB7N/bpMZw3fxFmxzx4L9f3O13DYy+nuxHk1x+/M0hhp4RZhcUdKdDdK0DLhBr3NlG9m6RaMf2lRlS/fthJ6O6a5f X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231221)(944501244)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:AM2PR04MB0754; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0754; X-Forefront-PRVS: 0611A21987 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(346002)(39380400002)(396003)(366004)(199004)(189003)(316002)(4326008)(16526019)(47776003)(6506007)(66066001)(186003)(52116002)(86362001)(386003)(55236004)(48376002)(2906002)(97736004)(68736007)(26005)(5660300001)(25786009)(105586002)(76176011)(51416003)(6512007)(50466002)(5009440100003)(6666003)(36756003)(16586007)(81166006)(6486002)(8936002)(106356001)(305945005)(7736002)(50226002)(6116002)(53936002)(81156014)(8676002)(2950100002)(3846002)(478600001)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0754; 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; AM2PR04MB0754; 23:X/qIZwrjXZCxMYHu9yA3aq9bRoGimQSYmqBneHm+I?= =?us-ascii?Q?y2TYVupjeVkX3VsbzhXDHI9mRrseMg3QdZMyM65afT6ljNTJBSF/mSTQQwJ9?= =?us-ascii?Q?XI3zQlhOBG6qxxS3jz26/igi3BiL67fQOxi/80h2+ruc8KhRIB5kUKUbvlds?= =?us-ascii?Q?A/AQUN6k9xZ7XCFdZNwBfCnQoOsfUV8W+nZpHM80NaZkUOxoc1cbeziCpvK2?= =?us-ascii?Q?eG5a5512wiukeaaeI/Y9rnqnjQVEPt/MzlkBesygo147Ei2sjFM8ByeEhfMa?= =?us-ascii?Q?rqV+ONgn0VcSr0Nxdr7Y3UA971cRwfcV/elXzhmbmMGQRJzTrF8qIq/ddnrf?= =?us-ascii?Q?olJGVO9spqxGFLOfh7wBYEaq/y8AYraNuMwKK/PJSzhI58nwQtxpK5b+gCRL?= =?us-ascii?Q?ODNNtGFfusAUlJ0nyak54VxqYZtVSQVwI/3PIz+sdalbRovuB45ayR5DS3oG?= =?us-ascii?Q?eQJROO75VoIbDRjNL/phsip12OXcsSThmFCs8mjQNNFEhg8bHD4axmSCpjor?= =?us-ascii?Q?BD+MsGanvJhFb/2iuST7E6+4Lvct5CYOMYSUflzyXjStWkeWOufr7C9J9xqQ?= =?us-ascii?Q?VPPkOhBwQ0dKEU3z9lVrgj9YKPt8WRNAytEWq3CrAGlyR0bTsUMzGJn+GUGW?= =?us-ascii?Q?yrSmjj5pmoCvi0Z/rlxxlhsTH7ruRV1mxqXnXaigMfwOXr7vngBiGYbpDkSZ?= =?us-ascii?Q?h0yZHd3yxrq03qH4YkbBbxvL7O/U6RGLAcAyPKZ0uTrAE//MztVyVkkWUZlY?= =?us-ascii?Q?EorXQJQbwDbnrHMpkJrzFaVkgff89Bx2LC0ZFCSjoYMFbFQlO7K24mOu/8qL?= =?us-ascii?Q?2r+vyV8hUClVJt0Z8fWYh9b6ptaA0hFMKrOldJXrWdYbnzgjVJbqtAw6NDoO?= =?us-ascii?Q?dE2ypLw+byUZ/OoOntmJQpDbklnbb5XHHyE3PZyF9Y5DWMdvrXn3DP7MtCDd?= =?us-ascii?Q?bt6p026fQvugI2kizw2hKCCYhNoTmhCQainrIx4xab0lox1c9shaHPDYIzHk?= =?us-ascii?Q?Rem6G4I74+pDKLOPmDqVvCtrU1H/N/HWcqO4vrO3T4C4h27lNdWzScwSsASt?= =?us-ascii?Q?sg/sdGt6vTGjnkr/lF1c2ME3ZgKFCEeU2T4oW+h3M43isu38xARw7of0ijJ1?= =?us-ascii?Q?UB+zrXtsaLrhrENLE2+AkDHBHYvVB0YfdEtTsNch1RuQgfUZEkQyg=3D=3D?= X-Microsoft-Antispam-Message-Info: 7p141l6Sc3Ss43iAvit941sO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RyEY+X+zHKyllAbHiXmwir/QDbO3xecRg4oUx/c9s0Fx SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2018 07:58:06.7488 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8aa121d9-6fc6-40d7-7458-08d5898152c1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0754 Subject: [dpdk-dev] [PATCH v3 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: Wed, 14 Mar 2018 07:58:09 -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