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.

Send packets with QMSS in 6616 EVM board will receive packets with 4 aditional bytes at the end of it.



Hello,guys.

     I face a problem about sending packets with QMSS in 6614-EVM board and receiving packets with 4 aditional bytes at the end of it.

     

    The senario is as follows:

    Send raw ethernet packets in one core with SGMII loopback mode and receive packets with PA PDSP0( which will dispatch packets accoreding to destination MAC address ).

When I send packets with 124 bytes, it'll receive 128 bytes, adding 4 additional bytes at the end, which seem like CRC check sum.

    I send the packets using descriptors of ps_flag = 2( which means sending to GBE-Switch port 2 ).  Then I saw the usage of the ps_flag is as follows:

3--------RX_PASS_CRC    Receive pass CRC.
                    0 = The packet does not contain a CRC. The CRC should be generated by the MAC module.
                    1 = The packet already contains a CRC. The CRC should not be generated by the  MAC module.
2-0 ----TO_PORT Directed packet to port. Setting these bits to a non-zero value indicates that the packet is a directed packet. Packets with the these bits set will                bypass the ALE and send the packet directly to the port indicated.
                   0 = No effect
                  1 = Send packet to GbE switch port 1
                   2 = Send packet to GbE switch port 2


So I tried to modify ps_flag to 10, which means RX_PASS_CRC = 1, but it can't receive pakcets any more.

I want to ask you why?Who may tell me?Thans a lot.