git: 4e40e984daa4 - main - mlx5en: Print error code when opening drop RQ fails.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Feb 2022 15:24:11 UTC
The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=4e40e984daa40cbf2e8bce854a9aca9be7a4f587 commit 4e40e984daa40cbf2e8bce854a9aca9be7a4f587 Author: Hans Petter Selasky <hselasky@FreeBSD.org> AuthorDate: 2022-02-01 15:20:06 +0000 Commit: Hans Petter Selasky <hselasky@FreeBSD.org> CommitDate: 2022-02-01 15:21:14 +0000 mlx5en: Print error code when opening drop RQ fails. MFC after: 1 week Sponsored by: NVIDIA Networking --- sys/dev/mlx5/mlx5_en/mlx5_en_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c index c785335e243c..179da5b52b58 100644 --- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c +++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c @@ -4534,7 +4534,7 @@ mlx5e_create_ifp(struct mlx5_core_dev *mdev) err = mlx5e_open_drop_rq(priv, &priv->drop_rq); if (err) { - if_printf(ifp, "%s: mlx5e_open_drop_rq failed\n", __func__); + if_printf(ifp, "%s: mlx5e_open_drop_rq failed (%d)\n", __func__, err); goto err_tls_init; }