The following patches add support for RDMACM in pyverbs. Currently only synchronous data path is supported (creation using rdma_create_ep). Testing infrastructure for RDMACM is also added as well as a synchronous traffic test. Maxim Chicherin (5): pyverbs: New CMID class tests: Fix PD API test tests: New CMResources Class tests: Add RDMACM synchronous traffic test Documentation: Document creation of CMID Documentation/pyverbs.md | 30 ++++ buildlib/pyverbs_functions.cmake | 2 +- pyverbs/CMakeLists.txt | 2 + pyverbs/cm_enums.pyx | 1 + pyverbs/cmid.pxd | 25 +++ pyverbs/cmid.pyx | 285 +++++++++++++++++++++++++++++++ pyverbs/device.pyx | 15 +- pyverbs/librdmacm.pxd | 106 ++++++++++++ pyverbs/librdmacm_enums.pxd | 32 ++++ pyverbs/pd.pyx | 24 ++- tests/CMakeLists.txt | 2 + tests/base.py | 52 ++++++ tests/rdmacm_utils.py | 43 +++++ tests/test_pd.py | 3 +- tests/test_rdmacm.py | 57 +++++++ 15 files changed, 668 insertions(+), 11 deletions(-) create mode 120000 pyverbs/cm_enums.pyx create mode 100755 pyverbs/cmid.pxd create mode 100755 pyverbs/cmid.pyx create mode 100755 pyverbs/librdmacm.pxd create mode 100755 pyverbs/librdmacm_enums.pxd mode change 100644 => 100755 pyverbs/pd.pyx mode change 100644 => 100755 tests/CMakeLists.txt create mode 100755 tests/rdmacm_utils.py mode change 100644 => 100755 tests/test_pd.py create mode 100755 tests/test_rdmacm.py -- 2.21.0