mbox series

[rdma-core,00/19] Pyverbs additions

Message ID 20190224130638.31848-1-noaos@mellanox.com (mailing list archive)
Headers show
Series Pyverbs additions | expand

Message

Noa Osherovich Feb. 24, 2019, 1:06 p.m. UTC
This pull requeset adds pyverbs support for PD and MR related classes,
divided as follows:
- General fixes prior to addition of new classes:
  - Rename Gid class to GID and use as will be done from now on for all
	acronyms.
  - Unify close() functions of pyverbs objects to a single cpdef
	function.
  - Switch to Python-style properties, replacing the deprecated legacy
	syntax.
- Add PD and MR related classes: PD, MR, MW, DM and DMMR. This part also
  adds support for ibv_query_device_ex(), as it is needed for new
  capabilities checks. Those patches also include unittests (for path
  only).
- Add support for ibv_query_port() in Context class. This is a very
  basic capability that doesn't depend on any missing infrastructure.
- Some technical/build-related commits: update MAINTAINERS file and fix
  build issues.

PR: https://github.com/linux-rdma/rdma-core/pull/476

Noa Osherovich (19):
  pyverbs: Rename Gid class
  pyverbs: Unify close functions
  pyverbs: Use new-style properties
  pyverbs: Introduce PD class
  pyverbs: Add unittests for PD class
  pyverbs: Introducing MR object
  pyverbs: Add unittests for MR class
  pyverbs: Add support for extended query_device
  pyverbs: Add support for memory window creation
  pyverbs: Add unittests for memory window control path
  pyverbs: Add support for direct memory usage
  pyverbs: Add direct memory related unittests
  pyverbs: Add query_port method
  pyverbs: Add unittests for query port
  update MAINTAINERS
  debian: Be explicit in dh_install in regards to NO_PYVERBS request
  build: Disable pyverbs build for older Cython versions
  travis: Update Cython version
  Documentation: update pyverbs

 .travis.yml                  |   3 +-
 Documentation/pyverbs.md     | 129 ++++++
 MAINTAINERS                  |   5 +
 buildlib/Findcython.cmake    |   8 +
 buildlib/cbuild              |   4 +
 buildlib/travis-build        |   2 +
 debian/rules                 |   7 +-
 pyverbs/CMakeLists.txt       |  11 +-
 pyverbs/addr.pxd             |   2 +-
 pyverbs/addr.pyx             |  57 +--
 pyverbs/base.pxd             |   6 +-
 pyverbs/base.pyx             |  41 +-
 pyverbs/device.pxd           |  44 ++-
 pyverbs/device.pyx           | 741 ++++++++++++++++++++++++++++-------
 pyverbs/libibverbs.pxd       | 181 +++++++--
 pyverbs/libibverbs_enums.pxd |  14 +
 pyverbs/mr.pxd               |  19 +
 pyverbs/mr.pyx               | 195 +++++++++
 pyverbs/pd.pxd               |  13 +
 pyverbs/pd.pyx               |  61 +++
 pyverbs/tests/device.py      | 224 ++++++++++-
 pyverbs/tests/mr.py          | 229 +++++++++++
 pyverbs/tests/pd.py          |  70 ++++
 pyverbs/tests/utils.py       |  44 +++
 24 files changed, 1904 insertions(+), 206 deletions(-)
 create mode 100644 pyverbs/mr.pxd
 create mode 100644 pyverbs/mr.pyx
 create mode 100644 pyverbs/pd.pxd
 create mode 100644 pyverbs/pd.pyx
 create mode 100644 pyverbs/tests/mr.py
 create mode 100644 pyverbs/tests/pd.py
 create mode 100644 pyverbs/tests/utils.py

Comments

Leon Romanovsky March 3, 2019, 12:45 p.m. UTC | #1
On Sun, Feb 24, 2019 at 03:06:19PM +0200, Noa Osherovich wrote:
> This pull requeset adds pyverbs support for PD and MR related classes,
> divided as follows:
> - General fixes prior to addition of new classes:
>   - Rename Gid class to GID and use as will be done from now on for all
> 	acronyms.
>   - Unify close() functions of pyverbs objects to a single cpdef
> 	function.
>   - Switch to Python-style properties, replacing the deprecated legacy
> 	syntax.
> - Add PD and MR related classes: PD, MR, MW, DM and DMMR. This part also
>   adds support for ibv_query_device_ex(), as it is needed for new
>   capabilities checks. Those patches also include unittests (for path
>   only).
> - Add support for ibv_query_port() in Context class. This is a very
>   basic capability that doesn't depend on any missing infrastructure.
> - Some technical/build-related commits: update MAINTAINERS file and fix
>   build issues.
>
> PR: https://github.com/linux-rdma/rdma-core/pull/476
>

Thanks, applied.