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 76F73A2E8C for ; Thu, 5 Sep 2019 15:56:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1DDC11EFCA; Thu, 5 Sep 2019 15:56:35 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id C5FD41EFC8 for ; Thu, 5 Sep 2019 15:56:32 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 09AF630A5A4E; Thu, 5 Sep 2019 13:56:32 +0000 (UTC) Received: from dhcp-25.97.bos.redhat.com (unknown [10.18.25.8]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A8149600F8; Thu, 5 Sep 2019 13:56:31 +0000 (UTC) From: Aaron Conole To: Xiaoyun Li Cc: dev@dpdk.org Date: Thu, 05 Sep 2019 09:56:30 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Thu, 05 Sep 2019 13:56:32 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH 4/4] examples/ntb: support more functions for NTB 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" Hi Xiaoyun, Xiaoyun Li writes: > Support to transmit files between two systems. > Support iofwd between one ethdev and NTB device. > Support rxonly and txonly for NTB device. > Support to set forwarding mode as file-trans, txonly, > rxonly or iofwd. > Support to show/clear port stats and throughput. > > Signed-off-by: Xiaoyun Li > --- ... > + static uint64_t prev_cycles[2]; > + > + diff_cycles = prev_cycles[port]; > + prev_cycles[port] = rte_rdtsc(); > + if (diff_cycles > 0) This (and a few other places) causes error on aarch64 platform. Can you either restrict this example to x86 only, or rework it to use some other interface? See: https://travis-ci.com/ovsrobot/dpdk/jobs/231342972 for more information.