Fixed
Created: Aug 10, 2014
Updated: Dec 3, 2018
Resolved Date: Aug 13, 2014
Found In Version: 6.0
Fix Version: 6.0.0.11
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Kernel
With the new version sdk_1.5-fb3, we have the following error in dpa_stats_create:
[ 156.554492] cpu0: ! MAJOR FM-PCD Error [CPU00, /wrl5/work_wrl_64_sdk_15_fb3-rev2/sdcxm/bitbake_build/tmp/work/sdcxm-wrs-linux/linux-windriver-3.4-r0/linux/drivers/net/ethernet/freescale/fman/Peripherals/FM/Pcd/fm_cc.c:6661 FM_PCD_MatchTableFindNGetKeyStatistics]: Resource Not Found;
[ 156.580183] cpu0: The received key and mask pair was not found in the match table of the provided node
[ 156.590356] cpu0:
[ 156.592627] Error - /wrl5/work_wrl_64_sdk_15_fb3-rev2/sdcxm/bitbake_build/tmp/work/sdcxm-wrs-linux/linux-windriver-3.4-r0/linux/drivers/staging/fsl_dpa_offload/dpa_stats.c:278 (get_ccnode_key_stats)
[ 156.612312] Check failed for Classification Node counter id 13 due to incorrect parameters: handle=0xc00000005c8c0000, keysize=2, keybyte=
[ 156.625392] 00 00. Mask was (hex):
[ 156.628704] 20 00
[ 156.631199] Error - /wrl5/work_wrl_64_sdk_15_fb3-rev2/sdcxm/bitbake_build/tmp/work/sdcxm-wrs-linux/linux-windriver-3.4-r0/linux/drivers/staging/fsl_dpa_offload/dpa_stats.c:3900 (dpa_stats_create_counter)
[ 156.651335] Cannot create Classification Cc Node counter id 13
To investigate, we have done instrumentation on FindKeyIndex in order to display the key_value and the key_mask.
And we observe that the key_mask is alway equal to 0xFF.. instead of the value we have given in the skeleton.
Eg. we have set a mask to 0x10 and we saw that the mask is store with the value 0xFF:
[ 181.454833] cpu0: FB!!! p_CcNode=0x7a90000, nb of key=1, keybyte= 1534078848
[ 181.462298] cpu0: FB!!! key[0]=0
[ 181.466077] cpu0: FB!!! mask[0]=255
[ 181.469840] cpu0: ! MAJOR FM-PCD Error [CPU00, drivers/net/ethernet/freescale/ fman/Peripherals/FM/Pcd/fm_cc.c:6675 FM_PCD_MatchTableFindNGetKeyStatistics]: Resource Not Found;
[ 181.486459] cpu0: The received key and mask pair was not found in the match table of the provided node
[ 181.496511] cpu0:
[ 181.499495] Error - drivers/staging/fsl_dpa_offload/dpa_stats.c:278 (get_ccnode_key_stats)
[ 181.508337] Check failed for Classification Node counter id 3 due to incorrect parameters: handle=0xc000000007a90000, keysize=1, keybyte=
[ 181.521475] 00. Mask was (hex):
[ 181.524524] 10
[ 181.526346] Error - drivers/staging/fsl_dpa_offload/dpa_stats.c:3900 (dpa_stat s_create_counter)
[ 181.536456] Cannot create Classification Cc Node counter id 3