Skip to content

RDMA/efa: Add Completion Actions support

Ilia Kolominsky linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3RDMA/efa: Update device interfacedrivers/infiniband/hw/efa/efa_admin_cmds_defs.h drivers/infiniband/hw/efa/efa_io_defs.h+132 -50 replies
2/3RDMA/efa: Report the admin RESOURCE_BUSY status as EBUSYdrivers/infiniband/hw/efa/efa_com.c+2 -00 replies
3/3RDMA/efa: Add Completion Actions supportdrivers/infiniband/hw/efa/efa.h drivers/infiniband/hw/efa/efa_com.c drivers/infiniband/hw/efa/efa_com_cmd.c +3 more+408 -20 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMichael MargolinYonatan Nachum
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH for-next 0/3] RDMA/efa: Add Completion Actions support

EFA Completion actions let an application observe work request completions without polling a completion queue: when a work request completes, locally or at the remote side, the device performs an action that the work request names, such as writing a value to a user buffer.

This series adds the control path for memory completion actions:

Patch 1 updates the device interface definitions: the create and destroy action admin commands, the supported action events mask in the queue attributes, and the action descriptor and status codes in the I/O definitions.

Patch 2 maps the admin RESOURCE_BUSY status to EBUSY, which the device returns when a PD is deallocated while an action still references it.

Patch 3 adds the completion action uverbs object, the QP creation attributes for the action descriptor block, and the capability, limit and supported operation reporting through query device.

The user space counterpart (rdma-core efa provider) follows separately.

Ilia Kolominsky (3):
RDMA/efa: Update device interface
RDMA/efa: Report the admin RESOURCE_BUSY status as EBUSY RDMA/efa: Add Completion Actions support

 drivers/infiniband/hw/efa/efa.h               |   7 +
 .../infiniband/hw/efa/efa_admin_cmds_defs.h   | 111 ++++++++-
 drivers/infiniband/hw/efa/efa_com.c           |  10 +
 drivers/infiniband/hw/efa/efa_com_cmd.c       |  73 ++++++
 drivers/infiniband/hw/efa/efa_com_cmd.h       |  31 +++
 drivers/infiniband/hw/efa/efa_io_defs.h       |  26 +-
 drivers/infiniband/hw/efa/efa_verbs.c         | 235 +++++++++++++++++-
 include/uapi/rdma/efa-abi.h                   |  56 ++++-
 8 files changed, 542 insertions(+), 7 deletions(-)
Signature · 1 line
2.47.3