Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2016 15:18:03 +0000 (UTC)
From:      Steven Hartland <smh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295094 - head/sys/dev/ixgbe
Message-ID:  <201601311518.u0VFI3DV095558@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: smh
Date: Sun Jan 31 15:18:03 2016
New Revision: 295094
URL: https://svnweb.freebsd.org/changeset/base/295094

Log:
  Fix ixgbe flow control autoneg reporting
  
  Fix ixgbe reporting of flow control autoneg when running under DBG 1
  
  Reviewed by:	erj
  MFC after:	2 days
  Sponsored by:	Multiplay
  Differential Revision:	https://reviews.freebsd.org/D5089

Modified:
  head/sys/dev/ixgbe/ixgbe_common.c

Modified: head/sys/dev/ixgbe/ixgbe_common.c
==============================================================================
--- head/sys/dev/ixgbe/ixgbe_common.c	Sun Jan 31 15:14:23 2016	(r295093)
+++ head/sys/dev/ixgbe/ixgbe_common.c	Sun Jan 31 15:18:03 2016	(r295094)
@@ -199,9 +199,12 @@ bool ixgbe_device_supports_autoneg_fc(st
 		break;
 	}
 
-	ERROR_REPORT2(IXGBE_ERROR_UNSUPPORTED,
+	if (!supported) {
+		ERROR_REPORT2(IXGBE_ERROR_UNSUPPORTED,
 		      "Device %x does not support flow control autoneg",
 		      hw->device_id);
+	}
+
 	return supported;
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601311518.u0VFI3DV095558>