[dpdk-dev] [PATCH v5 0/4] enable FIFO for NTB
Xiaoyun Li
xiaoyun.li at intel.com
Tue Sep 24 10:43:41 CEST 2019
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.
Acked-by: Omkar Maslekar <omkar.maslekar at intel.com>
---
v5:
* Added missing free function when error happens.
* Reworked on xstats reset and get to avoid competition of reset and
* en/dequeue.
* Added missing info in doc.
v4:
* Fixed compile issues with 32-bit machine.
* Fixed total xstats issue.
v3:
* Replace strncpy with memcpy to avoid gcc-9 compile issue.
v2:
* Fixed compile issues with 32-bit machine and lack of including file.
* Fixed a typo.
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 | 1134 ++++++++++++++++-----
drivers/raw/ntb/ntb.h | 163 ++-
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 | 1298 +++++++++++++++++++++---
11 files changed, 2406 insertions(+), 417 deletions(-)
create mode 100644 drivers/raw/ntb/rte_pmd_ntb.h
--
2.17.1
More information about the dev
mailing list