This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, 您好!
6672只有两个核, 在GE的例程中,是按4个核去配置的,您需要把descMemRegionsCfg, freeHostQueueCfgTable, FDQ_str, flow_str中CORE2, CORE3的内容删掉:
例如freeHostQueueCfgTable中的如下代码需要删掉:
{CORE2_LL2_HOST_SIZE0_FDQ, ((Uint32)&hostDescriptor_LL2[0][0])+0x12000000, GE_DESCRIPTOR_SIZE, LL2_SIZE0_PKT_BUF_NUM, ((Uint32)packetBuffer_LL2_Size0)+0x12000000, LL2_PACKET_BUFFER_SIZE0},/*CORE2 LL2 Size0 host Free Descriptor Queue*/
{CORE2_LL2_HOST_SIZE1_FDQ, ((Uint32)&hostDescriptor_LL2[LL2_SIZE1_DESC_START_IDX][0])+0x12000000, GE_DESCRIPTOR_SIZE, LL2_SIZE1_PKT_BUF_NUM, ((Uint32)packetBuffer_LL2_Size1)+0x12000000, LL2_PACKET_BUFFER_SIZE1},/*CORE2 LL2 Size1 host Free Descriptor Queue*/
{CORE3_LL2_HOST_SIZE0_FDQ, ((Uint32)&hostDescriptor_LL2[0][0])+0x13000000, GE_DESCRIPTOR_SIZE, LL2_SIZE0_PKT_BUF_NUM, ((Uint32)packetBuffer_LL2_Size0)+0x13000000, LL2_PACKET_BUFFER_SIZE0},/*CORE3 LL2 Size0 host Free Descriptor Queue*/
{CORE3_LL2_HOST_SIZE1_FDQ, ((Uint32)&hostDescriptor_LL2[LL2_SIZE1_DESC_START_IDX][0])+0x13000000, GE_DESCRIPTOR_SIZE, LL2_SIZE1_PKT_BUF_NUM, ((Uint32)packetBuffer_LL2_Size1)+0x13000000, LL2_PACKET_BUFFER_SIZE1},/*CORE3 LL2 Size1 host Free Descriptor Queue*/
谢谢!