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.

EVMK2EX: EVMK2EX

Part Number: EVMK2EX


Hi,

We are working on the K2E board NetCP Application with yocto version krogoth 2.1 and kernel version 4.4.32.

Here I am facing an issue in transferring packets using ethernet port0 or eth0, I am using SendPacket() and ReceivePacket() function for sending and receiving packets through NetCP application, If I am keeping the SendPacket() alone, then only I am able to transfer the packets, if I am keeping the SendPacket() and ReceivePacket() function together them I am not able to transfer the packets through NetCP port0.

If in Qmss_queuePush (gPaTxQHnd[1], pCppiDesc, dataBufferSize, SIZE_HOST_DESC, Qmss_Location_TAIL) call in SendPacket(), I keep gPaTxQHand[1], and select port1, the send and receive is working properly and if I, keep gPaTxQHand[0] and select port0 then I am not able to send and receive the packet.

  • Hi Saurabh,

    Sorry for delayed response,

    You have been using K2E RTOS SDK, whether you are using ARM or DSP example projectas reference? 

    I have analysed the code of QMSS. 

    Qmss_queuePush (gPaTxQHnd

    Qmss_queuePush (gPaTxQHnd[nssGblCfgParams.layout.qPaTxCmdIndex]
    
    Here, "qPaTxCmdIndex" corresponds to Index to the PASS Tx command queue for Egress Packets

    It doesnot point to Port number.

    CSL_CPSW_enablePort0()

    can be used to initilaize the Port 0, if it was not initialized properly.

    Thanks,

    Rajarajan U