mbox series

[rdma-core,0/5] Add irdma user space provider for Intel Ethernet RDMA

Message ID 20210128035704.1781-1-tatyana.e.nikolova@intel.com (mailing list archive)
Headers show
Series Add irdma user space provider for Intel Ethernet RDMA | expand

Message

Nikolova, Tatyana E Jan. 28, 2021, 3:56 a.m. UTC
This patch series replaces the current i40iw library with
a unified Intel Ethernet RDMA library that supports
a new network device E810 (iWARP and RoCEv2 capable)
and the existing X722 iWARP device. The new library is fully
backward compatible with the i40iw driver and is designed
to be used with multiple future HW generations.

The corresponding irdma driver patch series is at
https://lore.kernel.org/linux-rdma/20210122234827.1353-1-shiraz.saleem@intel.com/

Tatyana Nikolova (5):
  rdma-core/i40iw: Remove provider i40iw
  rdma-core/irdma: Add Makefile and ABI definitions
  rdma-core/irdma: Add user/kernel shared libraries
  rdma-core/irdma: Add library setup and utility definitions
  rdma-core/irdma: Implement device supported verb APIs

 CMakeLists.txt                            |    2 +-
 MAINTAINERS                               |    7 +-
 debian/control                            |    2 +-
 debian/copyright                          |    8 +-
 kernel-headers/CMakeLists.txt             |    4 +-
 kernel-headers/rdma/i40iw-abi.h           |  107 --
 kernel-headers/rdma/ib_user_ioctl_verbs.h |    2 +-
 kernel-headers/rdma/irdma-abi.h           |  140 ++
 libibverbs/verbs.h                        |    2 +-
 providers/i40iw/CMakeLists.txt            |    5 -
 providers/i40iw/i40e_devids.h             |   72 --
 providers/i40iw/i40iw-abi.h               |   55 -
 providers/i40iw/i40iw_d.h                 | 1746 -------------------------
 providers/i40iw/i40iw_osdep.h             |  108 --
 providers/i40iw/i40iw_register.h          | 1030 ---------------
 providers/i40iw/i40iw_status.h            |  101 --
 providers/i40iw/i40iw_uk.c                | 1266 ------------------
 providers/i40iw/i40iw_umain.c             |  226 ----
 providers/i40iw/i40iw_umain.h             |  181 ---
 providers/i40iw/i40iw_user.h              |  456 -------
 providers/i40iw/i40iw_uverbs.c            |  983 --------------
 providers/irdma/CMakeLists.txt            |    8 +
 providers/irdma/abi.h                     |   43 +
 providers/irdma/defs.h                    |  497 +++++++
 providers/irdma/i40e_devids.h             |   36 +
 providers/irdma/i40iw_hw.h                |   31 +
 providers/irdma/ice_devids.h              |   59 +
 providers/irdma/irdma.h                   |   54 +
 providers/irdma/osdep.h                   |   23 +
 providers/irdma/status.h                  |   69 +
 providers/irdma/uk.c                      | 1724 +++++++++++++++++++++++++
 providers/irdma/umain.c                   |  329 +++++
 providers/irdma/umain.h                   |  200 +++
 providers/irdma/user.h                    |  454 +++++++
 providers/irdma/uverbs.c                  | 1990 +++++++++++++++++++++++++++++
 redhat/rdma-core.spec                     |    6 +-
 suse/rdma-core.spec                       |    4 +-
 37 files changed, 5676 insertions(+), 6354 deletions(-)
 delete mode 100644 kernel-headers/rdma/i40iw-abi.h
 create mode 100644 kernel-headers/rdma/irdma-abi.h
 delete mode 100644 providers/i40iw/CMakeLists.txt
 delete mode 100644 providers/i40iw/i40e_devids.h
 delete mode 100644 providers/i40iw/i40iw-abi.h
 delete mode 100644 providers/i40iw/i40iw_d.h
 delete mode 100644 providers/i40iw/i40iw_osdep.h
 delete mode 100644 providers/i40iw/i40iw_register.h
 delete mode 100644 providers/i40iw/i40iw_status.h
 delete mode 100644 providers/i40iw/i40iw_uk.c
 delete mode 100644 providers/i40iw/i40iw_umain.c
 delete mode 100644 providers/i40iw/i40iw_umain.h
 delete mode 100644 providers/i40iw/i40iw_user.h
 delete mode 100644 providers/i40iw/i40iw_uverbs.c
 create mode 100644 providers/irdma/CMakeLists.txt
 create mode 100644 providers/irdma/abi.h
 create mode 100644 providers/irdma/defs.h
 create mode 100644 providers/irdma/i40e_devids.h
 create mode 100644 providers/irdma/i40iw_hw.h
 create mode 100644 providers/irdma/ice_devids.h
 create mode 100644 providers/irdma/irdma.h
 create mode 100644 providers/irdma/osdep.h
 create mode 100644 providers/irdma/status.h
 create mode 100644 providers/irdma/uk.c
 create mode 100644 providers/irdma/umain.c
 create mode 100644 providers/irdma/umain.h
 create mode 100644 providers/irdma/user.h
 create mode 100644 providers/irdma/uverbs.c

Comments

Leon Romanovsky Jan. 28, 2021, 1:26 p.m. UTC | #1
On Wed, Jan 27, 2021 at 09:56:59PM -0600, Tatyana Nikolova wrote:
> This patch series replaces the current i40iw library with
> a unified Intel Ethernet RDMA library that supports
> a new network device E810 (iWARP and RoCEv2 capable)
> and the existing X722 iWARP device. The new library is fully
> backward compatible with the i40iw driver and is designed
> to be used with multiple future HW generations.
>
> The corresponding irdma driver patch series is at
> https://lore.kernel.org/linux-rdma/20210122234827.1353-1-shiraz.saleem@intel.com/
>
> Tatyana Nikolova (5):
>   rdma-core/i40iw: Remove provider i40iw
>   rdma-core/irdma: Add Makefile and ABI definitions
>   rdma-core/irdma: Add user/kernel shared libraries
>   rdma-core/irdma: Add library setup and utility definitions
>   rdma-core/irdma: Implement device supported verb APIs

1. As we will approach to the actual merge, please post PR on github,
it will give us a way to see in advance that all our checkers are fine.
2. Kernel headers are needed to be pulled with kernel-header/update script.
3. Please, no fprints in the library for the new code. I recommend to
take MLX5_DEBUG_FILE logic and move it one layer up so it will be
applicable for all providers.

Thanks
Jason Gunthorpe Jan. 28, 2021, 1:37 p.m. UTC | #2
On Wed, Jan 27, 2021 at 09:56:59PM -0600, Tatyana Nikolova wrote:
> This patch series replaces the current i40iw library with
> a unified Intel Ethernet RDMA library that supports
> a new network device E810 (iWARP and RoCEv2 capable)
> and the existing X722 iWARP device. The new library is fully
> backward compatible with the i40iw driver and is designed
> to be used with multiple future HW generations.
> 
> The corresponding irdma driver patch series is at
> https://lore.kernel.org/linux-rdma/20210122234827.1353-1-shiraz.saleem@intel.com/
> 
> Tatyana Nikolova (5):
>   rdma-core/i40iw: Remove provider i40iw
>   rdma-core/irdma: Add Makefile and ABI definitions
>   rdma-core/irdma: Add user/kernel shared libraries
>   rdma-core/irdma: Add library setup and utility definitions
>   rdma-core/irdma: Implement device supported verb APIs

Please make sure this passes pyverbs tests in both operating modes,
confirm this was done in the cover letter

Jason