[PATCH for-next v3 0/3] RDMA/efa: Add support for 128B admin v2 SQ entry

Yonatan Nachum <[email protected]>
Newsgroups org.kernel.vger.linux-rdma
Message-ID <[email protected]>
Changelog:
v3:
 * Ensure proper alignment of stack admin buffer to prevent unaligned memory
   accesses.
v2: https://lore.kernel.org/all/[email protected]/
 * Rebase on for-next branch instead of wip/leon-for-next.
v1: https://lore.kernel.org/all/[email protected]/

-------------------------------------------------------------------------
Add support for the new 128-byte admin v2 SQ entry format. The v2 entry
extends the v1 header with checksum and payload version fields, and
carries a larger inline payload.

The series first decouples admin command payloads from admin headers,
then generalizes the SQ ring to use a configurable entry size, and
finally adds the v2 entry format selection based on device API version.

Yonatan Nachum (3):
  RDMA/efa: Decouple admin command payload from admin header
  RDMA/efa: Generalize the admin SQ
  RDMA/efa: Add support for 128B admin v2 SQ entry

 .../infiniband/hw/efa/efa_admin_cmds_defs.h   | 116 +++--------
 drivers/infiniband/hw/efa/efa_admin_defs.h    |  33 ++-
 drivers/infiniband/hw/efa/efa_com.c           | 194 +++++++++++-------
 drivers/infiniband/hw/efa/efa_com.h           |  16 +-
 drivers/infiniband/hw/efa/efa_com_cmd.c       | 170 +++++----------
 5 files changed, 240 insertions(+), 289 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.