[PATCH 0/9] Improvements to the uverbs spec language

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

 



From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

This is the first series to improve various things about the uverbs
system. Here I mostly focus on making the 'specs language' a little simpler
and easier to understand and write.

Jason Gunthorpe (9):
  RDMA/uverbs: Store the specs_root in the struct ib_uverbs_device
  RDMA/uverbs: Split UVERBS_ATTR_FLOW_ACTION_ESP_HANDLE
  RDMA/uverbs: Simplify UVERBS_ATTR family of macros
  RDMA/uverbs: Simplify method definition macros
  RDMA/uverbs: Simplify UVERBS_OBJECT and _TREE family of macros
  RDMA/uverbs: Get rid of the & in method specifications
  RDMA/uverbs: Remove UA_FLAGS
  RDMA/uverbs: Use UVERBS_ATTR_MIN_SIZE correctly and uniformly
  RDMA/uverbs: Combine MIN_SZ_OR_ZERO with UVERBS_ATTR_STRUCT

 drivers/infiniband/core/rdma_core.c           |   4 +-
 drivers/infiniband/core/rdma_core.h           |   2 +-
 drivers/infiniband/core/uverbs.h              |   2 -
 drivers/infiniband/core/uverbs_ioctl.c        |  54 ++--
 drivers/infiniband/core/uverbs_ioctl_merge.c  |  10 +-
 drivers/infiniband/core/uverbs_main.c         |  16 +-
 drivers/infiniband/core/uverbs_std_types.c    | 116 ++++----
 .../core/uverbs_std_types_counters.c          |  54 ++--
 drivers/infiniband/core/uverbs_std_types_cq.c |  73 ++---
 drivers/infiniband/core/uverbs_std_types_dm.c |  38 +--
 .../core/uverbs_std_types_flow_action.c       | 137 +++++----
 drivers/infiniband/core/uverbs_std_types_mr.c |  63 ++--
 drivers/infiniband/hw/mlx5/devx.c             | 248 ++++++++--------
 drivers/infiniband/hw/mlx5/main.c             |  38 +--
 include/rdma/ib_verbs.h                       |   2 +-
 include/rdma/uverbs_ioctl.h                   | 277 ++++++++----------
 include/rdma/uverbs_named_ioctl.h             | 108 ++++---
 include/uapi/rdma/ib_user_ioctl_cmds.h        |   7 +-
 18 files changed, 655 insertions(+), 594 deletions(-)

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