Module Name: src
Committed By: msaitoh
Date: Tue Dec 14 05:28:46 UTC 2021
Modified Files:
src/sys/dev/pci/ixgbe: ixgbe_common.c
Log Message:
Change error level in ixgbe_fc_autoneg().
- FreeBSD: f511cd22586a9c0358b86334a51e3db60ca2db01 or ix-3.3.18
DPDK: ab6ac48d483ef7f906b90f45182f2ddf3254d876
- No functional change in NetBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/dev/pci/ixgbe/ixgbe_common.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/ixgbe/ixgbe_common.c
diff -u src/sys/dev/pci/ixgbe/ixgbe_common.c:1.38 src/sys/dev/pci/ixgbe/ixgbe_common.c:1.39
--- src/sys/dev/pci/ixgbe/ixgbe_common.c:1.38 Fri Dec 10 11:31:22 2021
+++ src/sys/dev/pci/ixgbe/ixgbe_common.c Tue Dec 14 05:28:46 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe_common.c,v 1.38 2021/12/10 11:31:22 msaitoh Exp $ */
+/* $NetBSD: ixgbe_common.c,v 1.39 2021/12/14 05:28:46 msaitoh Exp $ */
/******************************************************************************
SPDX-License-Identifier: BSD-3-Clause
@@ -36,7 +36,7 @@
/*$FreeBSD: head/sys/dev/ixgbe/ixgbe_common.c 331224 2018-03-19 20:55:05Z erj $*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe_common.c,v 1.38 2021/12/10 11:31:22 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe_common.c,v 1.39 2021/12/14 05:28:46 msaitoh Exp $");
#include "ixgbe_common.h"
#include "ixgbe_phy.h"
@@ -3140,8 +3140,9 @@ void ixgbe_fc_autoneg(struct ixgbe_hw *h
* - link is not up.
*/
if (hw->fc.disable_fc_autoneg) {
- ERROR_REPORT1(IXGBE_ERROR_UNSUPPORTED,
- "Flow control autoneg is disabled");
+ /* TODO: This should be just an informative log */
+ ERROR_REPORT1(IXGBE_ERROR_CAUTION,
+ "Flow control autoneg is disabled");
goto out;
}