]> www.infradead.org Git - users/willy/xarray.git/commit
net/mlx5: Use max_num_eqs_24b when setting max_io_eqs
authorDaniel Jurgens <danielj@nvidia.com>
Thu, 27 Jun 2024 18:02:36 +0000 (21:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2024 11:58:11 +0000 (12:58 +0100)
commit5dbf647367e86488632a531bcc8685c37b1b5a51
tree04478ae946e5e4c4a7a14cfdf5e6ed88c87a1d9d
parent29c6a562bf53b1dc38f87611c7b77e5feffed601
net/mlx5: Use max_num_eqs_24b when setting max_io_eqs

Due a bug in the device max_num_eqs doesn't always reflect a written
value. As a result, setting max_io_eqs may not work but appear
successful. Instead write max_num_eqs_24b, which reflects correct
value.

Fixes: 93197c7c509d ("mlx5/core: Support max_io_eqs for a function")
Signed-off-by: Daniel Jurgens <danielj@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c