raw/ntb: support xstats
authorXiaoyun Li <xiaoyun.li@intel.com>
Thu, 26 Sep 2019 03:20:20 +0000 (11:20 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 21 Oct 2019 13:41:13 +0000 (15:41 +0200)
commit86083fccf25272d864526ad05670174280ae397a
treee31461ef44e2b709d4fe1c0115a41aa0d2153001
parentc39d1e082a4b426e915074ce30eb6f410ee2654a
raw/ntb: support xstats

Add xstats support for NTB rawdev.
Support tx-packets, tx-bytes, tx-errors and
rx-packets, rx-bytes, rx-missed.

Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/raw/ntb/ntb.c
drivers/raw/ntb/ntb.h