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.

TDA4VM-Q1: [CPSW9G] Switch packet loss and optimization

Part Number: TDA4VM-Q1

Tool/software:

Using SDK 8.6, ALE log has been opened.
There has been a packet loss issue, may I ask what the meaning of these counts is?
portMaskDrop
rxTopOfFifoDrop
aleVidIngressDrop
txPriDrop[0]
What caused these increased counts?
How to solve these packet loss problems?
Does CPSW9G have room for performance optimization?
If the enabled CPSW9G port does not have external devices, will this affect the performance of the switch?
[MCU2_0]  Port 0 Statistics

[MCU2_0]   1569.030202 s: -----------------------------------------

[MCU2_0]   1569.030241 s:   rxGoodFrames            = 844939

[MCU2_0]   1569.030282 s:   rxBcastFrames           = 1

[MCU2_0]   1569.030318 s:   rxMcastFrames           = 567

[MCU2_0]   1569.030357 s:   aleDrop                 = 1

[MCU2_0]   1569.030392 s:   rxOctets                = 897969199

[MCU2_0]   1569.030430 s:   txGoodFrames            = 768873

[MCU2_0]   1569.030464 s:   txMcastFrames           = 349962

[MCU2_0]   1569.030499 s:   txOctets                = 649091871

[MCU2_0]   1569.030534 s:   octetsFrames64          = 59202

[MCU2_0]   1569.030567 s:   octetsFrames65to127     = 186323

[MCU2_0]   1569.030601 s:   octetsFrames128to255    = 97210

[MCU2_0]   1569.030635 s:   octetsFrames256to511    = 94943

[MCU2_0]   1569.030669 s:   octetsFrames512to1023   = 257917

[MCU2_0]   1569.030702 s:   octetsFrames1024        = 918217

[MCU2_0]   1569.030736 s:   netOctets               = 1547061070

[MCU2_0]   1569.030773 s:   portMaskDrop            = 1

[MCU2_0]   1569.030808 s:   alePolicyMatch          = 448310

[MCU2_0]   1569.030847 s:   txPri[0]                = 768873

[MCU2_0]   1569.031017 s:   txPriBcnt[0]            = 649091871

[MCU2_0]   1569.031158 s: 

[MCU2_0]  External Port 1 Statistics

[MCU2_0]   1569.031204 s: -----------------------------------------

[MCU2_0]   1569.031236 s:   rxGoodFrames            = 53049

[MCU2_0]   1569.031275 s:   rxBcastFrames           = 34

[MCU2_0]   1569.031310 s:   rxMcastFrames           = 166

[MCU2_0]   1569.031346 s:   aleDrop                 = 34

[MCU2_0]   1569.031382 s:   rxOctets                = 3468150

[MCU2_0]   1569.031418 s:   txGoodFrames            = 1221450

[MCU2_0]   1569.031453 s:   txMcastFrames           = 316380

[MCU2_0]   1569.031490 s:   txOctets                = 829402202

[MCU2_0]   1569.031527 s:   octetsFrames64          = 88544

[MCU2_0]   1569.031561 s:   octetsFrames65to127     = 143774

[MCU2_0]   1569.031595 s:   octetsFrames128to255    = 6274

[MCU2_0]   1569.031631 s:   octetsFrames256to511    = 522277

[MCU2_0]   1569.031665 s:   octetsFrames512to1023   = 183544

[MCU2_0]   1569.031703 s:   octetsFrames1024        = 330086

[MCU2_0]   1569.031736 s:   netOctets               = 832870352

[MCU2_0]   1569.031771 s:   portMaskDrop            = 34

[MCU2_0]   1569.031805 s:   aleUnknownUcast         = 10

[MCU2_0]   1569.031839 s:   aleUnknownUcastBcnt     = 1034

[MCU2_0]   1569.031983 s:   aleUnknownMcast         = 7

[MCU2_0]   1569.032041 s:   aleUnknownMcastBcnt     = 1061

[MCU2_0]   1569.032080 s:   alePolicyMatch          = 53049

[MCU2_0]   1569.032122 s:   txPri[0]                = 1221450

[MCU2_0]   1569.032164 s:   txPriBcnt[0]            = 829402202

[MCU2_0]   1569.032211 s:   txPriDrop[0]            = 2

[MCU2_0]   1569.032250 s:   txPriDropBcnt[0]        = 128

[MCU2_0]   1569.032372 s: 

[MCU2_0]  External Port 3 Statistics

[MCU2_0]   1569.032414 s: -----------------------------------------

[MCU2_0]   1569.032448 s:   rxGoodFrames            = 43455

[MCU2_0]   1569.032483 s:   rxBcastFrames           = 3

[MCU2_0]   1569.032516 s:   rxMcastFrames           = 3119

[MCU2_0]   1569.032551 s:   aleDrop                 = 3

[MCU2_0]   1569.032625 s:   rxOctets                = 33995347

[MCU2_0]   1569.032669 s:   txGoodFrames            = 963090

[MCU2_0]   1569.032704 s:   txMcastFrames           = 347388

[MCU2_0]   1569.032769 s:   txOctets                = 802780646

[MCU2_0]   1569.032809 s:   octetsFrames64          = 14770

[MCU2_0]   1569.032844 s:   octetsFrames65to127     = 255664

[MCU2_0]   1569.033012 s:   octetsFrames128to255    = 19148

[MCU2_0]   1569.033065 s:   octetsFrames256to511    = 87996

[MCU2_0]   1569.033100 s:   octetsFrames512to1023   = 219031

[MCU2_0]   1569.033136 s:   octetsFrames1024        = 409936

[MCU2_0]   1569.033170 s:   netOctets               = 836775993

[MCU2_0]   1569.033206 s:   portMaskDrop            = 3

[MCU2_0]   1569.033238 s:   rxTopOfFifoDrop         = 1

[MCU2_0]   1569.033271 s:   aleUnknownUcast         = 259

[MCU2_0]   1569.033303 s:   aleUnknownUcastBcnt     = 31818

[MCU2_0]   1569.033336 s:   aleUnknownMcast         = 1365

[MCU2_0]   1569.033370 s:   aleUnknownMcastBcnt     = 241058

[MCU2_0]   1569.033404 s:   aleUnknownBcast         = 1

[MCU2_0]   1569.033435 s:   aleUnknownBcastBcnt     = 87

[MCU2_0]   1569.033468 s:   alePolicyMatch          = 43452

[MCU2_0]   1569.033504 s:   txPri[0]                = 963090

[MCU2_0]   1569.033544 s:   txPriBcnt[0]            = 802780646

[MCU2_0]   1569.033586 s:   txPriDrop[0]            = 1

[MCU2_0]   1569.033625 s:   txPriDropBcnt[0]        = 304

[MCU2_0]   1569.033753 s: 

[MCU2_0]  External Port 5 Statistics

[MCU2_0]   1569.033796 s: -----------------------------------------

[MCU2_0]   1569.033830 s:   rxGoodFrames            = 1393483

[MCU2_0]   1569.034037 s:   rxMcastFrames           = 346166

[MCU2_0]   1569.034103 s:   aleDrop                 = 74

[MCU2_0]   1569.034142 s:   rxOctets                = 791076175

[MCU2_0]   1569.034181 s:   txGoodFrames            = 982275

[MCU2_0]   1569.034217 s:   txMcastFrames           = 4403

[MCU2_0]   1569.034254 s:   txOctets                = 895465116

[MCU2_0]   1569.034290 s:   octetsFrames64          = 124349

[MCU2_0]   1569.034322 s:   octetsFrames65to127     = 396646

[MCU2_0]   1569.034354 s:   octetsFrames128to255    = 102295

[MCU2_0]   1569.034387 s:   octetsFrames256to511    = 595444

[MCU2_0]   1569.034420 s:   octetsFrames512to1023   = 272554

[MCU2_0]   1569.034453 s:   octetsFrames1024        = 884470

[MCU2_0]   1569.034487 s:   netOctets               = 1686541291

[MCU2_0]   1569.034522 s:   portMaskDrop            = 74

[MCU2_0]   1569.034554 s:   rxTopOfFifoDrop         = 3

[MCU2_0]   1569.034587 s:   aleVidIngressDrop       = 68

[MCU2_0]   1569.034621 s:   aleUnknownUcast         = 2

[MCU2_0]   1569.034652 s:   aleUnknownUcastBcnt     = 2188

[MCU2_0]   1569.034683 s:   aleUnknownMcast         = 4

[MCU2_0]   1569.034714 s:   aleUnknownMcastBcnt     = 2554

[MCU2_0]   1569.034746 s:   alePolicyMatch          = 1393409

[MCU2_0]   1569.034780 s:   txPri[0]                = 982275

[MCU2_0]   1569.035070 s:   txPriBcnt[0]            = 895465116

[MCU2_0]   1569.037197 s:   txPriDrop[0]            = 1

[MCU2_0]   1569.037603 s:   txPriDropBcnt[0]        = 1063
  • the meaning of the statistics can refer to TRM, if the received frame is errored frame, this frame will be dropped, and the error count will increase

    Regards

       Semon

  • "rxTopOfFifoDrop" Does the increase in the count indicate that CPSW9G's Rx buffer overflowed, causing CPSW9G to drop the received packets?


    "txPriDrop[0]" Does the increase in the count indicate that the Tx buffer of CPSW9G overflowed, causing CPSW9G to drop the sent data without actually sending the packet?

  • "rxTopOfFifoDrop" Does the increase in the count indicate that CPSW9G's Rx buffer overflowed, causing CPSW9G to drop the received packets?


    "txPriDrop[0]" Does the increase in the count indicate that the Tx buffer of CPSW9G overflowed, causing CPSW9G to drop the sent data without actually sending the packet?

    -----------------------------
    HI ZS
        yes, when RX FIFO is full, the packet in the top of the FIFo will be dropped, this maybe caused by that the remote station send too fast, or the CPU is too busy to handle the received packet
    any issue about this case?
    Regards
       Semon
  • Can I monitor CPSW packet loss status on A72?

  • Can I monitor CPSW packet loss status on A72?

    the port packet stats register can be read from either CPU CORE

    Regards

       Semon