From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0079.outbound.protection.outlook.com [104.47.32.79]) by dpdk.org (Postfix) with ESMTP id F2FAC5587; Sun, 13 Aug 2017 14:34:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=VwxgOCJtnh6jGvpv4zmozOO953xlbCrKj03iv4pf0zA=; b=imRQcrjSGC9np3nUumTqQdTHOxptHGkBJLzoBW0vz4DzFh/q54c6IidSMJnNh9RyWvaPncPoxaVQxe25m4ce8h6vnblM/lJJKU307X7BKTMIvv1Cx8i1JUnLYYvK5ztofY5F22DWS//KadmjsnuntEFElMUDqhRwzO0s31Nmjy8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin.domain.name (111.93.218.67) by SN2PR07MB2527.namprd07.prod.outlook.com (10.167.14.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1341.21; Sun, 13 Aug 2017 12:34:13 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: rsanford@akamai.com, Jerin Jacob , stable@dpdk.org Date: Sun, 13 Aug 2017 18:03:38 +0530 Message-Id: <20170813123338.23237-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0029.INDPRD01.PROD.OUTLOOK.COM (10.174.214.15) To SN2PR07MB2527.namprd07.prod.outlook.com (10.167.14.155) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b6ab55aa-5e10-4bec-2b3e-08d4e2479c01 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN2PR07MB2527; X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2527; 3:eHxThA9sLIDjYwqMNEr7iECIE9wiPpTzqD+nl9wbnk8sl7JHd0fpAUt6sN3824LZakdo6dcsZ5TkGewMNsWW3iQQBrsPpGcjKhXQTyB/PCutx3qYdEymhZY2p4VW1H5TA7QEeaqlTa0Qo9Kl/EH9gMsa0/xisulxL34PxabXcpg7KFCqn/pwAk2Lea0Qduk/noWDdSonytWdX+N3GCtJHJMjORycmbyUQhZz1QRWVdescFKca4cXoXBGuo4n8p4Z; 25:UUuDoCS2PVl+6itK/aksS+U5rtuSDnHsI66PU38+U2s6iHvp/7Spot3I34DiVRoSAhR61PfK10d4Rz0PzAOgQ8L/5g3lAWbv9J/1VcIL7JBdjHrDhIy3Ztot8P8uoq6yXQ0ZZjFKvdZYY3cy+2RxoQv7EOMTCFIeMZ/tcbUzA9irgfCaXmHkV2vydWyz30/QfY4dnJPv6wj4S9ogX3hRFy+NprAP6stHdX5ASmoPC9tHkE8UqMay12bj1wCyrCXiZdMYOIt3eWdXz9Ez3YN4lbGy+zwiqOWdtABEz7DQrIBUdicxo9SAkjare/XfofABczMfiLqWody85G3vG3VMQQ==; 31:lSUpSWCe8DS4U60hV9Afn29CGF2oIYzskw54WttQyUha/UGakSiQqDS37mfHylqrLlQfwXyBChyvRvbkQ3ldmABp0LdGZPToNCdkKvMqTxI1eldcyzLvaYoYXTd+k5RMJLT186vEOSD6V9nzSeLkI3zG8lM+3vuUwUaWiEO96jFPFdv4ql1EQAXkKVh84ZlI+AyXkaI13mbESFSAyyQL7NW+Yj5yVEAOvGnWp3/ACoM= X-MS-TrafficTypeDiagnostic: SN2PR07MB2527: X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2527; 20:ref/md6vTMMzJHxjxbw6bcojvE58VPhDU6yUa12R5dVqelfsdPl1Qtw3R19NVm/faxjFY1XE6uaF5ojh6bxJVmM7zb5xQr2sCIysy2gLw1+q7VlKVk6bBQXuJvqAOtvXf1SEKlyDxNDQdgsu7aUDWiti5txNVsCxmlWVEGNxHCg9pAm/KWxVj+jcm5AfJzTS1hw0+i9eglL/qcVWFBKyzY7J6MuuuSuaPaeie/Uo6ozZ22oT1BWPAvaMosR4SMzpamSNSwtnIEKU6FwONl13sqiOHeiKl78FqmXaL5Rf5T6EhSqN8l+zmAG+OZ3cf8GKmBH4G0NYNWiC5UhX8AQB/PPKs3+j1AUg/zOJ8OJ3WBy3FKl8yuO9nOBpaxyPuJU8PtNyROlZRQVgNj8FdQ/d+mbAXNYos7wjhB0eKjeNRzXZhfEMJ3kvXgRB1ywhd5oI58CQ29UBqqc869ABzPTE0ehJ7VvSdlH6nBwbn/yqlJ7tpLGwevRpxZnaVqzca+adrzfWY1h1dBxsee5d0jZK4iMdvGUGVUj+c766+qUeQk5epP/5P7bbcih5Mdv+PJnNj24S5bb8AQ1PfvubO7gsa8ueyL6LPweRacKp+S86Wf4=; 4:UtaeLlLAjIy/ZQIbydaw/YOUxstYoiH5nSbcV+xQpuSo4U/1oFlBxwAeik/vX3slyiDDQBcrpn7zsK3G7RRdV6HUPB0KQ0doSte5tSJj3zt2JuPQZaH/7KWxcyIRy3IEdOhFxNRHVvRKvd8apI3bG/yYHYM6/vQ0FXVBHuKPyQ0rgKXHyDUNkVXd3Wa4KLo4p6s6Y6nQ6TaeY8xHGCU08DZ7GtL9gKYsSc4CEoPsL//be3fuKEsa/WZk8NASXmTw X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123560025)(20161123555025)(20161123558100)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN2PR07MB2527; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN2PR07MB2527; X-Forefront-PRVS: 03982FDC1D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(199003)(189002)(33646002)(7350300001)(2361001)(2351001)(8676002)(7736002)(105586002)(6916009)(6506006)(48376002)(106356001)(97736004)(6666003)(4326008)(6486002)(42882006)(5660300001)(110136004)(50466002)(2906002)(47776003)(72206003)(36756003)(69596002)(66066001)(53936002)(50986999)(25786009)(50226002)(5003940100001)(189998001)(53416004)(305945005)(81166006)(6512007)(42186005)(5009440100003)(6116002)(81156014)(478600001)(3846002)(101416001)(68736007)(1076002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR07MB2527; H:jerin.domain.name; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR07MB2527; 23:W3v0ulK0W+bXUjUDgIao/gIuDSo7qNNJmWRa//er7?= =?us-ascii?Q?T+1vZ15yejEPKeNzaDgHLw333Pm0RmNKxwJgWtM8YxCPApHnf3qUr2RkwWVv?= =?us-ascii?Q?u01t+hZ2DS0o4Pdaa9jy+luhypHbOn68NypCY/tm9LmIXFs6HdAK3nxiLWCB?= =?us-ascii?Q?NzhIEjoreXfes+zL9XJ2QPJ0+F0Cp2kqUBegjR8fx6SnnTINI6kOxhGm9F3x?= =?us-ascii?Q?QeyyzqOA6yDo/3MgJLV8BcVvR+5IYkozSDSNdDG0NNgXREiuG2+cIFEp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HdEMekjE1sjLP/e3O+F8lCqaqZbhWLcTo1?= =?us-ascii?Q?eDRGA9uDeCVEwA=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN2PR07MB2527; 6:nyopO6IFZZFz/X5w4/Si6O2J4aU3Sz+o/e1DmruQ+CWlzRA/1YDKEaUsbHmOcTTGLQD4qHOFiszWuv1reaMFP75Psxw/R6vcZMU3AU6uQtpbdJO5cWXrOBAYLdyeMMpeBylT2WBuUXjRoCRGIJoilWm9KdzD95+5XytPmpzPier9kNpvnaNeg/X5vXsdNz3F1s4FRHlJdyXxA47JP/GnRNiHUu86BzYSEAFt5g/BckUds/aJit26VXZGCT6P0jH9rFZYk5wWtHowGcTMVqCXf+mGpbQGiIMl2843xuQRUO/z48D6BHqdo597BC/OBYazIQE+rgf84hja7cH+UAunXw==; 5:CD/7B7my9/EdHNGkf8JxEhoFEFgaZchpJHKhs+7ykEwPqGVhM2o6ROoAO8ZpxfcsNT7AJhZZZbrmLH2smho4pl06VhyBGsG/TXmxK7PqoyawdYhixT47lyESDcu6UpGw9Gr5PDCHBGIQL44bxtFNvA==; 24:65bzYdhBAiXnJNattVDpnZkYXTMKx1GVAYq75DMuCanJDFs/vFKJl/fIEPup6LN+B60ho7k4EaDPp5iNklczglKiECwx0ZGvIXU09ImnIOs=; 7:bTq0v6NO39sinavvgSe6x8BUfwGV/63MN3vdToG98/MMqntJ6ydoIQo0vgIfIjGdRmI9sXte0+SUTg/hk7IOqYDVKHTCQQ4C48hc2w59ToBLGKa9KK+wBzlKnMNIQ4lEDjTag8KeLdztgEQcCI7xrHMIwJhLSemUzfhNjo8/YYWR/xyKQ7vuLRmeRpPcgRLlH4kS+DV8l6saC8zS0bSZ5xu7qOPeVu64r8NxhLmI3Uo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2017 12:34:13.5366 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR07MB2527 Subject: [dpdk-dev] [PATCH] timer: move 64bit specific code under ARCH64 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: Sun, 13 Aug 2017 12:34:17 -0000 64bit load and store will be an atomic operation on all the 64bit processors. Change RTE_ARCH_X86_64 to RTE_ARCH_64 to reflect the case. Fixes: 9b15ba895b9f ("timer: use a skip list") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob --- lib/librte_timer/rte_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_timer/rte_timer.c b/lib/librte_timer/rte_timer.c index 5ee084080..f1f332d5c 100644 --- a/lib/librte_timer/rte_timer.c +++ b/lib/librte_timer/rte_timer.c @@ -525,7 +525,7 @@ void rte_timer_manage(void) return; cur_time = rte_get_timer_cycles(); -#ifdef RTE_ARCH_X86_64 +#ifdef RTE_ARCH_64 /* on 64-bit the value cached in the pending_head.expired will be * updated atomically, so we can consult that for a quick check here * outside the lock */ -- 2.14.1