[PATCH rdma-core 0/6] New kabi support for rdma-core

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

This series implements the new kabi for RDMA core, using all the functions
currently implemented in the kernel as an example. It relies on all the latest
kernel patches to work correctly.

It implements create_cq, create_cq_ex and destroy_cq using the new kabi.

The library continues to support the write interface, and a compile time
switch is provided to select which kernel APIs will be supported. By default
today only write is used.

This is a PR:

https://github.com/linux-rdma/rdma-core/pull/294

Jason Gunthorpe (6):
  verbs: Fix size of verbs_ex_private allocation
  verbs: Add basic infrastructure support for the kabi ioctl
  verbs: Add basic infrastructure for mixed write and ioctl cmds
  verbs: Migrate ibv_cmd_destroy_cq and ibv_cmd_create_cq(_ex) to new
    kabi
  verbs: Remove _RESERVED enums related to CREATE_CQ
  Have travis test all three IOCTL_MODE's

 CMakeLists.txt               |  15 ++
 buildlib/config.h.in         |  11 ++
 buildlib/travis-build        |  10 +-
 libibverbs/CMakeLists.txt    |   5 +
 libibverbs/cmd.c             |  96 ------------
 libibverbs/cmd_cq.c          | 186 +++++++++++++++++++++++
 libibverbs/cmd_fallback.c    | 263 ++++++++++++++++++++++++++++++++
 libibverbs/cmd_ioctl.c       | 193 ++++++++++++++++++++++++
 libibverbs/cmd_ioctl.h       | 350 +++++++++++++++++++++++++++++++++++++++++++
 libibverbs/cmd_write.h       | 311 ++++++++++++++++++++++++++++++++++++++
 libibverbs/device.c          |   2 +-
 libibverbs/driver.h          |   2 -
 libibverbs/ibverbs.h         |   2 +
 libibverbs/kern-abi.h        |  19 +--
 libibverbs/libibverbs.map.in |   1 +
 libibverbs/verbs.h           |   2 -
 providers/cxgb4/verbs.c      |   3 +-
 providers/hfi1verbs/verbs.c  |   7 +-
 providers/ipathverbs/verbs.c |   7 +-
 providers/mlx4/verbs.c       |  13 +-
 providers/rxe/rxe.c          |   3 +-
 21 files changed, 1358 insertions(+), 143 deletions(-)
 create mode 100644 libibverbs/cmd_cq.c
 create mode 100644 libibverbs/cmd_fallback.c
 create mode 100644 libibverbs/cmd_ioctl.c
 create mode 100644 libibverbs/cmd_ioctl.h
 create mode 100644 libibverbs/cmd_write.h

-- 
2.16.1

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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux