Home
last modified time | relevance | path

Searched refs:checksum_local (Results 1 – 1 of 1) sorted by relevance

/titanic_44/usr/src/uts/common/io/i40e/core/
H A Di40e_nvm.c640 u16 checksum_local = 0; in i40e_calc_nvm_checksum() local
701 checksum_local += data[i % I40E_SR_SECTOR_SIZE_IN_WORDS]; in i40e_calc_nvm_checksum()
704 *checksum = (u16)I40E_SR_SW_CHECKSUM_BASE - checksum_local; in i40e_calc_nvm_checksum()
749 u16 checksum_local = 0; in i40e_validate_nvm_checksum() local
756 ret_code = i40e_calc_nvm_checksum(hw, &checksum_local); in i40e_validate_nvm_checksum()
770 if (checksum_local != checksum_sr) in i40e_validate_nvm_checksum()
775 *checksum = checksum_local; in i40e_validate_nvm_checksum()