examples/ntb: support more functions
authorXiaoyun Li <xiaoyun.li@intel.com>
Thu, 26 Sep 2019 03:20:22 +0000 (11:20 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 21 Oct 2019 13:41:23 +0000 (15:41 +0200)
commit5194299d6ef5f29ee41043dd9e36f04595bb25f9
treec4ac08a034e4c53e6fec2443418357d1fb60dc99
parent11b5c7daf01993b1582e048d217bde2b0e075afa
examples/ntb: support more functions

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@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
doc/guides/sample_app_ug/ntb.rst
examples/ntb/meson.build
examples/ntb/ntb_fwd.c