From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8827FA052E; Mon, 9 Mar 2020 16:43:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 83F681C0D1; Mon, 9 Mar 2020 16:43:21 +0100 (CET) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by dpdk.org (Postfix) with ESMTP id 77E361C0CA for ; Mon, 9 Mar 2020 16:43:19 +0100 (CET) Received: by mail-io1-f67.google.com with SMTP id v3so3525502iom.13 for ; Mon, 09 Mar 2020 08:43:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FnB/LsWf7nruwjktlmaIDkfGbyan6OPS2fV0pWLjh5s=; b=ZdesyY80NxpdHX4LqIuA1jJspVy7avNKrVdv3b115BBwSOfXE2ZBN6ZR7wRee3/c3Z FOa8Qs8EKWAzM52dSseSWGAQA01SOvdM5xKzkr5sqxZfx0Wno52sqlCAWlVRV6kfV/cj ozyGZpLLx+WKly1wNeDgmM3q17BJB79GxcYxmG7S8hUz79aYAIIaNN8AjVng+7CG8dLt rvcez72ksdKDiCXuAMmLX2ZdMSy+NDiG9Dn8VTZlAQuETppdXSzf2ubvuM/cjf99Eql+ 27LbUSSFfkvMelpcog6n7TSZR5v1qbvps/MS+C3RDipf/tXsBX9pcfwCwveHEr8nPto+ XlCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FnB/LsWf7nruwjktlmaIDkfGbyan6OPS2fV0pWLjh5s=; b=Syf8ufeu8WZhEhz2j5dPd8agIDa5kjWXnnZdT12Kt3mHndOoGqloXvVkqhwC7HQ+z6 Qs4WUUpJMbFU3dD3uWaXxjND9qnveZYOMcQuWTmIAzjljrHk1ct9cS/NiTRObkXbap2H mIqXVQqwlRN1hmJb1SyPdkiKn+bhBal2cMe/P+GzFbtxwCn5b5ndEBdc+BaMatvvreBQ Ojb+VZjisf9COdHauW6OJuuHO/7d1nYLkOCevozvFXUiS+7d1kck2O48OHJToaiuGOm5 OQiuVXdWF4HeGvmGfkq0/7xGwPcec8eNXEETE1elNwb9XypoEXu8dW2uKHv8HHR9fvKY Ak9w== X-Gm-Message-State: ANhLgQ2HV3VWUSKH0z4hlln7vbYlVC/HjjvUEhFQ8mVlgzy7usvC+4Mf XnwsbYvy2VVdm847zASGBeNZYSoxy6znaP+d1rg= X-Google-Smtp-Source: ADFU+vvIL8I7178TTehXheAhL6m8dW3d451HhhY6lUI6pMKxI09t5c8boJ8gwo+P6Zzn90OsxMmNbByqxKtA8vFjipo= X-Received: by 2002:a02:c016:: with SMTP id y22mr16214721jai.104.1583768598632; Mon, 09 Mar 2020 08:43:18 -0700 (PDT) MIME-Version: 1.0 References: <4099DE2E54AFAD489356C6C9161D53339729EB7E@DGGEML502-MBX.china.huawei.com> In-Reply-To: <4099DE2E54AFAD489356C6C9161D53339729EB7E@DGGEML502-MBX.china.huawei.com> From: Jerin Jacob Date: Mon, 9 Mar 2020 21:13:01 +0530 Message-ID: To: Linhaifeng Cc: "dev@dpdk.org" , "thomas@monjalon.net" , "Lilijun (Jerry)" , chenchanghu , xudingke Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] cycles: add isb before read cntvct_el0 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Mar 9, 2020 at 2:43 PM Linhaifeng wrote: > > We nead isb rather than dsb to sync system counter to cntvct_el0. # Currently rte_rdtsc() does not have dsb. Right? or any barriers. # Why do you need it? If it regarding, getting accurate value then use rte_rdtsc_precise(). > > Signed-off-by: Haifeng Lin