svn commit: r347823 - stable/11/sys/dev/mlx5/mlx5_core
Hans Petter Selasky
hselasky at FreeBSD.org
Thu May 16 17:31:32 UTC 2019
Author: hselasky
Date: Thu May 16 17:31:31 2019
New Revision: 347823
URL: https://svnweb.freebsd.org/changeset/base/347823
Log:
MFC r347273:
Add reading the mcam_reg in mlx5core.
Submitted by: slavash@
Sponsored by: Mellanox Technologies
Modified:
stable/11/sys/dev/mlx5/mlx5_core/mlx5_fw.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_fw.c
==============================================================================
--- stable/11/sys/dev/mlx5/mlx5_core/mlx5_fw.c Thu May 16 17:30:55 2019 (r347822)
+++ stable/11/sys/dev/mlx5/mlx5_core/mlx5_fw.c Thu May 16 17:31:31 2019 (r347823)
@@ -215,6 +215,12 @@ int mlx5_query_hca_caps(struct mlx5_core_dev *dev)
return err;
}
+ if (MLX5_CAP_GEN(dev, mcam_reg)) {
+ err = mlx5_get_mcam_reg(dev);
+ if (err)
+ return err;
+ }
+
err = mlx5_core_query_special_contexts(dev);
if (err)
return err;
More information about the svn-src-stable-11
mailing list