git: e5b00e9b6403 - stable/13 - mlx5en: Print error code when opening drop RQ fails.

From: Hans Petter Selasky <hselasky_at_FreeBSD.org>
Date: Tue, 08 Feb 2022 15:13:48 UTC
The branch stable/13 has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=e5b00e9b6403472210c95131d20942a4a5816ceb

commit e5b00e9b6403472210c95131d20942a4a5816ceb
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-02-08 15:08:51 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-02-08 15:08:51 +0000

    mlx5en: Print error code when opening drop RQ fails.
    
    Sponsored by:   NVIDIA Networking
    
    (cherry picked from commit 4e40e984daa40cbf2e8bce854a9aca9be7a4f587)
---
 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 13e104c8d2c9..c2a4e76942a2 100644
--- a/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+++ b/sys/dev/mlx5/mlx5_en/mlx5_en_main.c
@@ -4603,7 +4603,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;
 	}