DPDK patches and discussions
 help / color / mirror / Atom feed
* Re: [dpdk-dev] [PATCH 4/4] examples/ntb: support more functions for NTB
@ 2019-09-05 13:56 Aaron Conole
  2019-09-06  1:19 ` Li, Xiaoyun
  0 siblings, 1 reply; 3+ messages in thread
From: Aaron Conole @ 2019-09-05 13:56 UTC (permalink / raw)
  To: Xiaoyun Li; +Cc: 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 <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.

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [dpdk-dev] [PATCH 0/4] enable FIFO for NTB
@ 2019-09-05  5:39 Xiaoyun Li
  2019-09-05  5:39 ` [dpdk-dev] [PATCH 4/4] examples/ntb: support more functions " Xiaoyun Li
  0 siblings, 1 reply; 3+ messages in thread
From: Xiaoyun Li @ 2019-09-05  5:39 UTC (permalink / raw)
  To: jingjing.wu, keith.wiles, omkar.maslekar, cunming.liang; +Cc: dev, Xiaoyun Li

Enable FIFO for NTB rawdev driver to support packet based
processing. And an example is provided to support txonly,
rxonly, iofwd between NTB device and ethdev, and file
transmission.

Xiaoyun Li (4):
  raw/ntb: setup ntb queue
  raw/ntb: add xstats support
  raw/ntb: add enqueue and dequeue functions
  examples/ntb: support more functions for NTB

 doc/guides/rawdevs/ntb.rst             |   67 +-
 doc/guides/rel_notes/release_19_11.rst |    4 +
 doc/guides/sample_app_ug/ntb.rst       |   59 +-
 drivers/raw/ntb/Makefile               |    3 +
 drivers/raw/ntb/meson.build            |    1 +
 drivers/raw/ntb/ntb.c                  | 1078 +++++++++++++++-----
 drivers/raw/ntb/ntb.h                  |  162 ++-
 drivers/raw/ntb/ntb_hw_intel.c         |   48 +-
 drivers/raw/ntb/rte_pmd_ntb.h          |   43 +
 examples/ntb/meson.build               |    3 +
 examples/ntb/ntb_fwd.c                 | 1297 +++++++++++++++++++++---
 11 files changed, 2349 insertions(+), 416 deletions(-)
 create mode 100644 drivers/raw/ntb/rte_pmd_ntb.h

-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-06  1:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-05 13:56 [dpdk-dev] [PATCH 4/4] examples/ntb: support more functions for NTB Aaron Conole
2019-09-06  1:19 ` Li, Xiaoyun
  -- strict thread matches above, loose matches on Subject: below --
2019-09-05  5:39 [dpdk-dev] [PATCH 0/4] enable FIFO " Xiaoyun Li
2019-09-05  5:39 ` [dpdk-dev] [PATCH 4/4] examples/ntb: support more functions " Xiaoyun Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).