cxgbe(4): Use the simplest configuration possible when falling back from

the default configuration.

MFC after:	1 week
Sponsored by:	Chelsio Communications
This commit is contained in:
Navdeep Parhar 2019-07-09 19:32:31 +00:00
parent 56a6dee6f7
commit a920680df5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349865

View File

@ -4009,10 +4009,8 @@ partition_resources(struct adapter *sc)
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;
}