Update for PA LLD upgrade DEV.NETAPI.01.00.00.03
authorRaghu Nambiath <rnambiath@ti.com>
Wed, 1 Aug 2012 22:10:44 +0000 (18:10 -0400)
committerRaghu Nambiath <rnambiath@ti.com>
Wed, 1 Aug 2012 22:10:44 +0000 (18:10 -0400)
ti/runtime/netapi/test/net_test.c

index c01a8174ea20ef56ffe687d4f8cdaa521f97d3e3..ec51790e63f9203b149c8257db2b27fe9cab0219 100644 (file)
@@ -1235,23 +1235,31 @@ if(pPaStats)
 {
        printf("C1 number of packets:           %d\n", pPaStats->classify1.nPackets);
        printf("C1 number IPv4 packets:         %d\n", pPaStats->classify1.nIpv4Packets);
-       //printf("C1 number llc/snap fail:        %d\n", pPaStats->classify1.nLlcSnapFail);
+       printf("C1 number IPv6 packets:        %d\n", pPaStats->classify1.nIpv6Packets);
+       printf("C1 number Custom packets:        %d\n", pPaStats->classify1.nCustomPackets);
+       printf("C1 number SRIO packets:        %d\n", pPaStats->classify1.nSrioPackets);
+       printf("C1 number LLC/SNAP Fail packets:        %d\n", pPaStats->classify1.nLlcSnapFail);
        printf("C1 number table matched:        %d\n", pPaStats->classify1.nTableMatch);
        printf("C1 number failed table matched: %d\n", pPaStats->classify1.nNoTableMatch);
+       printf("C1 number IP Fragmented packets: %d\n", pPaStats->classify1.nIpFrag);
+       printf("C1 number IP Depth Overflow: %d\n", pPaStats->classify1.nIpDepthOverflow);
+       printf("C1 number VLAN Depth Overflow: %d\n", pPaStats->classify1.nVlanDepthOverflow);
+       printf("C1 number GRE Depth Overflow: %d\n", pPaStats->classify1.nGreDepthOverflow);
+       printf("C1 number MPLS Packets: %d\n", pPaStats->classify1.nMplsPackets);
        printf ("C1 number of parse fail:        %d\n",pPaStats->classify1.nParseFail);
-       printf("C1 number of command failures:  %d\n", pPaStats->classify1.nCommandFail);
-       printf("C1 number invalid reply dests:  %d\n", pPaStats->classify1.nInvalidComReplyDest);
+       printf("C1 number of Invalid IPv6 Opt:  %d\n", pPaStats->classify1.nInvalidIPv6Opt);
+       printf("C1 number of TX IP Fragments:  %d\n", pPaStats->classify1.nTxIpFrag);
        printf ("C1 number of silent discard:    %d\n",pPaStats->classify1.nSilentDiscard);
        printf("C1 number of invalid control:   %d\n", pPaStats->classify1.nInvalidControl);
        printf ("C1 number of invalid states:    %d\n",pPaStats->classify1.nInvalidState);
        printf ("C1 number of system fails:      %d\n",pPaStats->classify1.nSystemFail);
-       printf ("C2 number parse failed  :      %d\n",pPaStats->classify2.nParseFail);
-       printf ("C2 number Invld Header  :      %d\n",pPaStats->classify2.nInvldHdr);
+       printf ("C2 number Packets  :           %d\n",pPaStats->classify2.nPackets);
        printf ("C2 number udp           :      %d\n",pPaStats->classify2.nUdp);
        printf ("C2 number tcp           :      %d\n",pPaStats->classify2.nTcp);
-       printf ("C2 number cmd fail      :      %d\n",pPaStats->classify2.nCommandFail);
+       printf ("C2 number Custom       :      %d\n",pPaStats->classify2.nCustom);
        printf ("C2 number silent drop   :      %d\n",pPaStats->classify2.nSilentDiscard);
        printf ("C2 number invalid cntrl :      %d\n\n",pPaStats->classify2.nInvalidControl);
+       printf ("C2 number Modify Stats Cmd Fail :      %d\n\n",pPaStats->modify.nCommandFail);
 }
 Pktlib_getHeapStats(OurHeap, &pktLibHeapStats);
 printf("main heap stats>  #free=%d #zb=%d #garbage=%d\n", pktLibHeapStats.numFreeDataPackets,