1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Add mlx5e_dbg() compatibility macro.

Submitted by:	kib@
MFC after:	3 days
Sponsored by:	Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2019-10-02 09:59:42 +00:00
parent 006ae571da
commit d585ff62c4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352980

View File

@ -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 *,