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 V1 0/8] Export vendors specific ABIs
Date: Sun, 18 Sep 2016 13:50:15 +0300 [thread overview]
Message-ID: <1474195823-10429-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 mthca (dead code), 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>
Leon Romanovsky (8):
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/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/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 | 6 +
include/uapi/rdma/cxgb3-abi.h | 76 ++++++++
include/uapi/rdma/cxgb4-abi.h | 82 ++++++++
include/uapi/rdma/mlx4-abi.h | 107 +++++++++++
include/uapi/rdma/mlx5-abi.h | 244 ++++++++++++++++++++++++
include/uapi/rdma/nes-abi.h | 114 +++++++++++
include/uapi/rdma/ocrdma-abi.h | 151 +++++++++++++++
30 files changed, 833 insertions(+), 820 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/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
next reply other threads:[~2016-09-18 10:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-18 10:50 Leon Romanovsky [this message]
[not found] ` <1474195823-10429-1-git-send-email-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2016-09-18 10:50 ` [PATCH rdma-next V1 1/8] IB/mlx5: Move and decouple user vendor structures Leon Romanovsky
2016-09-18 10:50 ` [PATCH rdma-next V1 2/8] IB/cxgb3: Move " Leon Romanovsky
[not found] ` <1474195823-10429-3-git-send-email-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2016-09-19 15:30 ` Steve Wise
2016-09-18 10:50 ` [PATCH rdma-next V1 3/8] IB/cxgb4: " Leon Romanovsky
[not found] ` <1474195823-10429-4-git-send-email-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2016-09-19 15:30 ` Steve Wise
2016-09-18 10:50 ` [PATCH rdma-next V1 4/8] IB/mlx4: " Leon Romanovsky
2016-09-18 10:50 ` [PATCH rdma-next V1 5/8] IB/ocrdma: " Leon Romanovsky
2016-09-18 10:50 ` [PATCH rdma-next V1 6/8] IB/nes: " Leon Romanovsky
2016-09-18 10:50 ` [PATCH rdma-next V1 7/8] IB/core: Export vendor specific structures Leon Romanovsky
2016-09-18 10:50 ` [PATCH rdma-next V1 8/8] MAINTAINERS: Update RDMA vendor specific UAPI files Leon Romanovsky
2016-09-20 17:32 ` [PATCH rdma-next V1 0/8] Export vendors specific ABIs Adit Ranadive
[not found] ` <0b8136eb-d9da-5543-8622-482afe92e5fa-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2016-09-20 22:38 ` Jason Gunthorpe
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=1474195823-10429-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.