svn commit: r352980 - head/sys/dev/mlx5/mlx5_en

Hans Petter Selasky hselasky at FreeBSD.org
Wed Oct 2 09:59:42 UTC 2019


Author: hselasky
Date: Wed Oct  2 09:59:42 2019
New Revision: 352980
URL: https://svnweb.freebsd.org/changeset/base/352980

Log:
  Add mlx5e_dbg() compatibility macro.
  
  Submitted by:	kib@
  MFC after:	3 days
  Sponsored by:	Mellanox Technologies

Modified:
  head/sys/dev/mlx5/mlx5_en/en.h

Modified: head/sys/dev/mlx5/mlx5_en/en.h
==============================================================================
--- head/sys/dev/mlx5/mlx5_en/en.h	Wed Oct  2 09:58:00 2019	(r352979)
+++ head/sys/dev/mlx5/mlx5_en/en.h	Wed Oct  2 09:59:42 2019	(r352980)
@@ -1171,6 +1171,8 @@ mlx5e_unref_channel(struct mlx5e_priv *priv)
 	atomic_fetchadd_int(&priv->channel_refs, -1);
 }
 
+#define	mlx5e_dbg(_IGN, _priv, ...) mlx5_core_dbg((_priv)->mdev, __VA_ARGS__)
+
 extern const struct ethtool_ops mlx5e_ethtool_ops;
 void	mlx5e_create_ethtool(struct mlx5e_priv *);
 void	mlx5e_create_stats(struct sysctl_ctx_list *,


More information about the svn-src-head mailing list