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.

TMS320C6678: Packet accelerator status

Part Number: TMS320C6678

Hi,

We are using the C6678 device and packet accelerator

We noticed:  if we receive UDP packets with illegal setting of “IP packet length” ( = 0xffff) or “UDP packet length” (= 0xffff )

These packets are discarded by packet accelerator.

Is there a method to get statistics of how many packets were discarded by PA and why?.

Please send me detail documentation of low level driver function Pa_requestStats()  and Pa_formatStatsReply()

And example code of how to use it

Thanks,

Eliezer 

  • Hi,

    The API is explained: pdk_c667x_2_0_xx\packages\ti\drv\pa\docs\doxygen\html\group__palld__api__functions.html. You can search the pdk_c667x_2_0_xx\packages\ti\drv\pa\ example C codes for how the two functions are called.

    Regards, Eric

  • Hi Eliezer,

    Appreciate you discovering the driver functions Pa_requestStats()  and Pa_formatStatsReply(), which provide the details on the statistics on number of silent discard in PA.

    Like Eric mentioned above you can get to the documentation of the above APIs.

    Curious to know:

    Are you experimenting the firmware behavior for invalid PKT lengths in the packet? Is those invalid lengths intentional? I see you mentioned packets are dropped for these packets. Is only the packet length invalid in the incoming packet fields? Are there anything else you are corrupting along with these fields for your tests?

  • Hi,

    Do you have answers to Aravind's question? I will close this thread if no further info received or additional help needed.

    Regards, Eric