]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Query the maximum MCIA register read size from firmware
authorGal Pressman <gal@nvidia.com>
Mon, 17 Jan 2022 13:14:44 +0000 (15:14 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 11 Mar 2022 07:38:24 +0000 (23:38 -0800)
commit68273f1a0da9a8487568da01826c6234d146baca
treec1766b155eae4c5f13c491f6c8cbd8e5a2de63d6
parent0fa2ba311fee94303a35c177ad72aa8d48489cfd
net/mlx5: Query the maximum MCIA register read size from firmware

The MCIA register supports either 12 or 32 dwords, use the correct value
by querying the capability from the MCAM register.

Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/port.c
include/linux/mlx5/mlx5_ifc.h
include/linux/mlx5/port.h