Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c603 u16 checksum_local = 0; in i40e_calc_nvm_checksum() local
661 checksum_local += data[i % I40E_SR_SECTOR_SIZE_IN_WORDS]; in i40e_calc_nvm_checksum()
664 *checksum = (u16)I40E_SR_SW_CHECKSUM_BASE - checksum_local; in i40e_calc_nvm_checksum()
706 u16 checksum_local = 0; in i40e_validate_nvm_checksum() local
718 ret_code = i40e_calc_nvm_checksum(hw, &checksum_local); in i40e_validate_nvm_checksum()
727 if (checksum_local != checksum_sr) in i40e_validate_nvm_checksum()
732 *checksum = checksum_local; in i40e_validate_nvm_checksum()