mlx5: Move hw.mlx5 node definition to mlx5_core.
Submitted by: kib@ Approved by: hselasky (mentor) MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
63cc6d1bc2
commit
8f7f07368d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=341559
@ -103,4 +103,6 @@ struct mlx5_crspace_regmap {
|
||||
|
||||
extern struct pci_driver mlx5_core_driver;
|
||||
|
||||
SYSCTL_DECL(_hw_mlx5);
|
||||
|
||||
#endif /* __MLX5_CORE_H__ */
|
||||
|
@ -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);
|
||||
|
@ -159,7 +159,7 @@ static const struct {
|
||||
|
||||
MALLOC_DEFINE(M_MLX5EN, "MLX5EN", "MLX5 Ethernet");
|
||||
|
||||
static SYSCTL_NODE(_hw, OID_AUTO, mlx5, CTLFLAG_RW, 0, "MLX5 driver parameters");
|
||||
SYSCTL_DECL(_hw_mlx5);
|
||||
|
||||
static void
|
||||
mlx5e_update_carrier(struct mlx5e_priv *priv)
|
||||
|
Loading…
Reference in New Issue
Block a user