Author: hselasky
Date: Mon Oct 7 09:35:38 2019
New Revision: 353233
URL: https://svnweb.freebsd.org/changeset/base/353233
Log:
MFC r352980:
Add mlx5e_dbg() compatibility macro.
Submitted by: kib@
Sponsored by: Mellanox Technologies
Modified:
stable/12/sys/dev/mlx5/mlx5_en/en.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/dev/mlx5/mlx5_en/en.h
==============================================================================
--- stable/12/sys/dev/mlx5/mlx5_en/en.h Mon Oct 7 09:34:39 2019
(r353232)
+++ stable/12/sys/dev/mlx5/mlx5_en/en.h Mon Oct 7 09:35:38 2019
(r353233)
@@ -1169,6 +1169,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 *,
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"