Page MenuHomeFreeBSD

D18024.diff
No OneTemporary

D18024.diff

Index: head/sys/dev/sfxge/common/ef10_nic.c
===================================================================
--- head/sys/dev/sfxge/common/ef10_nic.c
+++ head/sys/dev/sfxge/common/ef10_nic.c
@@ -1092,6 +1092,18 @@
CAP_FLAG2(flags2, INIT_EVQ_V2) ? B_TRUE : B_FALSE;
/*
+ * Check if firmware-verified NVRAM updates must be used.
+ *
+ * The firmware trusted installer requires all NVRAM updates to use
+ * version 2 of MC_CMD_NVRAM_UPDATE_START (to enable verified update)
+ * and version 2 of MC_CMD_NVRAM_UPDATE_FINISH (to verify the updated
+ * partition and report the result).
+ */
+ encp->enc_fw_verified_nvram_update_required =
+ CAP_FLAG2(flags2, NVRAM_UPDATE_REPORT_VERIFY_RESULT) ?
+ B_TRUE : B_FALSE;
+
+ /*
* Check if firmware provides packet memory and Rx datapath
* counters.
*/
@@ -1104,18 +1116,6 @@
*/
encp->enc_mac_stats_40g_tx_size_bins =
CAP_FLAG2(flags2, MAC_STATS_40G_TX_SIZE_BINS) ? B_TRUE : B_FALSE;
-
- /*
- * Check if firmware-verified NVRAM updates must be used.
- *
- * The firmware trusted installer requires all NVRAM updates to use
- * version 2 of MC_CMD_NVRAM_UPDATE_START (to enable verified update)
- * and version 2 of MC_CMD_NVRAM_UPDATE_FINISH (to verify the updated
- * partition and report the result).
- */
- encp->enc_fw_verified_nvram_update_required =
- CAP_FLAG2(flags2, NVRAM_UPDATE_REPORT_VERIFY_RESULT) ?
- B_TRUE : B_FALSE;
#undef CAP_FLAG
#undef CAP_FLAG2

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 15, 10:29 PM (12 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29738473
Default Alt Text
D18024.diff (1 KB)

Event Timeline