[PATCH][focal/linux, focal/linux-aws] UBUNTU: SAUCE: aws: Fix backport of RDMA/efa: Expose maximum TX doorbell batch
Tim Gardner
tim.gardner at canonical.com
Thu Nov 4 18:38:01 UTC 2021
BugLink: https://bugs.launchpad.net/bugs/1949882
The backport of ("RDMA/efa: Expose maximum TX doorbell batch") was incorrect in
that it missed the addition of a structure variable. Though unused by
the driver, it is a shared structure between the device and the driver,
and must therefore have the correct offsets.
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
This patch is particularly important for AWS as they are currently testing RDMA functionality.
I would like to get this appplied to at least focal/linux-aws for the 2021.11.08 SRU cycle.
This patch has been confirmed to fix the issue that AWS was having.
rtg
---
drivers/infiniband/hw/efa/efa_admin_cmds_defs.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/infiniband/hw/efa/efa_admin_cmds_defs.h b/drivers/infiniband/hw/efa/efa_admin_cmds_defs.h
index bfa98ef9a4853..0507880b1f457 100644
--- a/drivers/infiniband/hw/efa/efa_admin_cmds_defs.h
+++ b/drivers/infiniband/hw/efa/efa_admin_cmds_defs.h
@@ -610,6 +610,9 @@ struct efa_admin_feature_queue_attr_desc {
/* The maximum size of LLQ in bytes */
u32 max_llq_size;
+ /* Maximum number of SGEs for a single RDMA read WQE */
+ u16 max_wr_rdma_sges;
+
/*
* Maximum number of bytes that can be written to SQ between two
* consecutive doorbells (in units of 64B). Driver must ensure that only
--
2.33.1
More information about the kernel-team
mailing list