diff mbox series

[v2,15/20] net/ixgbe/base: improve log about autonego being disabled

Message ID 20200702031329.4495-16-guinanx.sun@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Qi Zhang
Headers show
Series update ixgbe base code | expand


Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Guinan Sun July 2, 2020, 3:13 a.m. UTC
On ESXi OS, when user disables auto negotiation, the following log
appears: "(unsupported) Flow control autoneg is disabled".
It is true that auto negotiation is disabled but it is
not necessarily true that it is not supported.

Signed-off-by: Jakub Chylkowski <jakubx.chylkowski@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
 drivers/net/ixgbe/base/ixgbe_common.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox series


diff --git a/drivers/net/ixgbe/base/ixgbe_common.c b/drivers/net/ixgbe/base/ixgbe_common.c
index 4a3b48b39..bc9584ae0 100644
--- a/drivers/net/ixgbe/base/ixgbe_common.c
+++ b/drivers/net/ixgbe/base/ixgbe_common.c
@@ -3077,8 +3077,9 @@  void ixgbe_fc_autoneg(struct ixgbe_hw *hw)
 	 * - link is not up.
 	if (hw->fc.disable_fc_autoneg) {
-			     "Flow control autoneg is disabled");
+		/* TODO: This should be just an informative log */
+			      "Flow control autoneg is disabled");
 		goto out;