diff options
author | Mustafa Ismail <mustafa.ismail@intel.com> | 2022-07-06 01:08:36 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-07-11 08:03:50 +0200 |
commit | 5e8afb8792f3b6ae7ccf700f8c19225382636401 (patch) | |
tree | 65487077af3cff3a63b117b55b26f164e9643a1c /drivers/infiniband/hw/irdma/irdma.h | |
parent | Linux 5.19-rc6 (diff) | |
download | linux-5e8afb8792f3b6ae7ccf700f8c19225382636401.tar.xz linux-5e8afb8792f3b6ae7ccf700f8c19225382636401.zip |
RDMA/irdma: Do not advertise 1GB page size for x722
x722 does not support 1GB page size but the irdma driver incorrectly
advertises 1GB page size support for x722 device to ib_core to compute the
best page size to use on this MR. This could lead to incorrect start
offsets computed by hardware on the MR.
Fixes: b48c24c2d710 ("RDMA/irdma: Implement device supported verb APIs")
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/irdma/irdma.h')
-rw-r--r-- | drivers/infiniband/hw/irdma/irdma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/irdma/irdma.h b/drivers/infiniband/hw/irdma/irdma.h index 46c12334c735..4789e85d717b 100644 --- a/drivers/infiniband/hw/irdma/irdma.h +++ b/drivers/infiniband/hw/irdma/irdma.h @@ -127,6 +127,7 @@ struct irdma_hw_attrs { u64 max_hw_outbound_msg_size; u64 max_hw_inbound_msg_size; u64 max_mr_size; + u64 page_size_cap; u32 min_hw_qp_id; u32 min_hw_aeq_size; u32 max_hw_aeq_size; |