Subject: Re: [PATCH net V2 1/7] net/mlx5: IFC updates for changing max EQs

From: Tariq Toukan <[email-masked]>
Date: Sun, 30 Jun 2024 10:30:18 +0300

On 27/06/2024 21:02, Tariq Toukan wrote:
> From: Daniel Jurgens <[email-masked]>
> 
> Expose new capability to support changing the number of EQs available
> to other functions.
> 
> Fixes: 93197c7c509d ("mlx5/core: Support max_io_eqs for a function")
> Signed-off-by: Daniel Jurgens <[email-masked]>
> Reviewed-by: Parav Pandit <[email-masked]>
> Reviewed-by: William Tu <[email-masked]>
> Signed-off-by: Tariq Toukan <[email-masked]>
> ---
>   include/linux/mlx5/mlx5_ifc.h | 6 +++++-
>   1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
> index 5df52e15f7d6..d45bfb7cf81d 100644
> --- a/include/linux/mlx5/mlx5_ifc.h
> +++ b/include/linux/mlx5/mlx5_ifc.h
> @@ -2029,7 +2029,11 @@ struct mlx5_ifc_cmd_hca_cap_2_bits {
>   	u8	   pcc_ifa2[0x1];
>   	u8	   reserved_at_3f1[0xf];
>   
> -	u8	   reserved_at_400[0x400];
> +	u8	   reserved_at_400[0x40];
> +
> +	u8	   reserved_at_440[0x8];
> +	u8	   max_num_eqs_24b[0x18];
> +	u8	   reserved_at_460[0x3a0];
>   };
>   
>   enum mlx5_ifc_flow_destination_type {

Hi,

Please note that this is expected to conflict with net-next commit:
99be56171fa9 net/mlx5e: SHAMPO, Re-enable HW-GRO.

Resolution is

         u8         reserved_at_400[0x1];
         u8         min_mkey_log_entity_size_fixed_buffer_valid[0x1];
         u8         reserved_at_402[0x1e];

         u8         reserved_at_420[0x20];

         u8         reserved_at_440[0x8];
         u8         max_num_eqs_24b[0x18];
         u8         reserved_at_460[0x3a0];

Thanks,
Tariq