Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2019 19:35:20 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r355243 - stable/11/sys/dev/cxgbe
Message-ID:  <201911301935.xAUJZKvB030741@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Sat Nov 30 19:35:20 2019
New Revision: 355243
URL: https://svnweb.freebsd.org/changeset/base/355243

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

Modified:
  stable/11/sys/dev/cxgbe/t4_main.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/cxgbe/t4_main.c
==============================================================================
--- stable/11/sys/dev/cxgbe/t4_main.c	Sat Nov 30 19:33:14 2019	(r355242)
+++ stable/11/sys/dev/cxgbe/t4_main.c	Sat Nov 30 19:35:20 2019	(r355243)
@@ -3959,10 +3959,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?201911301935.xAUJZKvB030741>