svn commit: r341931 - stable/11/sys/dev/mlx5/mlx5_core

Hans Petter Selasky hselasky at FreeBSD.org
Wed Dec 12 12:19:50 UTC 2018


Author: hselasky
Date: Wed Dec 12 12:19:49 2018
New Revision: 341931
URL: https://svnweb.freebsd.org/changeset/base/341931

Log:
  MFC r341559 and r341645:
  mlx5: Move hw.mlx5 node definition to mlx5_core.
  
  Submitted by:   kib@
  Sponsored by:   Mellanox Technologies

Modified:
  stable/11/sys/dev/mlx5/mlx5_core/mlx5_core.h
  stable/11/sys/dev/mlx5/mlx5_core/mlx5_main.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_core.h
==============================================================================
--- stable/11/sys/dev/mlx5/mlx5_core/mlx5_core.h	Wed Dec 12 12:08:49 2018	(r341930)
+++ stable/11/sys/dev/mlx5/mlx5_core/mlx5_core.h	Wed Dec 12 12:19:49 2018	(r341931)
@@ -103,4 +103,6 @@ struct mlx5_crspace_regmap {
 
 extern struct pci_driver mlx5_core_driver;
 
+SYSCTL_DECL(_hw_mlx5);
+
 #endif /* __MLX5_CORE_H__ */

Modified: stable/11/sys/dev/mlx5/mlx5_core/mlx5_main.c
==============================================================================
--- stable/11/sys/dev/mlx5/mlx5_core/mlx5_main.c	Wed Dec 12 12:08:49 2018	(r341930)
+++ stable/11/sys/dev/mlx5/mlx5_core/mlx5_main.c	Wed Dec 12 12:19:49 2018	(r341931)
@@ -61,6 +61,8 @@ static int prof_sel = MLX5_DEFAULT_PROF;
 module_param_named(prof_sel, prof_sel, int, 0444);
 MODULE_PARM_DESC(prof_sel, "profile selector. Valid range 0 - 2");
 
+SYSCTL_NODE(_hw, OID_AUTO, mlx5, CTLFLAG_RW, 0, "mlx5 HW controls");
+
 #define NUMA_NO_NODE       -1
 
 static LIST_HEAD(intf_list);


More information about the svn-src-stable mailing list