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.

how to enable jumbo frame reception

Other Parts Discussed in Thread: TMS320C6678

hi

 i am tring to enable jumo frame packet reception in "hello wold example :" of  NDK 2.21. can you tell me how to do this.

i am using CCSv5.1 and my target device is TMS320C6678 processor

                       pratik jain

  • Looking at this thread, it appears that jumbo frames is not supported by the EMAC driver yet.  I'll ask the MCUSDK team to respond further if they can.

    http://e2e.ti.com/support/embedded/bios/f/355/t/149900.aspx

  • hi

               can u tell me how i cam modify the drive to enable jumoframe reception for TMS320C6678 device.

    Pratik jain

  • Hi Pratik jain,

    Jumbo frames are not supported in the driver.  As previously mentioned, you would have to modify the driver in order to add such support yourself.

    In addition to what was already mentioned in this post and linked posts, I found a couple of notes about this in an email regarding the issue:

    1. The size of the framebuf in NDK must be large enough to hold the jumbo packet. See pbm.c.
    2. The size of the packet for NIMU needs to be raised to the same value.
    3. We config the switch with the max packet size we can receive. Right now 1514. That will need to be bumped as well.

    For number 1, I think jumbo_pbm.c should be looked at as well...

    Steve

  • hi steven

     can u tell me which all files in MCSDK i need to modify

     pratik jain

                       

  • In the MCSDK, changes are needed in NIMU.

    One place would be  nimu_eth.c, where the packet buffer is allocated.  But it is not tested and there may be more changes needed in other locations/packages

    Hence in MCSDK, jumbo-frame is not supported yet. 

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/192066/687970.aspx#687970

  • Hello Steven,

    I am working on C6670 device and have created a GTP fast path (using netcp) to send and receive packets from the EMAC. When the application needs to send any packet outside it directly pushes the descriptor in the transmit queue of GBeTth switch using netcp. Also, when a GTP packet is received  that is directly forwarded to the application bypassing the L3 processing. I need support of jumbo frames such that ethernet is able to receive/transmit frames of size >1500.

    What i could observe is that EMAC is able to transmit jumbo frames properly but is not able to receives frames of size >1514 bytes.

    As you pointed out in your reply earlier, can you please let me know how to configure the switch to receive packet size >1514 bytes.

    "We config the switch with the max packet size we can receive. Right now 1514. That will need to be bumped as well."


    Thanks,

    Ankit