MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ice_print_rollback_msg

Function ice_print_rollback_msg

dpdk/drivers/net/ice/base/ice_common.c:992–1007  ·  view source on GitHub ↗

* ice_print_rollback_msg - print FW rollback message * @hw: pointer to the hardware structure */

Source from the content-addressed store, hash-verified

990 * @hw: pointer to the hardware structure
991 */
992void ice_print_rollback_msg(struct ice_hw *hw)
993{
994 char nvm_str[ICE_NVM_VER_LEN] = { 0 };
995 struct ice_orom_info *orom;
996 struct ice_nvm_info *nvm;
997
998 orom = &hw->flash.orom;
999 nvm = &hw->flash.nvm;
1000
1001 SNPRINTF(nvm_str, sizeof(nvm_str), "%x.%02x 0x%x %d.%d.%d",
1002 nvm->major, nvm->minor, nvm->eetrack, orom->major,
1003 orom->build, orom->patch);
1004 ice_warn(hw,
1005 "Firmware rollback mode detected. Current version is NVM: %s, FW: %d.%d. Device may exhibit limited functionality. Refer to the Intel(R) Ethernet Adapters and Devices User Guide for details on firmware rollback mode\n",
1006 nvm_str, hw->fw_maj_ver, hw->fw_min_ver);
1007}
1008
1009/**
1010 * ice_set_umac_shared

Callers 1

ice_init_hwFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected