Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Change error level in ixgbe_fc_autoneg().
details: https://anonhg.NetBSD.org/src/rev/629d51f78c19
branches: trunk
changeset: 1027637:629d51f78c19
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Dec 14 05:28:46 2021 +0000
description:
Change error level in ixgbe_fc_autoneg().
- FreeBSD: f511cd22586a9c0358b86334a51e3db60ca2db01 or ix-3.3.18
DPDK: ab6ac48d483ef7f906b90f45182f2ddf3254d876
- No functional change in NetBSD.
diffstat:
sys/dev/pci/ixgbe/ixgbe_common.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r ca1ddc579771 -r 629d51f78c19 sys/dev/pci/ixgbe/ixgbe_common.c
--- a/sys/dev/pci/ixgbe/ixgbe_common.c Tue Dec 14 05:26:08 2021 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_common.c Tue Dec 14 05:28:46 2021 +0000
@@ -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 @@
* - 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;
}
Home |
Main Index |
Thread Index |
Old Index