Date: Tue, 23 Jul 2019 21:14:24 +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-12@freebsd.org Subject: svn commit: r350262 - stable/12/sys/dev/cxgbe Message-ID: <201907232114.x6NLEOnT019987@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Tue Jul 23 21:14:24 2019 New Revision: 350262 URL: https://svnweb.freebsd.org/changeset/base/350262 Log: MFC r349865: cxgbe(4): Use the simplest configuration possible when falling back from the default configuration. Sponsored by: Chelsio Communications Modified: stable/12/sys/dev/cxgbe/t4_main.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/dev/cxgbe/t4_main.c ============================================================================== --- stable/12/sys/dev/cxgbe/t4_main.c Tue Jul 23 21:12:32 2019 (r350261) +++ stable/12/sys/dev/cxgbe/t4_main.c Tue Jul 23 21:14:24 2019 (r350262) @@ -4012,10 +4012,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?201907232114.x6NLEOnT019987>