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 16A3045D08; Fri, 15 Nov 2024 03:00:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6BD9F42EF2; Fri, 15 Nov 2024 03:00:33 +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 462E842E52 for ; Fri, 15 Nov 2024 03:00:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1731636024; bh=1/p+NojzGDSzfsJI9yQJJR9B2++OdOo2Y4qr2770LYI=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=nFMbd20t6+hpYZqUvFtxMD3AUFRg/osUFmqnWOm8luHk86Std2UI36GujngApwieT MXH+THBPgFBm+mYcZFMHRLqK+UXYzd+DgMtlqXN7XPDHJ9ya5GUqZ5DcEjcTsc/UIO 2xQVw3j3pKkhGaG2mZXPilCb4f+CsnEppBTL2zUI= Received: from LAPTOP-PMPPB61H ([175.167.145.196]) by newxmesmtplogicsvrszc16-0.qq.com (NewEsmtp) with SMTP id 11052D5; Fri, 15 Nov 2024 10:00:17 +0800 X-QQ-mid: xmsmtpt1731636017tp45dld78 Message-ID: X-QQ-XMAILINFO: MqG4KXyEKpQy92Q4aGh39t78+WKyEKbXkJgzSb0lalW3IgJQqM9gZR22n2EQQu FY6T4duPBqjmgnv4ZIj3dPNxZ8VOMA+YNCaW5ph/p2azZ7zaebEDQIMlCjAyL3E/7RR8AcGI2gzF 5xJ/0aB4JGacNcg00guAnsdiysFqJXJrjOWn/5Th6nawOgT/2AN4tIQqWHgSks6gq3SxGdBmX332 sOl+emJdGrob5GCEvIPAa+CQt8f1Zyp2K7NdILzmkZfixw2tkirZkDCR4HVSs8CsG4deqngiC8g4 yW7hLDms8q1VRril1D8UG+0e5m/GIYMqpL45/RRHcgwlk8QLO6SQzRY7BRgYAwpZfogGvjSICCYv oyNAtfBcTla9T7jfTTaT+8EFDBthPwxgxcS0G8colVjE18VkvIZ/fJRUOXNifkPPW3ZqafuRX+B8 zF6SMKGyKqqhiFrCjClYWpUUk77qjo1xsSEm36iT7k4JVd3lzCo7PspAV7+ljBFY7kI5iUSergTY V+WtP54Qr8SvMGAQKxfIJuGwyrHVpaFvsedknwYdc0Vrsqfm4ziwY3fOAnoSTy7hAGRvQoNar2jQ lw5lw4Sd0i1F9KMHgWhEoX53M384pq7Qm2lbYAuIBbCS31eNrN1mJVlM/9s6FNjQvNaNni4DE7qr 4EghQfrjk41XV9md/mUYOGt6csldq2TyNnyuXWexa7WpHru5jXjpJDjpr06Xsu+a5wip5sGT1OYi 73nBQ0iY5O33wV1FTs9/8uQOXunWJJOPihXCQw2bX4J/wGETcj7ONt67yj/IhDvsXzxznHwFhNPV 9ccqRg1GKJVzEKRJWvTa99JqOwT8/a141CB6YOAZcCm9a4C0ao5OsdXZl0Ahod9DI50KXqz7BpKw Ehrhw21Vf66q+QhJzue3wKGuNvw/USUHoWCl0CJ97XBlz1iR8E7r+F8VssnICtTT2Giane6jScFH StDBCuxh3dqIMuYD7GD4QL1RP8L8sXDs718kZPPA9VAro0G3S1I2GSKs31yx6a X-QQ-XMRINFO: NS+P29fieYNw95Bth2bWPxk= Date: Fri, 15 Nov 2024 10:00:17 +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: <068be11b-e884-5db9-1cfe-e76c4ec9a516@qq.com> 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 architectures. A global counter seems to be a good idea.