lkml.org 
[lkml]   [2022]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.18 128/339] net/mlx5: correct ECE offset in query qp output
    Date
    From: Changcheng Liu <jerrliu@nvidia.com>

    [ Upstream commit 3fc2a9e89b3508a5cc0c324f26d7b4740ba8c456 ]

    ECE field should be after opt_param_mask in query qp output.

    Fixes: 6b646a7e4af6 ("net/mlx5: Add ability to read and write ECE options")
    Signed-off-by: Changcheng Liu <jerrliu@nvidia.com>
    Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    include/linux/mlx5/mlx5_ifc.h | 5 ++---
    1 file changed, 2 insertions(+), 3 deletions(-)

    diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
    index 7d2d0ba82144..2e162ec2a3d3 100644
    --- a/include/linux/mlx5/mlx5_ifc.h
    +++ b/include/linux/mlx5/mlx5_ifc.h
    @@ -5180,12 +5180,11 @@ struct mlx5_ifc_query_qp_out_bits {

    u8 syndrome[0x20];

    - u8 reserved_at_40[0x20];
    - u8 ece[0x20];
    + u8 reserved_at_40[0x40];

    u8 opt_param_mask[0x20];

    - u8 reserved_at_a0[0x20];
    + u8 ece[0x20];

    struct mlx5_ifc_qpc_bits qpc;

    --
    2.35.1


    \
     
     \ /
      Last update: 2022-06-13 15:47    [W:4.399 / U:25.304 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site