AM261x MCU+ SDK: cpsw_stats.h Source File

| AM261x MCU+ SDK 26.00.00 |

cpsw_stats.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) Texas Instruments Incorporated 2020
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 *
11 * Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the
14 * distribution.
15 *
16 * Neither the name of Texas Instruments Incorporated nor the names of
17 * its contributors may be used to endorse or promote products derived
18 * from this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
66 #ifndef CPSW_STATS_H_
67 #define CPSW_STATS_H_
68
69 /* ========================================================================== */
70 /* Include Files */
71 /* ========================================================================== */
72
73 #include <include/core/enet_mod_stats.h>
74
75 #ifdef __cplusplus
76 extern "C" {
77 #endif
78
79 /* ========================================================================== */
80 /* Macros */
81 /* ========================================================================== */
82
84 #define CPSW_STATS_BLOCK_ELEM_NUM (128U)
85
86 /* ========================================================================== */
87 /* Structures and Enums */
88 /* ========================================================================== */
89
95 typedef struct CpswStats_HostPort_2g_s
96 {
98 uint64_t rxGoodFrames;
99
101 uint64_t rxBcastFrames;
102
104 uint64_t rxMcastFrames;
105
107 uint64_t reserved4;
108
110 uint64_t rxCrcErrors;
111
113 uint64_t reserved6;
114
116 uint64_t rxOversizedFrames;
117
119 uint64_t reserved8;
120
122 uint64_t rxUndersizedFrames;
123
125 uint64_t reserved10;
126
128 uint64_t aleDrop;
129
131 uint64_t aleOverrunDrop;
132
134 uint64_t rxOctets;
135
137 uint64_t txGoodFrames;
138
140 uint64_t txBcastFrames;
141
143 uint64_t txMcastFrames;
144
146 uint64_t reserved17to19[3];
147
149 uint64_t txSofOverrun;
150
152 uint64_t txMofOverrun;
153
155 uint64_t reserved22to25[4U];
156
158 uint64_t txOctets;
159
161 uint64_t octetsFrames64;
162
164 uint64_t octetsFrames65to127;
165
167 uint64_t octetsFrames128to255;
168
170 uint64_t octetsFrames256to511;
171
173 uint64_t octetsFrames512to1023;
174
176 uint64_t octetsFrames1024;
177
179 uint64_t netOctets;
180
182 uint64_t rxBottomOfFifoDrop;
183
185 uint64_t portMaskDrop;
186
188 uint64_t rxTopOfFifoDrop;
189
191 uint64_t aleRateLimitDrop;
192
194 uint64_t aleVidIngressDrop;
195
197 uint64_t aleDAEqSADrop;
198
200 uint64_t aleBlockDrop;
201
203 uint64_t aleSecureDrop;
204
206 uint64_t aleAuthDrop;
207
209 uint64_t aleUnknownUcast;
210
212 uint64_t aleUnknownUcastBcnt;
213
215 uint64_t aleUnknownMcast;
216
218 uint64_t aleUnknownMcastBcnt;
219
221 uint64_t aleUnknownBcast;
222
224 uint64_t aleUnknownBcastBcnt;
225
227 uint64_t alePolicyMatch;
228
230 uint64_t alePolicyMatchRed;
231
233 uint64_t alePolicyMatchYellow;
234
236 uint64_t aleMultSADrop;
237
239 uint64_t aleDualVlanDrop;
240
242 uint64_t aleLenErrorDrop;
243
245 uint64_t aleIpNextHdrDrop;
246
248 uint64_t aleIPv4FragDrop;
249
251 uint64_t reserved57to95[39U];
252
254 uint64_t txMemProtectError;
255
257 uint64_t txPri[8U];
258
260 uint64_t txPriBcnt[8U];
261
263 uint64_t txPriDrop[8U];
264
266 uint64_t txPriDropBcnt[8U];
267 } CpswStats_HostPort_2g;
268
274 typedef struct CpswStats_MacPort_2g_s
275 {
277 uint64_t rxGoodFrames;
278
280 uint64_t rxBcastFrames;
281
283 uint64_t rxMcastFrames;
284
286 uint64_t rxPauseFrames;
287
289 uint64_t rxCrcErrors;
290
292 uint64_t rxAlignCodeErrors;
293
295 uint64_t rxOversizedFrames;
296
298 uint64_t rxJabberFrames;
299
301 uint64_t rxUndersizedFrames;
302
304 uint64_t rxFragments;
305
307 uint64_t aleDrop;
308
310 uint64_t aleOverrunDrop;
311
313 uint64_t rxOctets;
314
316 uint64_t txGoodFrames;
317
319 uint64_t txBcastFrames;
320
322 uint64_t txMcastFrames;
323
325 uint64_t txPauseFrames;
326
328 uint64_t txDeferredFrames;
329
331 uint64_t txCollisionFrames;
332
334 uint64_t txSingleCollFrames;
335
337 uint64_t txMultipleCollFrames;
338
340 uint64_t txExcessiveCollFrames;
341
343 uint64_t txLateCollFrames;
344
346 uint64_t rxIPGError;
347
349 uint64_t txCarrierSenseErrors;
350
352 uint64_t txOctets;
353
355 uint64_t octetsFrames64;
356
358 uint64_t octetsFrames65to127;
359
361 uint64_t octetsFrames128to255;
362
364 uint64_t octetsFrames256to511;
365
367 uint64_t octetsFrames512to1023;
368
370 uint64_t octetsFrames1024;
371
373 uint64_t netOctets;
374
376 uint64_t rxBottomOfFifoDrop;
377
379 uint64_t portMaskDrop;
380
382 uint64_t rxTopOfFifoDrop;
383
385 uint64_t aleRateLimitDrop;
386
388 uint64_t aleVidIngressDrop;
389
391 uint64_t aleDAEqSADrop;
392
394 uint64_t aleBlockDrop;
395
397 uint64_t aleSecureDrop;
398
400 uint64_t aleAuthDrop;
401
403 uint64_t aleUnknownUcast;
404
406 uint64_t aleUnknownUcastBcnt;
407
409 uint64_t aleUnknownMcast;
410
412 uint64_t aleUnknownMcastBcnt;
413
415 uint64_t aleUnknownBcast;
416
418 uint64_t aleUnknownBcastBcnt;
419
421 uint64_t alePolicyMatch;
422
424 uint64_t alePolicyMatchRed;
425
427 uint64_t alePolicyMatchYellow;
428
430 uint64_t aleMultSADrop;
431
433 uint64_t aleDualVlanDrop;
434
436 uint64_t aleLenErrorDrop;
437
439 uint64_t aleIpNextHdrDrop;
440
442 uint64_t aleIPv4FragDrop;
443
445 uint64_t reserved57to80[24U];
446
448 uint64_t ietRxAssemblyErr;
449
451 uint64_t ietRxAssemblyOk;
452
454 uint64_t ietRxSmdError;
455
457 uint64_t ietRxFrag;
458
460 uint64_t ietTxHold;
461
463 uint64_t ietTxFrag;
464
466 uint64_t reserved87to95[9U];
467
469 uint64_t txMemProtectError;
470
472 uint64_t txPri[8U];
473
475 uint64_t txPriBcnt[8U];
476
478 uint64_t txPriDrop[8U];
479
481 uint64_t txPriDropBcnt[8U];
482 } CpswStats_MacPort_2g;
483
489 typedef struct CpswStats_HostPort_Ng_s
490 {
492 uint64_t rxGoodFrames;
493
495 uint64_t rxBcastFrames;
496
498 uint64_t rxMcastFrames;
499
501 uint64_t reserved4;
502
504 uint64_t rxCrcErrors;
505
507 uint64_t reserved6;
508
510 uint64_t rxOversizedFrames;
511
513 uint64_t reserved8;
514
516 uint64_t rxUndersizedFrames;
517
519 uint64_t reserved10;
520
522 uint64_t aleDrop;
523
525 uint64_t aleOverrunDrop;
526
528 uint64_t rxOctets;
529
531 uint64_t txGoodFrames;
532
534 uint64_t txBcastFrames;
535
537 uint64_t txMcastFrames;
538
540 uint64_t reserved17to19[3];
541
543 uint64_t txSofOverrun;
544
546 uint64_t txMofOverrun;
547
549 uint64_t reserved22to25[4U];
550
552 uint64_t txOctets;
553
555 uint64_t octetsFrames64;
556
558 uint64_t octetsFrames65to127;
559
561 uint64_t octetsFrames128to255;
562
564 uint64_t octetsFrames256to511;
565
567 uint64_t octetsFrames512to1023;
568
570 uint64_t octetsFrames1024;
571
573 uint64_t netOctets;
574
576 uint64_t rxBottomOfFifoDrop;
577
579 uint64_t portMaskDrop;
580
582 uint64_t rxTopOfFifoDrop;
583
585 uint64_t aleRateLimitDrop;
586
588 uint64_t aleVidIngressDrop;
589
591 uint64_t aleDAEqSADrop;
592
594 uint64_t aleBlockDrop;
595
597 uint64_t aleSecureDrop;
598
600 uint64_t aleAuthDrop;
601
603 uint64_t aleUnknownUcast;
604
606 uint64_t aleUnknownUcastBcnt;
607
609 uint64_t aleUnknownMcast;
610
612 uint64_t aleUnknownMcastBcnt;
613
615 uint64_t aleUnknownBcast;
616
618 uint64_t aleUnknownBcastBcnt;
619
621 uint64_t alePolicyMatch;
622
624 uint64_t alePolicyMatchRed;
625
627 uint64_t alePolicyMatchYellow;
628
630 uint64_t aleMultSADrop;
631
633 uint64_t aleDualVlanDrop;
634
636 uint64_t aleLenErrorDrop;
637
639 uint64_t aleIpNextHdrDrop;
640
642 uint64_t aleIPv4FragDrop;
643
645 uint64_t reserved57to95[39U];
646
648 uint64_t txMemProtectError;
649
651 uint64_t txPri[8U];
652
654 uint64_t txPriBcnt[8U];
655
657 uint64_t txPriDrop[8U];
658
660 uint64_t txPriDropBcnt[8U];
661 } CpswStats_HostPort_Ng;
662
668 typedef struct CpswStats_MacPort_Ng_s
669 {
671 uint64_t rxGoodFrames;
672
674 uint64_t rxBcastFrames;
675
677 uint64_t rxMcastFrames;
678
680 uint64_t rxPauseFrames;
681
683 uint64_t rxCrcErrors;
684
686 uint64_t rxAlignCodeErrors;
687
689 uint64_t rxOversizedFrames;
690
692 uint64_t rxJabberFrames;
693
695 uint64_t rxUndersizedFrames;
696
698 uint64_t rxFragments;
699
701 uint64_t aleDrop;
702
704 uint64_t aleOverrunDrop;
705
707 uint64_t rxOctets;
708
710 uint64_t txGoodFrames;
711
713 uint64_t txBcastFrames;
714
716 uint64_t txMcastFrames;
717
719 uint64_t txPauseFrames;
720
722 uint64_t txDeferredFrames;
723
725 uint64_t txCollisionFrames;
726
728 uint64_t txSingleCollFrames;
729
731 uint64_t txMultipleCollFrames;
732
734 uint64_t txExcessiveCollFrames;
735
737 uint64_t txLateCollFrames;
738
740 uint64_t rxIPGError;
741
743 uint64_t txCarrierSenseErrors;
744
746 uint64_t txOctets;
747
749 uint64_t octetsFrames64;
750
752 uint64_t octetsFrames65to127;
753
755 uint64_t octetsFrames128to255;
756
758 uint64_t octetsFrames256to511;
759
761 uint64_t octetsFrames512to1023;
762
764 uint64_t octetsFrames1024;
765
767 uint64_t netOctets;
768
770 uint64_t rxBottomOfFifoDrop;
771
773 uint64_t portMaskDrop;
774
776 uint64_t rxTopOfFifoDrop;
777
779 uint64_t aleRateLimitDrop;
780
782 uint64_t aleVidIngressDrop;
783
785 uint64_t aleDAEqSADrop;
786
788 uint64_t aleBlockDrop;
789
791 uint64_t aleSecureDrop;
792
794 uint64_t aleAuthDrop;
795
797 uint64_t aleUnknownUcast;
798
800 uint64_t aleUnknownUcastBcnt;
801
803 uint64_t aleUnknownMcast;
804
806 uint64_t aleUnknownMcastBcnt;
807
809 uint64_t aleUnknownBcast;
810
812 uint64_t aleUnknownBcastBcnt;
813
815 uint64_t alePolicyMatch;
816
818 uint64_t alePolicyMatchRed;
819
821 uint64_t alePolicyMatchYellow;
822
824 uint64_t aleMultSADrop;
825
827 uint64_t aleDualVlanDrop;
828
830 uint64_t aleLenErrorDrop;
831
833 uint64_t aleIpNextHdrDrop;
834
836 uint64_t aleIPv4FragDrop;
837
839 uint64_t reserved57to80[24U];
840
842 uint64_t ietRxAssemblyErr;
843
845 uint64_t ietRxAssemblyOk;
846
848 uint64_t ietRxSmdError;
849
851 uint64_t ietRxFrag;
852
854 uint64_t ietTxHold;
855
857 uint64_t ietTxFrag;
858
860 uint64_t reserved87to95[9U];
861
863 uint64_t txMemProtectError;
864
866 uint64_t txPri[8U];
867
869 uint64_t txPriBcnt[8U];
870
872 uint64_t txPriDrop[8U];
873
875 uint64_t txPriDropBcnt[8U];
876 } CpswStats_MacPort_Ng;
877
883 typedef struct CpswStats_PortStats_s
884 {
886 uint64_t val[CPSW_STATS_BLOCK_ELEM_NUM];
887 } CpswStats_PortStats;
888
889 /* ========================================================================== */
890 /* Global Variables Declarations */
891 /* ========================================================================== */
892
893 /* None */
894
895 /* ========================================================================== */
896 /* Function Declarations */
897 /* ========================================================================== */
898
899 /* None */
900
901 /* ========================================================================== */
902 /* Deprecated Function Declarations */
903 /* ========================================================================== */
904
905 /* None */
906
907 /* ========================================================================== */
908 /* Static Function Definitions */
909 /* ========================================================================== */
910
911 /* None */
912
913 #ifdef __cplusplus
914 }
915 #endif
916
917 #endif /* CPSW_STATS_H_ */
918
CpswStats_MacPort_Ng::txDeferredFrames
uint64_t txDeferredFrames
Definition: cpsw_stats.h:722
CpswStats_MacPort_Ng::txOctets
uint64_t txOctets
Definition: cpsw_stats.h:746
CpswStats_HostPort_Ng::txMofOverrun
uint64_t txMofOverrun
Definition: cpsw_stats.h:546
CpswStats_HostPort_2g::txMcastFrames
uint64_t txMcastFrames
Definition: cpsw_stats.h:143
CpswStats_HostPort_2g::alePolicyMatchYellow
uint64_t alePolicyMatchYellow
Definition: cpsw_stats.h:233
CpswStats_MacPort_Ng::rxFragments
uint64_t rxFragments
Definition: cpsw_stats.h:698
CpswStats_HostPort_Ng::txMcastFrames
uint64_t txMcastFrames
Definition: cpsw_stats.h:537
CpswStats_MacPort_2g::octetsFrames128to255
uint64_t octetsFrames128to255
Definition: cpsw_stats.h:361
CpswStats_HostPort_2g::rxUndersizedFrames
uint64_t rxUndersizedFrames
Definition: cpsw_stats.h:122
CpswStats_MacPort_2g::aleIpNextHdrDrop
uint64_t aleIpNextHdrDrop
Definition: cpsw_stats.h:439
CpswStats_MacPort_Ng::txCollisionFrames
uint64_t txCollisionFrames
Definition: cpsw_stats.h:725
CpswStats_HostPort_Ng::netOctets
uint64_t netOctets
Definition: cpsw_stats.h:573
CpswStats_MacPort_Ng::txMultipleCollFrames
uint64_t txMultipleCollFrames
Definition: cpsw_stats.h:731
CpswStats_MacPort_2g::rxMcastFrames
uint64_t rxMcastFrames
Definition: cpsw_stats.h:283
CpswStats_MacPort_Ng::aleLenErrorDrop
uint64_t aleLenErrorDrop
Definition: cpsw_stats.h:830
CpswStats_MacPort_2g::rxIPGError
uint64_t rxIPGError
Definition: cpsw_stats.h:346
CpswStats_MacPort_Ng::portMaskDrop
uint64_t portMaskDrop
Definition: cpsw_stats.h:773
CpswStats_HostPort_2g::aleUnknownUcast
uint64_t aleUnknownUcast
Definition: cpsw_stats.h:209
CpswStats_MacPort_Ng::ietTxHold
uint64_t ietTxHold
Definition: cpsw_stats.h:854
CpswStats_HostPort_2g::rxBcastFrames
uint64_t rxBcastFrames
Definition: cpsw_stats.h:101
CpswStats_HostPort_2g::aleVidIngressDrop
uint64_t aleVidIngressDrop
Definition: cpsw_stats.h:194
CpswStats_HostPort_2g::aleLenErrorDrop
uint64_t aleLenErrorDrop
Definition: cpsw_stats.h:242
CpswStats_HostPort_Ng::aleBlockDrop
uint64_t aleBlockDrop
Definition: cpsw_stats.h:594
CpswStats_HostPort_2g::txMofOverrun
uint64_t txMofOverrun
Definition: cpsw_stats.h:152
CpswStats_MacPort_Ng::rxGoodFrames
uint64_t rxGoodFrames
Definition: cpsw_stats.h:671
CpswStats_MacPort_2g::txCollisionFrames
uint64_t txCollisionFrames
Definition: cpsw_stats.h:331
CpswStats_MacPort_Ng::rxTopOfFifoDrop
uint64_t rxTopOfFifoDrop
Definition: cpsw_stats.h:776
CpswStats_HostPort_Ng::aleUnknownBcastBcnt
uint64_t aleUnknownBcastBcnt
Definition: cpsw_stats.h:618
CpswStats_MacPort_2g::aleSecureDrop
uint64_t aleSecureDrop
Definition: cpsw_stats.h:397
CpswStats_MacPort_2g::rxCrcErrors
uint64_t rxCrcErrors
Definition: cpsw_stats.h:289
CpswStats_MacPort_Ng::aleUnknownBcastBcnt
uint64_t aleUnknownBcastBcnt
Definition: cpsw_stats.h:812
CpswStats_HostPort_Ng::rxMcastFrames
uint64_t rxMcastFrames
Definition: cpsw_stats.h:498
CpswStats_MacPort_2g::rxOversizedFrames
uint64_t rxOversizedFrames
Definition: cpsw_stats.h:295
CpswStats_HostPort_Ng::aleDrop
uint64_t aleDrop
Definition: cpsw_stats.h:522
CpswStats_HostPort_2g::reserved10
uint64_t reserved10
Definition: cpsw_stats.h:125
CpswStats_MacPort_Ng::txGoodFrames
uint64_t txGoodFrames
Definition: cpsw_stats.h:710
CpswStats_HostPort_Ng::aleSecureDrop
uint64_t aleSecureDrop
Definition: cpsw_stats.h:597
CpswStats_MacPort_Ng::rxJabberFrames
uint64_t rxJabberFrames
Definition: cpsw_stats.h:692
CpswStats_MacPort_2g::aleUnknownMcastBcnt
uint64_t aleUnknownMcastBcnt
Definition: cpsw_stats.h:412
CpswStats_MacPort_Ng::rxOctets
uint64_t rxOctets
Definition: cpsw_stats.h:707
CpswStats_MacPort_Ng::octetsFrames128to255
uint64_t octetsFrames128to255
Definition: cpsw_stats.h:755
CpswStats_HostPort_2g::aleUnknownBcastBcnt
uint64_t aleUnknownBcastBcnt
Definition: cpsw_stats.h:224
CpswStats_MacPort_Ng::octetsFrames512to1023
uint64_t octetsFrames512to1023
Definition: cpsw_stats.h:761
CpswStats_MacPort_2g::txMcastFrames
uint64_t txMcastFrames
Definition: cpsw_stats.h:322
CpswStats_MacPort_Ng::rxPauseFrames
uint64_t rxPauseFrames
Definition: cpsw_stats.h:680
CpswStats_MacPort_Ng::aleSecureDrop
uint64_t aleSecureDrop
Definition: cpsw_stats.h:791
CpswStats_HostPort_Ng::aleDualVlanDrop
uint64_t aleDualVlanDrop
Definition: cpsw_stats.h:633
CpswStats_HostPort_Ng::aleUnknownMcast
uint64_t aleUnknownMcast
Definition: cpsw_stats.h:609
CpswStats_MacPort_Ng::octetsFrames1024
uint64_t octetsFrames1024
Definition: cpsw_stats.h:764
CpswStats_HostPort_2g::aleAuthDrop
uint64_t aleAuthDrop
Definition: cpsw_stats.h:206
CpswStats_MacPort_2g::alePolicyMatch
uint64_t alePolicyMatch
Definition: cpsw_stats.h:421
CpswStats_HostPort_Ng::rxOversizedFrames
uint64_t rxOversizedFrames
Definition: cpsw_stats.h:510
CpswStats_MacPort_Ng::txMemProtectError
uint64_t txMemProtectError
Definition: cpsw_stats.h:863
CpswStats_MacPort_Ng::aleAuthDrop
uint64_t aleAuthDrop
Definition: cpsw_stats.h:794
CpswStats_MacPort_Ng::aleUnknownUcastBcnt
uint64_t aleUnknownUcastBcnt
Definition: cpsw_stats.h:800
CpswStats_HostPort_Ng
CPSW 5G or 9G host port statistics.
Definition: cpsw_stats.h:490
CpswStats_HostPort_Ng::aleRateLimitDrop
uint64_t aleRateLimitDrop
Definition: cpsw_stats.h:585
CpswStats_HostPort_Ng::aleIpNextHdrDrop
uint64_t aleIpNextHdrDrop
Definition: cpsw_stats.h:639
CpswStats_HostPort_2g::aleMultSADrop
uint64_t aleMultSADrop
Definition: cpsw_stats.h:236
CpswStats_HostPort_Ng::alePolicyMatch
uint64_t alePolicyMatch
Definition: cpsw_stats.h:621
CpswStats_MacPort_Ng::aleUnknownBcast
uint64_t aleUnknownBcast
Definition: cpsw_stats.h:809
CpswStats_HostPort_2g::txSofOverrun
uint64_t txSofOverrun
Definition: cpsw_stats.h:149
CpswStats_MacPort_2g::aleUnknownBcast
uint64_t aleUnknownBcast
Definition: cpsw_stats.h:415
CpswStats_HostPort_Ng::octetsFrames256to511
uint64_t octetsFrames256to511
Definition: cpsw_stats.h:564
CpswStats_MacPort_2g::aleLenErrorDrop
uint64_t aleLenErrorDrop
Definition: cpsw_stats.h:436
CpswStats_MacPort_Ng::ietRxAssemblyOk
uint64_t ietRxAssemblyOk
Definition: cpsw_stats.h:845
CpswStats_HostPort_Ng::aleAuthDrop
uint64_t aleAuthDrop
Definition: cpsw_stats.h:600
CpswStats_MacPort_2g::txOctets
uint64_t txOctets
Definition: cpsw_stats.h:352
CpswStats_MacPort_2g::netOctets
uint64_t netOctets
Definition: cpsw_stats.h:373
CpswStats_MacPort_Ng::rxOversizedFrames
uint64_t rxOversizedFrames
Definition: cpsw_stats.h:689
CpswStats_HostPort_2g::aleSecureDrop
uint64_t aleSecureDrop
Definition: cpsw_stats.h:203
CpswStats_MacPort_2g::octetsFrames256to511
uint64_t octetsFrames256to511
Definition: cpsw_stats.h:364
CpswStats_MacPort_2g::rxPauseFrames
uint64_t rxPauseFrames
Definition: cpsw_stats.h:286
CPSW_STATS_BLOCK_ELEM_NUM
#define CPSW_STATS_BLOCK_ELEM_NUM
Number of elements in a statistics block.
Definition: cpsw_stats.h:84
CpswStats_MacPort_2g::ietRxAssemblyOk
uint64_t ietRxAssemblyOk
Definition: cpsw_stats.h:451
CpswStats_MacPort_Ng::netOctets
uint64_t netOctets
Definition: cpsw_stats.h:767
CpswStats_HostPort_Ng::reserved4
uint64_t reserved4
Definition: cpsw_stats.h:501
CpswStats_MacPort_Ng::txLateCollFrames
uint64_t txLateCollFrames
Definition: cpsw_stats.h:737
CpswStats_MacPort_Ng::txPauseFrames
uint64_t txPauseFrames
Definition: cpsw_stats.h:719
CpswStats_HostPort_2g::txBcastFrames
uint64_t txBcastFrames
Definition: cpsw_stats.h:140
CpswStats_HostPort_Ng::rxCrcErrors
uint64_t rxCrcErrors
Definition: cpsw_stats.h:504
CpswStats_MacPort_2g::txMultipleCollFrames
uint64_t txMultipleCollFrames
Definition: cpsw_stats.h:337
CpswStats_HostPort_Ng::reserved6
uint64_t reserved6
Definition: cpsw_stats.h:507
CpswStats_MacPort_Ng::rxCrcErrors
uint64_t rxCrcErrors
Definition: cpsw_stats.h:683
CpswStats_HostPort_2g::octetsFrames64
uint64_t octetsFrames64
Definition: cpsw_stats.h:161
CpswStats_HostPort_2g::octetsFrames256to511
uint64_t octetsFrames256to511
Definition: cpsw_stats.h:170
CpswStats_MacPort_Ng::aleIPv4FragDrop
uint64_t aleIPv4FragDrop
Definition: cpsw_stats.h:836
CpswStats_HostPort_Ng::aleMultSADrop
uint64_t aleMultSADrop
Definition: cpsw_stats.h:630
CpswStats_HostPort_Ng::aleDAEqSADrop
uint64_t aleDAEqSADrop
Definition: cpsw_stats.h:591
CpswStats_MacPort_2g::aleIPv4FragDrop
uint64_t aleIPv4FragDrop
Definition: cpsw_stats.h:442
CpswStats_MacPort_Ng::txBcastFrames
uint64_t txBcastFrames
Definition: cpsw_stats.h:713
CpswStats_HostPort_2g::rxBottomOfFifoDrop
uint64_t rxBottomOfFifoDrop
Definition: cpsw_stats.h:182
CpswStats_MacPort_Ng::alePolicyMatch
uint64_t alePolicyMatch
Definition: cpsw_stats.h:815
CpswStats_HostPort_2g::aleUnknownMcast
uint64_t aleUnknownMcast
Definition: cpsw_stats.h:215
CpswStats_MacPort_2g::txCarrierSenseErrors
uint64_t txCarrierSenseErrors
Definition: cpsw_stats.h:349
CpswStats_MacPort_Ng
CPSW 5G or 9G MAC port statistics.
Definition: cpsw_stats.h:669
CpswStats_MacPort_2g::aleBlockDrop
uint64_t aleBlockDrop
Definition: cpsw_stats.h:394
CpswStats_HostPort_2g::aleOverrunDrop
uint64_t aleOverrunDrop
Definition: cpsw_stats.h:131
CpswStats_HostPort_2g::aleRateLimitDrop
uint64_t aleRateLimitDrop
Definition: cpsw_stats.h:191
CpswStats_HostPort_2g
CPSW 2G host port statistics.
Definition: cpsw_stats.h:96
CpswStats_MacPort_2g::rxOctets
uint64_t rxOctets
Definition: cpsw_stats.h:313
CpswStats_HostPort_2g::rxTopOfFifoDrop
uint64_t rxTopOfFifoDrop
Definition: cpsw_stats.h:188
CpswStats_HostPort_2g::aleDrop
uint64_t aleDrop
Definition: cpsw_stats.h:128
CpswStats_HostPort_Ng::aleUnknownBcast
uint64_t aleUnknownBcast
Definition: cpsw_stats.h:615
CpswStats_HostPort_2g::alePolicyMatch
uint64_t alePolicyMatch
Definition: cpsw_stats.h:227
CpswStats_HostPort_Ng::rxUndersizedFrames
uint64_t rxUndersizedFrames
Definition: cpsw_stats.h:516
CpswStats_HostPort_2g::aleUnknownUcastBcnt
uint64_t aleUnknownUcastBcnt
Definition: cpsw_stats.h:212
CpswStats_MacPort_2g::txPauseFrames
uint64_t txPauseFrames
Definition: cpsw_stats.h:325
CpswStats_MacPort_2g::octetsFrames512to1023
uint64_t octetsFrames512to1023
Definition: cpsw_stats.h:367
CpswStats_HostPort_Ng::rxBcastFrames
uint64_t rxBcastFrames
Definition: cpsw_stats.h:495
CpswStats_HostPort_2g::rxGoodFrames
uint64_t rxGoodFrames
Definition: cpsw_stats.h:98
CpswStats_MacPort_2g::aleDAEqSADrop
uint64_t aleDAEqSADrop
Definition: cpsw_stats.h:391
CpswStats_MacPort_Ng::txMcastFrames
uint64_t txMcastFrames
Definition: cpsw_stats.h:716
CpswStats_MacPort_Ng::rxBottomOfFifoDrop
uint64_t rxBottomOfFifoDrop
Definition: cpsw_stats.h:770
CpswStats_HostPort_Ng::portMaskDrop
uint64_t portMaskDrop
Definition: cpsw_stats.h:579
CpswStats_MacPort_2g::rxBottomOfFifoDrop
uint64_t rxBottomOfFifoDrop
Definition: cpsw_stats.h:376
CpswStats_HostPort_Ng::aleLenErrorDrop
uint64_t aleLenErrorDrop
Definition: cpsw_stats.h:636
CpswStats_HostPort_Ng::rxGoodFrames
uint64_t rxGoodFrames
Definition: cpsw_stats.h:492
CpswStats_MacPort_Ng::alePolicyMatchYellow
uint64_t alePolicyMatchYellow
Definition: cpsw_stats.h:821
CpswStats_HostPort_Ng::octetsFrames65to127
uint64_t octetsFrames65to127
Definition: cpsw_stats.h:558
CpswStats_MacPort_2g::rxBcastFrames
uint64_t rxBcastFrames
Definition: cpsw_stats.h:280
CpswStats_MacPort_2g::txLateCollFrames
uint64_t txLateCollFrames
Definition: cpsw_stats.h:343
CpswStats_HostPort_Ng::alePolicyMatchRed
uint64_t alePolicyMatchRed
Definition: cpsw_stats.h:624
CpswStats_HostPort_Ng::txGoodFrames
uint64_t txGoodFrames
Definition: cpsw_stats.h:531
CpswStats_HostPort_2g::aleDualVlanDrop
uint64_t aleDualVlanDrop
Definition: cpsw_stats.h:239
CpswStats_HostPort_2g::reserved6
uint64_t reserved6
Definition: cpsw_stats.h:113
CpswStats_HostPort_2g::aleIpNextHdrDrop
uint64_t aleIpNextHdrDrop
Definition: cpsw_stats.h:245
CpswStats_MacPort_Ng::ietRxAssemblyErr
uint64_t ietRxAssemblyErr
Definition: cpsw_stats.h:842
CpswStats_HostPort_Ng::rxBottomOfFifoDrop
uint64_t rxBottomOfFifoDrop
Definition: cpsw_stats.h:576
CpswStats_HostPort_2g::aleIPv4FragDrop
uint64_t aleIPv4FragDrop
Definition: cpsw_stats.h:248
CpswStats_HostPort_Ng::aleIPv4FragDrop
uint64_t aleIPv4FragDrop
Definition: cpsw_stats.h:642
CpswStats_MacPort_2g::rxUndersizedFrames
uint64_t rxUndersizedFrames
Definition: cpsw_stats.h:301
CpswStats_HostPort_2g::aleDAEqSADrop
uint64_t aleDAEqSADrop
Definition: cpsw_stats.h:197
CpswStats_MacPort_Ng::txCarrierSenseErrors
uint64_t txCarrierSenseErrors
Definition: cpsw_stats.h:743
CpswStats_MacPort_2g::rxJabberFrames
uint64_t rxJabberFrames
Definition: cpsw_stats.h:298
CpswStats_MacPort_2g::ietTxFrag
uint64_t ietTxFrag
Definition: cpsw_stats.h:463
CpswStats_HostPort_2g::aleUnknownMcastBcnt
uint64_t aleUnknownMcastBcnt
Definition: cpsw_stats.h:218
CpswStats_MacPort_2g::octetsFrames65to127
uint64_t octetsFrames65to127
Definition: cpsw_stats.h:358
CpswStats_MacPort_2g::alePolicyMatchRed
uint64_t alePolicyMatchRed
Definition: cpsw_stats.h:424
CpswStats_MacPort_2g::aleVidIngressDrop
uint64_t aleVidIngressDrop
Definition: cpsw_stats.h:388
CpswStats_HostPort_2g::txGoodFrames
uint64_t txGoodFrames
Definition: cpsw_stats.h:137
CpswStats_HostPort_Ng::rxOctets
uint64_t rxOctets
Definition: cpsw_stats.h:528
CpswStats_MacPort_Ng::aleDrop
uint64_t aleDrop
Definition: cpsw_stats.h:701
CpswStats_MacPort_2g::alePolicyMatchYellow
uint64_t alePolicyMatchYellow
Definition: cpsw_stats.h:427
CpswStats_MacPort_2g::aleAuthDrop
uint64_t aleAuthDrop
Definition: cpsw_stats.h:400
CpswStats_MacPort_2g::txMemProtectError
uint64_t txMemProtectError
Definition: cpsw_stats.h:469
CpswStats_MacPort_2g::ietTxHold
uint64_t ietTxHold
Definition: cpsw_stats.h:460
CpswStats_MacPort_2g::aleMultSADrop
uint64_t aleMultSADrop
Definition: cpsw_stats.h:430
CpswStats_MacPort_2g::aleOverrunDrop
uint64_t aleOverrunDrop
Definition: cpsw_stats.h:310
CpswStats_MacPort_Ng::octetsFrames65to127
uint64_t octetsFrames65to127
Definition: cpsw_stats.h:752
CpswStats_HostPort_2g::aleUnknownBcast
uint64_t aleUnknownBcast
Definition: cpsw_stats.h:221
CpswStats_MacPort_Ng::txExcessiveCollFrames
uint64_t txExcessiveCollFrames
Definition: cpsw_stats.h:734
CpswStats_HostPort_2g::octetsFrames65to127
uint64_t octetsFrames65to127
Definition: cpsw_stats.h:164
CpswStats_HostPort_Ng::txMemProtectError
uint64_t txMemProtectError
Definition: cpsw_stats.h:648
CpswStats_HostPort_Ng::txBcastFrames
uint64_t txBcastFrames
Definition: cpsw_stats.h:534
CpswStats_MacPort_2g::aleUnknownMcast
uint64_t aleUnknownMcast
Definition: cpsw_stats.h:409
CpswStats_MacPort_Ng::ietRxSmdError
uint64_t ietRxSmdError
Definition: cpsw_stats.h:848
CpswStats_MacPort_Ng::alePolicyMatchRed
uint64_t alePolicyMatchRed
Definition: cpsw_stats.h:818
CpswStats_MacPort_2g::aleUnknownBcastBcnt
uint64_t aleUnknownBcastBcnt
Definition: cpsw_stats.h:418
CpswStats_HostPort_Ng::octetsFrames1024
uint64_t octetsFrames1024
Definition: cpsw_stats.h:570
CpswStats_MacPort_Ng::aleDualVlanDrop
uint64_t aleDualVlanDrop
Definition: cpsw_stats.h:827
CpswStats_HostPort_2g::octetsFrames128to255
uint64_t octetsFrames128to255
Definition: cpsw_stats.h:167
CpswStats_HostPort_2g::alePolicyMatchRed
uint64_t alePolicyMatchRed
Definition: cpsw_stats.h:230
CpswStats_HostPort_Ng::rxTopOfFifoDrop
uint64_t rxTopOfFifoDrop
Definition: cpsw_stats.h:582
CpswStats_MacPort_2g::rxTopOfFifoDrop
uint64_t rxTopOfFifoDrop
Definition: cpsw_stats.h:382
CpswStats_MacPort_2g::aleUnknownUcast
uint64_t aleUnknownUcast
Definition: cpsw_stats.h:403
CpswStats_HostPort_Ng::octetsFrames128to255
uint64_t octetsFrames128to255
Definition: cpsw_stats.h:561
CpswStats_HostPort_Ng::reserved8
uint64_t reserved8
Definition: cpsw_stats.h:513
CpswStats_HostPort_Ng::aleOverrunDrop
uint64_t aleOverrunDrop
Definition: cpsw_stats.h:525
CpswStats_MacPort_Ng::octetsFrames256to511
uint64_t octetsFrames256to511
Definition: cpsw_stats.h:758
CpswStats_PortStats
CPSW nG port statistics.
Definition: cpsw_stats.h:884
CpswStats_MacPort_Ng::rxMcastFrames
uint64_t rxMcastFrames
Definition: cpsw_stats.h:677
CpswStats_HostPort_2g::reserved4
uint64_t reserved4
Definition: cpsw_stats.h:107
CpswStats_MacPort_Ng::ietRxFrag
uint64_t ietRxFrag
Definition: cpsw_stats.h:851
CpswStats_HostPort_2g::rxOctets
uint64_t rxOctets
Definition: cpsw_stats.h:134
CpswStats_MacPort_2g::txExcessiveCollFrames
uint64_t txExcessiveCollFrames
Definition: cpsw_stats.h:340
CpswStats_HostPort_Ng::txOctets
uint64_t txOctets
Definition: cpsw_stats.h:552
CpswStats_MacPort_2g::aleRateLimitDrop
uint64_t aleRateLimitDrop
Definition: cpsw_stats.h:385
CpswStats_HostPort_2g::reserved8
uint64_t reserved8
Definition: cpsw_stats.h:119
CpswStats_HostPort_Ng::octetsFrames64
uint64_t octetsFrames64
Definition: cpsw_stats.h:555
CpswStats_MacPort_Ng::rxAlignCodeErrors
uint64_t rxAlignCodeErrors
Definition: cpsw_stats.h:686
CpswStats_MacPort_2g::portMaskDrop
uint64_t portMaskDrop
Definition: cpsw_stats.h:379
enet_mod_stats.h
This file contains the type definitions and helper macros for the Enet Statistics module interface.
CpswStats_MacPort_Ng::aleUnknownUcast
uint64_t aleUnknownUcast
Definition: cpsw_stats.h:797
CpswStats_MacPort_2g::txSingleCollFrames
uint64_t txSingleCollFrames
Definition: cpsw_stats.h:334
CpswStats_HostPort_Ng::aleUnknownUcast
uint64_t aleUnknownUcast
Definition: cpsw_stats.h:603
CpswStats_HostPort_Ng::txSofOverrun
uint64_t txSofOverrun
Definition: cpsw_stats.h:543
CpswStats_HostPort_Ng::aleUnknownUcastBcnt
uint64_t aleUnknownUcastBcnt
Definition: cpsw_stats.h:606
CpswStats_HostPort_2g::netOctets
uint64_t netOctets
Definition: cpsw_stats.h:179
CpswStats_MacPort_Ng::aleUnknownMcast
uint64_t aleUnknownMcast
Definition: cpsw_stats.h:803
CpswStats_HostPort_2g::aleBlockDrop
uint64_t aleBlockDrop
Definition: cpsw_stats.h:200
CpswStats_MacPort_2g::ietRxSmdError
uint64_t ietRxSmdError
Definition: cpsw_stats.h:454
CpswStats_MacPort_2g::rxGoodFrames
uint64_t rxGoodFrames
Definition: cpsw_stats.h:277
CpswStats_HostPort_Ng::reserved10
uint64_t reserved10
Definition: cpsw_stats.h:519
CpswStats_HostPort_2g::rxCrcErrors
uint64_t rxCrcErrors
Definition: cpsw_stats.h:110
CpswStats_HostPort_Ng::aleUnknownMcastBcnt
uint64_t aleUnknownMcastBcnt
Definition: cpsw_stats.h:612
CpswStats_MacPort_2g::octetsFrames1024
uint64_t octetsFrames1024
Definition: cpsw_stats.h:370
CpswStats_MacPort_Ng::txSingleCollFrames
uint64_t txSingleCollFrames
Definition: cpsw_stats.h:728
CpswStats_MacPort_2g
CPSW 2G MAC port statistics.
Definition: cpsw_stats.h:275
CpswStats_MacPort_2g::aleDrop
uint64_t aleDrop
Definition: cpsw_stats.h:307
CpswStats_MacPort_2g::aleDualVlanDrop
uint64_t aleDualVlanDrop
Definition: cpsw_stats.h:433
CpswStats_HostPort_Ng::octetsFrames512to1023
uint64_t octetsFrames512to1023
Definition: cpsw_stats.h:567
CpswStats_MacPort_2g::rxFragments
uint64_t rxFragments
Definition: cpsw_stats.h:304
CpswStats_MacPort_Ng::aleDAEqSADrop
uint64_t aleDAEqSADrop
Definition: cpsw_stats.h:785
CpswStats_MacPort_Ng::octetsFrames64
uint64_t octetsFrames64
Definition: cpsw_stats.h:749
CpswStats_HostPort_Ng::alePolicyMatchYellow
uint64_t alePolicyMatchYellow
Definition: cpsw_stats.h:627
CpswStats_MacPort_Ng::aleMultSADrop
uint64_t aleMultSADrop
Definition: cpsw_stats.h:824
CpswStats_MacPort_Ng::aleBlockDrop
uint64_t aleBlockDrop
Definition: cpsw_stats.h:788
CpswStats_MacPort_2g::aleUnknownUcastBcnt
uint64_t aleUnknownUcastBcnt
Definition: cpsw_stats.h:406
CpswStats_MacPort_Ng::aleRateLimitDrop
uint64_t aleRateLimitDrop
Definition: cpsw_stats.h:779
CpswStats_MacPort_2g::txDeferredFrames
uint64_t txDeferredFrames
Definition: cpsw_stats.h:328
CpswStats_HostPort_2g::txOctets
uint64_t txOctets
Definition: cpsw_stats.h:158
CpswStats_MacPort_Ng::aleVidIngressDrop
uint64_t aleVidIngressDrop
Definition: cpsw_stats.h:782
CpswStats_MacPort_2g::txGoodFrames
uint64_t txGoodFrames
Definition: cpsw_stats.h:316
CpswStats_MacPort_2g::octetsFrames64
uint64_t octetsFrames64
Definition: cpsw_stats.h:355
CpswStats_MacPort_Ng::rxIPGError
uint64_t rxIPGError
Definition: cpsw_stats.h:740
CpswStats_HostPort_Ng::aleVidIngressDrop
uint64_t aleVidIngressDrop
Definition: cpsw_stats.h:588
CpswStats_HostPort_2g::octetsFrames1024
uint64_t octetsFrames1024
Definition: cpsw_stats.h:176
CpswStats_HostPort_2g::rxMcastFrames
uint64_t rxMcastFrames
Definition: cpsw_stats.h:104
CpswStats_MacPort_2g::txBcastFrames
uint64_t txBcastFrames
Definition: cpsw_stats.h:319
CpswStats_MacPort_Ng::aleIpNextHdrDrop
uint64_t aleIpNextHdrDrop
Definition: cpsw_stats.h:833
CpswStats_HostPort_2g::portMaskDrop
uint64_t portMaskDrop
Definition: cpsw_stats.h:185
CpswStats_MacPort_2g::rxAlignCodeErrors
uint64_t rxAlignCodeErrors
Definition: cpsw_stats.h:292
CpswStats_MacPort_Ng::rxBcastFrames
uint64_t rxBcastFrames
Definition: cpsw_stats.h:674
CpswStats_MacPort_2g::ietRxFrag
uint64_t ietRxFrag
Definition: cpsw_stats.h:457
CpswStats_HostPort_2g::octetsFrames512to1023
uint64_t octetsFrames512to1023
Definition: cpsw_stats.h:173
CpswStats_MacPort_Ng::ietTxFrag
uint64_t ietTxFrag
Definition: cpsw_stats.h:857
CpswStats_MacPort_Ng::aleUnknownMcastBcnt
uint64_t aleUnknownMcastBcnt
Definition: cpsw_stats.h:806
CpswStats_MacPort_2g::ietRxAssemblyErr
uint64_t ietRxAssemblyErr
Definition: cpsw_stats.h:448
CpswStats_MacPort_Ng::rxUndersizedFrames
uint64_t rxUndersizedFrames
Definition: cpsw_stats.h:695
CpswStats_HostPort_2g::txMemProtectError
uint64_t txMemProtectError
Definition: cpsw_stats.h:254
CpswStats_HostPort_2g::rxOversizedFrames
uint64_t rxOversizedFrames
Definition: cpsw_stats.h:116
CpswStats_MacPort_Ng::aleOverrunDrop
uint64_t aleOverrunDrop
Definition: cpsw_stats.h:704