public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-core 0/5] Licensing and cleanup issues
@ 2016-09-28 15:33 Yishai Hadas
       [not found] ` <1475076789-14359-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Yishai Hadas @ 2016-09-28 15:33 UTC (permalink / raw)
  To: jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/
  Cc: dledford-H+wXaHxf7aLQT0dZR+AlfA,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA, yishaih-VPRAkNaXOzVWk0Htik3J/w,
	majd-VPRAkNaXOzVWk0Htik3J/w

This series comes to solve some potential licensing issue around list.h
and ocrdma_list.h by using the CCAN functionality which has BSD license.

The CCAN required functionality was taken as is with minor touches as of
flattening the directory structure, its original header
with the licensing note was preserved.

In addition, the series drops some local definitions and use shared code instead.
Pull request was sent as well[1]

Jason,
Look at ccan/config.h I just hard coded few required HAVE_XXX which
expects to be available in Linux/distros environment.
In case you think that it should be changed to be set dynamically with cmake please
make the relevant changes as you are more familiar by that time with cmake.

[1] https://github.com/linux-rdma/rdma-core/pull/5

Yishai

Yishai Hadas (5):
  Remove container_of and offset local declarations
  ccan: Add CCAN min and max functionality
  ccan: Add list functionality
  libmlx5: Move to use CCAN list functionality
  libocrdma: Move to use CCAN list functionality

 CMakeLists.txt                    |   1 +
 buildlib/publish_headers.cmake    |  18 +-
 ccan/CMakeLists.txt               |  10 +
 ccan/build_assert.h               |  40 ++
 ccan/check_type.h                 |  64 +++
 ccan/config.h                     |   2 +
 ccan/container_of.h               | 146 +++++++
 ccan/list.h                       | 842 ++++++++++++++++++++++++++++++++++++++
 ccan/minmax.h                     |  65 +++
 ccan/str.h                        | 228 +++++++++++
 ccan/str_debug.h                  |  30 ++
 ibacm/linux/osd.h                 |   8 +-
 libibcm/src/cm.c                  |   5 -
 libibverbs/examples/rc_pingpong.c |   8 +-
 libmlx5/src/buf.c                 |  11 +-
 libmlx5/src/list.h                | 331 ---------------
 libmlx5/src/mlx5.c                |   2 +-
 libmlx5/src/mlx5.h                |  19 +-
 libocrdma/src/ocrdma_list.h       | 104 -----
 libocrdma/src/ocrdma_main.c       |  24 +-
 libocrdma/src/ocrdma_main.h       |  12 +-
 libocrdma/src/ocrdma_verbs.c      |  33 +-
 librdmacm/src/cma.h               |  11 +-
 23 files changed, 1489 insertions(+), 525 deletions(-)
 create mode 100644 ccan/CMakeLists.txt
 create mode 100644 ccan/build_assert.h
 create mode 100644 ccan/check_type.h
 create mode 100644 ccan/config.h
 create mode 100644 ccan/container_of.h
 create mode 100644 ccan/list.h
 create mode 100644 ccan/minmax.h
 create mode 100644 ccan/str.h
 create mode 100644 ccan/str_debug.h
 delete mode 100644 libmlx5/src/list.h
 delete mode 100644 libocrdma/src/ocrdma_list.h

-- 
1.8.3.1

--
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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-09-29  3:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-28 15:33 [PATCH rdma-core 0/5] Licensing and cleanup issues Yishai Hadas
     [not found] ` <1475076789-14359-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-09-28 15:33   ` [PATCH rdma-core 1/5] Remove container_of and offset local declarations Yishai Hadas
2016-09-28 15:33   ` [PATCH rdma-core 2/5] ccan: Add CCAN min and max functionality Yishai Hadas
     [not found]     ` <1475076789-14359-3-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-09-28 16:18       ` Jason Gunthorpe
2016-09-28 15:33   ` [PATCH rdma-core 3/5] ccan: Add list functionality Yishai Hadas
     [not found]     ` <1475076789-14359-4-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-09-28 16:53       ` Jason Gunthorpe
2016-09-28 15:33   ` [PATCH rdma-core 4/5] libmlx5: Move to use CCAN " Yishai Hadas
2016-09-28 15:33   ` [PATCH rdma-core 5/5] libocrdma: " Yishai Hadas
     [not found]     ` <1475076789-14359-6-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-09-29  3:02       ` Devesh Sharma
2016-09-28 16:03   ` [PATCH rdma-core 0/5] Licensing and cleanup issues Doug Ledford
2016-09-28 17:26   ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox