[PATCH] common/mlx5: fix user mode register access attribute
Raslan Darawsheh
rasland at nvidia.com
Wed Nov 17 15:43:21 CET 2021
Hi,
> -----Original Message-----
> From: Michael Baum <michaelba at nvidia.com>
> Sent: Wednesday, November 17, 2021 12:57 PM
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at nvidia.com>; Raslan Darawsheh
> <rasland at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>; Michael
> Baum <michaelba at nvidia.com>; stable at dpdk.org
> Subject: [PATCH] common/mlx5: fix user mode register access attribute
>
> From: Michael Baum <michaelba at nvidia.com>
>
> To detect the timestamp mode configured on the NIC the mlx5 PMD uses
> the
> firmware command ACCESS_REGISTER_USER.
> The HCA capability command has an attribute flag checking whether
> firmware supports the command.
>
> However, the HCA capability query command read the flag from wrong place
> in PRM structure.
>
> This patch move the plag to correct place.
>
> Fixes: 972a1bf8120d ("common/mlx5: fix user mode register access
> command")
> Cc: stable at dpdk.org
>
> Signed-off-by: Michael Baum <michaelba at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the stable
mailing list