Skip to content

rawdev driver for ntb

Xiaoyun Li dpdk-dev 11 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest posting 2/25 patches 5 repliesIn review
  2. v10 posting 1/25 patches 0 repliesSuperseded
  3. v96 patches 3 repliesSuperseded
Earlier versions · 8
VersionPostedPatchesRepliesStatus
v86 patches9 repliesSuperseded
v76 patches0 repliesSuperseded
v66 patches4 repliesSuperseded
v56 patches2 repliesSuperseded
v46 patches0 repliesSuperseded
v36 patches0 repliesSuperseded
v26 patches2 repliesSuperseded
v16 patches12 repliesSuperseded

Changes in v10 from the cover letter

* Updated and refined the release notes in the same patch as the code.

Patches in v10 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5raw/ntb: introduce ntb rawdev driverMAINTAINERS config/common_base doc/guides/rawdevs/index.rst +10 more+731 -14 replies
2/5usertools/dpdk-devbind.py: add support for ntbdoc/guides/rawdevs/ntb_rawdev.rst usertools/dpdk-devbind.py+17 -00 replies
3/5raw/ntb: add intel ntb supportdoc/guides/rawdevs/ntb_rawdev.rst drivers/raw/ntb_rawdev/Makefile drivers/raw/ntb_rawdev/meson.build +3 more+480 -10 replies
4/5raw/ntb: add handshake processdoc/guides/rawdevs/ntb_rawdev.rst drivers/raw/ntb_rawdev/ntb_rawdev.c+340 -10 replies
5/5examples/ntb: enable an example for ntbMAINTAINERS doc/guides/sample_app_ug/index.rst doc/guides/sample_app_ug/ntb.rst +6 more+535 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v10 yet.

Read the v10 thread

Cover letter [dpdk-dev] [PATCH v10 0/5] rawdev driver for ntb

This patch set adds support for Intel NTB device with Skylake platform. It is a raw device for allowing two hosts to communicate with each other and access the peer memory.

This patch set also provides a simple example to transmit a file between two hosts. But since there is no FIFO here, only support file which is no more than 4M. And will add FIFO in the future.

series Acked-by: Jingjing Wu <[email protected]>

v10:
* Updated and refined the release notes in the same patch as the code.

v9:
* Fixed a typo.
* Added default case for PPD parse.

v8:
* Fixed a coding style issue.
* Rebased codes to the newest master branch.

v7:
* Fixed a typo.
* Generic spad registers to be spad_user and the specific spad is
* defined by the specific hw.
* Refined the codes by replacing with lib functions such as rte_read32.
* Rebased the codes to the newest dpdk-next-net-intel branch.

v6:
* Fixed a typo.

v5:
* Actual v4. v4 patchset is the same as v3.

v4:
* Fix compile issues of comparison of array with null pointer.

v3:
* Fixed compilation issues with target i686.
* Renamed communication devices to misc devices in usertool.
* Rebased to the newest dpdk-next-net-intel branch.

v2:
* Replaced ! with NULL check for pointers.
* Added ntb_ops valid check before use it.
* Replaced RTE_MEMZONE_1GB with RTE_MEMZONE_IOVA_CONTIG in case users do not use 1G hugepage.
* Added a timeout for dev_stop handshake in case that the peer stopped abnormally such as crashed while debugging.
* Updated docs especailly about how to setup BIOS for skylake.
* Fixed not return issue and not free issue in example.
* Renamed ntb_devices to communication_devices to be more generic in usertools.
* Polish the codes and docs.

Xiaoyun Li (5):
raw/ntb: introduce ntb rawdev driver
usertools/dpdk-devbind.py: add support for ntb
raw/ntb: add intel ntb support
raw/ntb: add handshake process
examples/ntb: enable an example for ntb

 MAINTAINERS                                   |   9 +
 config/common_base                            |   5 +
 doc/guides/rawdevs/index.rst                  |   1 +
 doc/guides/rawdevs/ntb_rawdev.rst             |  52 ++
 doc/guides/rel_notes/release_19_08.rst        |   5 +
 doc/guides/sample_app_ug/index.rst            |   1 +
 doc/guides/sample_app_ug/ntb.rst              |  47 +
 drivers/raw/Makefile                          |   1 +
 drivers/raw/meson.build                       |   2 +-
 drivers/raw/ntb_rawdev/Makefile               |  28 +
 drivers/raw/ntb_rawdev/meson.build            |   8 +
 drivers/raw/ntb_rawdev/ntb_hw_intel.c         | 369 ++++++++
 drivers/raw/ntb_rawdev/ntb_hw_intel.h         |  86 ++
 drivers/raw/ntb_rawdev/ntb_rawdev.c           | 839 ++++++++++++++++++
 drivers/raw/ntb_rawdev/ntb_rawdev.h           | 164 ++++
 .../ntb_rawdev/rte_pmd_ntb_rawdev_version.map |   4 +
 examples/Makefile                             |   1 +
 examples/meson.build                          |   2 +-
 examples/ntb/Makefile                         |  68 ++
 examples/ntb/meson.build                      |  16 +
 examples/ntb/ntb_fwd.c                        | 377 ++++++++
 mk/rte.app.mk                                 |   1 +
 usertools/dpdk-devbind.py                     |   9 +
 23 files changed, 2093 insertions(+), 2 deletions(-)
 create mode 100644 doc/guides/rawdevs/ntb_rawdev.rst
 create mode 100644 doc/guides/sample_app_ug/ntb.rst
 create mode 100644 drivers/raw/ntb_rawdev/Makefile
 create mode 100644 drivers/raw/ntb_rawdev/meson.build
 create mode 100644 drivers/raw/ntb_rawdev/ntb_hw_intel.c
 create mode 100644 drivers/raw/ntb_rawdev/ntb_hw_intel.h
 create mode 100644 drivers/raw/ntb_rawdev/ntb_rawdev.c
 create mode 100644 drivers/raw/ntb_rawdev/ntb_rawdev.h
 create mode 100644 drivers/raw/ntb_rawdev/rte_pmd_ntb_rawdev_version.map
 create mode 100644 examples/ntb/Makefile
 create mode 100644 examples/ntb/meson.build
 create mode 100644 examples/ntb/ntb_fwd.c
Signature · 1 line
2.17.1