Sure. Thanks for reminding. Will fix it in v2.
> -----Original Message----- > From: Aaron Conole [mailto:acon...@redhat.com] > Sent: Thursday, September 5, 2019 21:57 > To: Li, Xiaoyun <xiaoyun...@intel.com> > Cc: dev@dpdk.org > Subject: re: [dpdk-dev] [PATCH 4/4] examples/ntb: support more functions for > NTB > > > 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 <xiaoyun.li at intel.com> > > --- > > ... > > > + 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.