RDMA/efa: Expose minimum SQ size
authorGal Pressman <galpress@amazon.com>
Wed, 22 Jul 2020 14:03:10 +0000 (17:03 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 29 Jul 2020 12:23:39 +0000 (09:23 -0300)
commitda2924bdca99768442c5e0ed0a9024ae79d62765
treedbeae2c7e229d24095d0e4c078f79fa1246bf743
parent556c811f24b30cc883733a2eaf9e939817589231
RDMA/efa: Expose minimum SQ size

The device reports the minimum SQ size required for creation.

This patch queries the min SQ size and reports it back to the userspace
library.

Link: https://lore.kernel.org/r/20200722140312.3651-3-galpress@amazon.com
Reviewed-by: Firas JahJah <firasj@amazon.com>
Reviewed-by: Shadi Ammouri <sammouri@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.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