Skip to content

Export vendors specific ABIs

Leon Romanovsky linux-rdma 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 5 repliesIn review
  2. v18 patches 4 repliesSuperseded

Changes in v2 from the cover letter

* Added Steve's ROB tags for cxgb3/cxgb4
* Added mthca driver to the list of exposed drivers

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9IB/mlx5: Move and decouple user vendor structuresdrivers/infiniband/hw/mlx5/cq.c drivers/infiniband/hw/mlx5/main.c drivers/infiniband/hw/mlx5/mlx5_ib.h +5 more+279 -2860 replies
2/9IB/cxgb3: Move user vendor structuresdrivers/infiniband/hw/cxgb3/iwch.c drivers/infiniband/hw/cxgb3/iwch_provider.c drivers/infiniband/hw/cxgb3/iwch_user.h +1 more+78 -760 replies
3/9IB/cxgb4: Move user vendor structuresdrivers/infiniband/hw/cxgb4/iw_cxgb4.h drivers/infiniband/hw/cxgb4/user.h include/uapi/rdma/cxgb4-abi.h+82 -810 replies
4/9IB/mlx4: Move user vendor structuresdrivers/infiniband/hw/mlx4/cq.c drivers/infiniband/hw/mlx4/main.c drivers/infiniband/hw/mlx4/qp.c +3 more+111 -1110 replies
5/9IB/ocrdma: Move user vendor structuresdrivers/infiniband/hw/ocrdma/ocrdma_abi.h drivers/infiniband/hw/ocrdma/ocrdma_main.c drivers/infiniband/hw/ocrdma/ocrdma_verbs.c +1 more+153 -1511 reply
6/9IB/nes: Move user vendor structuresdrivers/infiniband/hw/nes/nes.h drivers/infiniband/hw/nes/nes_user.h include/uapi/rdma/nes-abi.h+115 -1150 replies
7/9IB/mthca: Move user vendor structuresdrivers/infiniband/hw/mthca/mthca_provider.c include/uapi/rdma/mthca-abi.h+112 -10 replies
8/9IB/core: Export vendor specific structuresinclude/uapi/rdma/Kbuild+7 -00 replies
9/9MAINTAINERS: Update RDMA vendor specific UAPI filesMAINTAINERS+6 -00 replies

Reviews trailers per patch

3 of 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSteve WiseDevesh SharmaChristoph Hellwig
SeriesA-b
1/9
2/9R-b
3/9R-b
4/9
5/9A-b
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH rdma-next V2 0/9] Export vendors specific ABIs

The consolidate library revealed the fact that vendor specific structures and defines are copy/pasted between kernel and user-space.

This patch set moves these headers from internal driver directory to common place and unifies their name to be drivername-abi.h, so it will be easily shared by numerous libraries supported in https://github.com/linux-rdma/rdma-core.git.

The drivers which were NOT handled in this patch set are hfi, qib, rxe, usnic and i40iw.

Available in the "topic/uapi-abi" topic branch of this git repo:
git://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git

Or for browsing:
https://git.kernel.org/cgit/linux/kernel/git/leon/linux-rdma.git/log/?h=topic/uapi-abi

Thanks

Cc Christoph Hellwig <[email protected]>
Cc Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc Laurence Oberman <[email protected]>

Changelog v1->v2:
* Added Steve's ROB tags for cxgb3/cxgb4
* Added mthca driver to the list of exposed drivers

Leon Romanovsky (9):
IB/mlx5: Move and decouple user vendor structures IB/cxgb3: Move user vendor structures IB/cxgb4: Move user vendor structures IB/mlx4: Move user vendor structures IB/ocrdma: Move user vendor structures IB/nes: Move user vendor structures IB/mthca: Move user vendor structures IB/core: Export vendor specific structures
MAINTAINERS: Update RDMA vendor specific UAPI files

 MAINTAINERS                                  |   6 +
 drivers/infiniband/hw/cxgb3/iwch.c           |   2 +-
 drivers/infiniband/hw/cxgb3/iwch_provider.c  |   2 +-
 drivers/infiniband/hw/cxgb3/iwch_user.h      |  74 -------
 drivers/infiniband/hw/cxgb4/iw_cxgb4.h       |   2 +-
 drivers/infiniband/hw/cxgb4/user.h           |  80 --------
 drivers/infiniband/hw/mlx4/cq.c              |   2 +-
 drivers/infiniband/hw/mlx4/main.c            |   2 +-
 drivers/infiniband/hw/mlx4/qp.c              |   2 +-
 drivers/infiniband/hw/mlx4/srq.c             |   2 +-
 drivers/infiniband/hw/mlx4/user.h            | 107 ----------
 drivers/infiniband/hw/mlx5/cq.c              |   1 -
 drivers/infiniband/hw/mlx5/main.c            |   1 -
 drivers/infiniband/hw/mlx5/mlx5_ib.h         |  37 ++++
 drivers/infiniband/hw/mlx5/mr.c              |   1 -
 drivers/infiniband/hw/mlx5/qp.c              |   1 -
 drivers/infiniband/hw/mlx5/srq.c             |   1 -
 drivers/infiniband/hw/mlx5/user.h            | 281 ---------------------------
 drivers/infiniband/hw/mthca/mthca_provider.c |   2 +-
 drivers/infiniband/hw/nes/nes.h              |   2 +-
 drivers/infiniband/hw/nes/nes_user.h         | 114 -----------
 drivers/infiniband/hw/ocrdma/ocrdma_abi.h    | 149 --------------
 drivers/infiniband/hw/ocrdma/ocrdma_main.c   |   2 +-
 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c  |   2 +-
 include/uapi/rdma/Kbuild                     |   7 +
 include/uapi/rdma/cxgb3-abi.h                |  76 ++++++++
 include/uapi/rdma/cxgb4-abi.h                |  81 ++++++++
 include/uapi/rdma/mlx4-abi.h                 | 107 ++++++++++
 include/uapi/rdma/mlx5-abi.h                 | 242 +++++++++++++++++++++++
 include/uapi/rdma/mthca-abi.h                | 111 +++++++++++
 include/uapi/rdma/nes-abi.h                  | 114 +++++++++++
 include/uapi/rdma/ocrdma-abi.h               | 151 ++++++++++++++
 32 files changed, 943 insertions(+), 821 deletions(-)
 delete mode 100644 drivers/infiniband/hw/cxgb3/iwch_user.h
 delete mode 100644 drivers/infiniband/hw/cxgb4/user.h
 delete mode 100644 drivers/infiniband/hw/mlx4/user.h
 delete mode 100644 drivers/infiniband/hw/mlx5/user.h
 delete mode 100644 drivers/infiniband/hw/nes/nes_user.h
 delete mode 100644 drivers/infiniband/hw/ocrdma/ocrdma_abi.h
 create mode 100644 include/uapi/rdma/cxgb3-abi.h
 create mode 100644 include/uapi/rdma/cxgb4-abi.h
 create mode 100644 include/uapi/rdma/mlx4-abi.h
 create mode 100644 include/uapi/rdma/mlx5-abi.h
 create mode 100644 include/uapi/rdma/mthca-abi.h
 create mode 100644 include/uapi/rdma/nes-abi.h
 create mode 100644 include/uapi/rdma/ocrdma-abi.h

--
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html