ACK: [PATCH][focal/linux, focal/linux-aws] UBUNTU: SAUCE: aws: Fix backport of RDMA/efa: Expose maximum TX doorbell batch

Stefan Bader stefan.bader at canonical.com
Tue Nov 9 08:31:21 UTC 2021


On 04.11.21 19:38, Tim Gardner wrote:
> 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>
Acked-by: Stefan Bader <stefan.bader 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
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20211109/e84fbfff/attachment.sig>


More information about the kernel-team mailing list