[PATCH for-next v2 0/2] RDMA/efa: Add 64-bit SQ request ID support

Yonatan Nachum <[email protected]>
Newsgroups org.kernel.vger.linux-rdma
Message-ID <[email protected]>
Changelog:
v2:
 * Rebased on top of completion counters series:
   https://lore.kernel.org/all/[email protected]
v1: https://lore.kernel.org/all/[email protected]

-------------------------------------------------------------------------
Currently EFA WRs support 16-bit request ID, this requires EFA to manage
a translation table to translate the IB WR ID from 64-bits to 16-bits
and translating it back on CQ completion.

This series adds support for a device capability that allows SQ WRs to
carry a full 64-bit request ID, removing the need for that translation
table on devices that support it.

The first patch adds the CQ/QP creation plumbing needed to negotiate
64-bit request ID support with the device. The second patch exposes
the new device capability bit to userspace so that the driver can
report support for it.

Yonatan Nachum (2):
  RDMA/efa: Add CQ/QP creation with 64-bit SQ req ID support
  RDMA/efa: Expose 64-bit send WR ID support to userspace

 .../infiniband/hw/efa/efa_admin_cmds_defs.h   | 20 ++++++++++++++++---
 drivers/infiniband/hw/efa/efa_com_cmd.c       |  8 ++++++++
 drivers/infiniband/hw/efa/efa_com_cmd.h       |  2 ++
 drivers/infiniband/hw/efa/efa_io_defs.h       | 12 +++++++++--
 drivers/infiniband/hw/efa/efa_verbs.c         | 10 ++++++++++
 include/uapi/rdma/efa-abi.h                   |  5 ++++-
 6 files changed, 51 insertions(+), 6 deletions(-)

-- 
2.50.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.