From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 148F245D08; Fri, 15 Nov 2024 02:58:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED35042EF2; Fri, 15 Nov 2024 02:58:07 +0100 (CET) Received: from out162-62-57-252.mail.qq.com (out162-62-57-252.mail.qq.com [162.62.57.252]) by mails.dpdk.org (Postfix) with UTF8SMTP id 6E6B040612 for ; Fri, 15 Nov 2024 02:58:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1731635873; bh=oBQFfm+mNdSUbJujU2v4HSvKJx4uSCxUfY3YACGKBP0=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=MTtN/iGb1mCOm2qisxGHwwhNKB05OlEp8fRlL8Nun/7z8mwO+0ZphoIREw64RgUIU mNNnGh4RX0GkMAYrWB4Xul7hJK2TEQtv0uCd4pq9hX1c+g0LWd9n9IpiMIeOYKB6UD AO7OUyh78MklFHTUDY9QhObqezwhsrAIrAD4qBao= Received: from LAPTOP-PMPPB61H ([175.167.145.196]) by newxmesmtplogicsvrszb16-1.qq.com (NewEsmtp) with SMTP id E6EB105E; Fri, 15 Nov 2024 09:57:46 +0800 X-QQ-mid: xmsmtpt1731635866t9qrgzisp Message-ID: X-QQ-XMAILINFO: MqN/FiDJuNHiCw5irohKUGuscwUQ3QY2LneeoxC918W0MKatTb2Y69DO8dkztG piIrrFFAMN+a6z55DbXIthl8FOpv2i3QDs6v8VgnQDdDlpFMYMbTafh2/q+Xt02GFXUSqQuSvz0B hUdaOnhocO+lkIQG26YRiSXB6FI7D2q1rOBbqRT0+WEEsfirLAtwLjHtljLVaZ9f0+/W9X3oUGCD Pm1oB9FEZOGtim00s8eMf9vSRwHoTBGr0zsU0tt16bgZs2iIt71nl4a2ua7Zq9wqLl3J21NJboNx oO4IxOJrRJfTcOqK9sQYDEzckgw4XtRW4FghUTWB5fZfwAqiZIAAVrxuzmPDMyH8zkhJlQcbKhOo Bo6RVNXsDiXf7RDtdwNz1tx6liXgGxe4ATjmjqSYJ32sAVthtAcwhHlIcAeEdjQsCXQSlvRrybvp jLsXafq9k3M3CXU9DvxhqVuuQOxYf+mD3IP4YOUNj+IlJkK6oM7WqmZyPjXigH8XAg/KN5vHCMhX 6utUFdbG6vKSKmQWaqFxPTp59gn9bFCqvVwJ2TdZHMm4p6WyTFkkap9tOx1Ibfo4Sy/J3ksxTCKt 9DkWX+t8L7Fse8mT3jCzMO1Ilffe+Gta9/lCHI8aBIkDIWrQG6SG3sXTA+DVx9IevWjX0vOL1JPw 4tCkiqtVu4v5BDGaWk8OK6NIEHBdoSaqgSvRmAL9tzVlKnun27yHgsgXGjbqAJlHizy1gKzAUhST lC7j8Mdd6s7zFdIQfOs4a/fllIh7YXjVBCnmKJzeg/3cojeXgmKNEO0vNALgE5AlUvutFduNauJ6 sPzMY2NeO29ojRBdc2V/2/iAtpj4HQyONUHnGXttx++wt+nUaTcAhb60SdECP60cavx7118WeQCi eyWO7q93+aoLfNFWPsV79Nz0zXUUwtJCaN0UoZAOtr X-QQ-XMRINFO: Mp0Kj//9VHAxr69bL5MkOOs= Date: Fri, 15 Nov 2024 09:57:46 +0800 From: Zhou congjie To: Stephen Hemminger cc: dev , "anatoly.burakov" Subject: Re: [PATCH] eal/linux: redefine the name for rte_fbarray_init() In-Reply-To: <20241114082459.10a991aa@hermes.local> X-OQ-MSGID: References: <20241114082459.10a991aa@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, 14 Nov 2024, Stephen Hemminger wrote: > > In general DPDK uses tsc instead of monotonic time, since it is faster and platform > independent (ie Windows). > > Why not use use a global counter instead? > I have tried tsc, but it only works on x86 and does not function on other archs. A global counter seems to be a good idea.