History

qed: Add driver API for flashing the config attributes.

The patch adds driver interface for reading the config attributes from user provided buffer, and updates these values on nvm config flash partition. This is basically an expansion of our existing ethtool -f implementation. The management FW has exposed an additional method of configuring some of the nvram options, and this makes use of that. This implementation will come into use when newer FW files which contain configuration directives employing this API will be provided to ethtool -f.

Sudarsana Reddy Kalluru committed 7 years ago

Commit 0dabbe11 parent 38eabdf2 files · +69 −0Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/qed/qed_if.h+1−0
@@ -804,6 +804,7 @@ enum qed_nvm_flash_cmd { · 803 unmodified lines
804 QED_NVM_FLASH_CMD_FILE_DATA = 0x2,804 QED_NVM_FLASH_CMD_FILE_DATA = 0x2,
805 QED_NVM_FLASH_CMD_FILE_START = 0x3,805 QED_NVM_FLASH_CMD_FILE_START = 0x3,
806 QED_NVM_FLASH_CMD_NVM_CHANGE = 0x4,806 QED_NVM_FLASH_CMD_NVM_CHANGE = 0x4,
807 QED_NVM_FLASH_CMD_NVM_CFG_ID = 0x5,
807 QED_NVM_FLASH_CMD_NVM_MAX,808 QED_NVM_FLASH_CMD_NVM_MAX,
808};809};
809 810

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t