[dpdk-dev] [PATCH 4/4] examples/ntb: support more functions for NTB
Aaron Conole
aconole at redhat.com
Thu Sep 5 15:56:30 CEST 2019
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.
More information about the dev
mailing list