]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/efa: Expose RDMA read related attributes
authorDaniel Kranzdorf <dkkranzd@amazon.com>
Thu, 21 Nov 2019 14:15:09 +0000 (16:15 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 Nov 2019 14:31:48 +0000 (10:31 -0400)
commit5fee8cac3926133fe381be3e785b8c9a447599a9
treedc47d090c6a880a268a1c1070bb363d3b60bb764
parent7fff1c6c2be2ad712f3a15024302e9f9d5af00cc
RDMA/efa: Expose RDMA read related attributes

Query the device attributes for RDMA operations, including maximum
transfer size and maximum number of SGEs per RDMA WR, and report them
back to the userspace library.

Link: https://lore.kernel.org/r/20191121141509.59297-4-galpress@amazon.com
Signed-off-by: Daniel Kranzdorf <dkkranzd@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/efa/efa_admin_cmds_defs.h
drivers/infiniband/hw/efa/efa_com_cmd.c
drivers/infiniband/hw/efa/efa_com_cmd.h
drivers/infiniband/hw/efa/efa_verbs.c
include/uapi/rdma/efa-abi.h