svn commit: r353234 - stable/11/sys/dev/mlx5/mlx5_en

Hans Petter Selasky hselasky at FreeBSD.org
Mon Oct 7 09:36:31 UTC 2019


Author: hselasky
Date: Mon Oct  7 09:36:30 2019
New Revision: 353234
URL: https://svnweb.freebsd.org/changeset/base/353234

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

Modified:
  stable/11/sys/dev/mlx5/mlx5_en/en.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/mlx5/mlx5_en/en.h
==============================================================================
--- stable/11/sys/dev/mlx5/mlx5_en/en.h	Mon Oct  7 09:35:38 2019	(r353233)
+++ stable/11/sys/dev/mlx5/mlx5_en/en.h	Mon Oct  7 09:36:30 2019	(r353234)
@@ -1105,6 +1105,8 @@ mlx5e_cq_arm(struct mlx5e_cq *cq, spinlock_t *dblock)
 	mlx5_cq_arm(mcq, MLX5_CQ_DB_REQ_NOT, mcq->uar->map, dblock, cq->wq.cc);
 }
 
+#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-all mailing list