All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
	Jason Gunthorpe
	<jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>,
	Laurence Oberman
	<loberman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: [PATCH rdma-next V2 0/9] Export vendors specific ABIs
Date: Thu, 22 Sep 2016 17:31:10 +0300	[thread overview]
Message-ID: <1474554679-21953-1-git-send-email-leon@kernel.org> (raw)

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 <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
Cc: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
Cc: Laurence Oberman <loberman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2016-09-22 14:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-22 14:31 Leon Romanovsky [this message]
     [not found] ` <1474554679-21953-1-git-send-email-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2016-09-22 14:31   ` [PATCH rdma-next V2 1/9] IB/mlx5: Move and decouple user vendor structures Leon Romanovsky
2016-09-22 14:31   ` [PATCH rdma-next V2 2/9] IB/cxgb3: Move " Leon Romanovsky
2016-09-22 14:31   ` [PATCH rdma-next V2 3/9] IB/cxgb4: " Leon Romanovsky
2016-09-22 14:31   ` [PATCH rdma-next V2 4/9] IB/mlx4: " Leon Romanovsky
2016-09-22 14:31   ` [PATCH rdma-next V2 5/9] IB/ocrdma: " Leon Romanovsky
     [not found]     ` <1474554679-21953-6-git-send-email-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2016-09-22 14:43       ` Devesh Sharma
2016-09-22 14:31   ` [PATCH rdma-next V2 6/9] IB/nes: " Leon Romanovsky
2016-09-22 14:31   ` [PATCH rdma-next V2 7/9] IB/mthca: " Leon Romanovsky
2016-09-22 14:31   ` [PATCH rdma-next V2 8/9] IB/core: Export vendor specific structures Leon Romanovsky
2016-09-22 14:31   ` [PATCH rdma-next V2 9/9] MAINTAINERS: Update RDMA vendor specific UAPI files Leon Romanovsky
2016-09-22 14:47   ` [PATCH rdma-next V2 0/9] Export vendors specific ABIs Christoph Hellwig
     [not found]     ` <20160922144716.GA10032-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2016-09-22 16:09       ` Leon Romanovsky
     [not found]         ` <20160922160924.GI4088-2ukJVAZIZ/Y@public.gmane.org>
2016-09-23 16:42           ` Doug Ledford
     [not found]             ` <701c2cd1-a47a-807d-41dc-c8057dd073bd-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-09-23 16:58               ` Leon Romanovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1474554679-21953-1-git-send-email-leon@kernel.org \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=loberman-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.