Hi All,
in my application I am doing port init.
It works in all LS1046 - 2088 and LX 2160.
In one our custom LS 1046 getting Below error.
the set_port_pcd(): FM_PORT_SetPCD: Failed,
dpaa_fm_config(): Set Port PCD: Failed
(gdb) bt
#0 0x0000000000974994 in FM_PCD_KgSchemeDelete (h_Scheme=0x0)
#1 0x00000000004aa754 in unset_pcd_netenv_scheme (dpaa_intf=dpaa_intf@entry=0x17ff73300)
#2 0x000000000097b0bc in dpaa_fm_config (dev=dev@entry=0x19063940 <rte_eth_devices>, req_dist_set=0)
#3 0x000000000097694c in dpaa_eth_dev_configure (dev=0x19063940 <rte_eth_devices>)
#4 0x00000000008c8d58 in rte_eth_dev_configure (port_id=port_id@entry=0, nb_rx_q=<optimized out>, nb_rx_q@entry=1,
nb_tx_q=<optimized out>, nb_tx_q@entry=1, dev_conf=dev_conf@entry=0xffffeba9be48)
Thanks for help.
已解决! 转到解答。
Please configure FMC policy with the following commands.
fmc -x
fmc -c ./usdpaa_config_ls1046.xml -p ./usdpaa_policy_hash_ipv4_1queue.xml -a
Note: You need to modify usdpaa_config_ls1046.xml according to your custom board.
Please configure FMC policy with the following commands.
fmc -x
fmc -c ./usdpaa_config_ls1046.xml -p ./usdpaa_policy_hash_ipv4_1queue.xml -a
Note: You need to modify usdpaa_config_ls1046.xml according to your custom board.