Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2019 19:32:32 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349865 - head/sys/dev/cxgbe
Message-ID:  <201907091932.x69JWWGU025540@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Tue Jul  9 19:32:31 2019
New Revision: 349865
URL: https://svnweb.freebsd.org/changeset/base/349865

Log:
  cxgbe(4): Use the simplest configuration possible when falling back from
  the default configuration.
  
  MFC after:	1 week
  Sponsored by:	Chelsio Communications

Modified:
  head/sys/dev/cxgbe/t4_main.c

Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c	Tue Jul  9 18:33:01 2019	(r349864)
+++ head/sys/dev/cxgbe/t4_main.c	Tue Jul  9 19:32:31 2019	(r349865)
@@ -4009,10 +4009,8 @@ retry:
 		    rc, cfg_file);
 		snprintf(cfg_file, sizeof(cfg_file), "%s", BUILTIN_CF);
 		bzero(&caps_allowed, sizeof(caps_allowed));
-		COPY_CAPS(nbm);
-		COPY_CAPS(link);
 		COPY_CAPS(switch);
-		COPY_CAPS(nic);
+		caps_allowed.niccaps = FW_CAPS_CONFIG_NIC;
 		fallback = false;
 		goto retry;
 	}



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