PDK API Guide for J721E
csl_cpsw.h
Go to the documentation of this file.
1 
42 #ifndef CSL_CPSW_V5_H_
43 #define CSL_CPSW_V5_H_
44 
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48 
49 #include <stdbool.h>
50 #include <ti/csl/soc.h>
51 #include <ti/csl/csl.h>
52 #include <ti/csl/cslr_ale.h>
53 #include <ti/csl/cslr_xge_cpsw.h>
54 
61 #define CSL_CPSW_ALECONTROL_RATELIMIT_EN (1 << 0u)
62 
64 #define CSL_CPSW_ALECONTROL_AUTHMODE_EN (1 << 1u)
65 
67 #define CSL_CPSW_ALECONTROL_VLANAWARE_EN (1 << 2u)
68 
70 #define CSL_CPSW_ALECONTROL_RATELIMIT_TX_EN (1 << 3u)
71 
73 #define CSL_CPSW_ALECONTROL_OUIDENY_EN (1 << 5u)
74 
76 #define CSL_CPSW_ALECONTROL_VID0MODE_EN (1 << 6u)
77 
79 #define CSL_CPSW_ALECONTROL_LEARN_NO_VID_EN (1 << 7u)
80 
82 #define CSL_CPSW_ALECONTROL_AGEOUT_NOW_EN (1 << 29u)
83 
85 #define CSL_CPSW_ALECONTROL_CLRTABLE_EN (1 << 30u)
86 
88 #define CSL_CPSW_ALECONTROL_ALE_EN (1 << 31u)
89 
93 #define CSL_CPSW_PORTMASK_PORT0_EN (1 << 0u)
94 
96 #define CSL_CPSW_PORTMASK_PORT1_EN (1 << 1u)
97 
99 #define CSL_CPSW_PORTMASK_PORT2_EN (1 << 2u)
100 
102 #define CSL_CPSW_PORTMASK_PORT3_EN (1 << 3u)
103 
105 #define CSL_CPSW_PORTMASK_PORT4_EN (1 << 4u)
106 
108 #define CSL_CPSW_PORTMASK_PORT5_EN (1 << 5u)
109 
111 #define CSL_CPSW_PORTMASK_PORT6_EN (1 << 6u)
112 
114 #define CSL_CPSW_PORTMASK_PORT7_EN (1 << 7u)
115 
117 #define CSL_CPSW_PORTMASK_PORT8_EN (1 << 8u)
118 
123 typedef struct {
125  Uint32 minorVer;
126 
128  Uint32 majorVer;
129 
131  Uint32 rtlVer;
132 
134  Uint32 id;
136 
141 typedef struct {
143  Uint32 fifoLb;
144 
146  Uint32 vlanAware;
147 
149  Uint32 p0Enable;
150 
152  Uint32 p0PassPriTag;
153 
155  Uint32 p1PassPriTag;
156 
158  Uint32 p2PassPriTag;
159 
161  Uint32 p3PassPriTag;
162 
164  Uint32 p4PassPriTag;
165 
167  Uint32 p5PassPriTag;
168 
170  Uint32 p6PassPriTag;
171 
173  Uint32 p7PassPriTag;
174 
176  Uint32 p8PassPriTag;
177 
180 
187  Uint32 p0RxPad;
188 
191 
193  Uint32 eeeEnable;
194 
196  Uint32 estEnable;
197 
199 
204 typedef struct {
221 
226 typedef struct {
229 
232 
235 
239  Uint32 p0RxEccErrEn;
240 
244  Uint32 p0TxEccErrEn;
245 
250  Uint32 p0DscpIpv6En;
251 
256  Uint32 p0DscpIpv4En;
257 
262  Uint32 p0RxChksumEn;
263 
265 
271 typedef struct
272 {
277  Uint32 rxGapCnt;
278 
280  Uint32 rxGapEnPri7;
281 
283  Uint32 rxGapEnPri6;
284 
286  Uint32 rxGapEnPri5;
287 
289  Uint32 rxGapEnPri4;
290 
292  Uint32 rxGapEnPri3;
293 
295  Uint32 rxGapEnPri2;
296 
298  Uint32 rxGapEnPri1;
299 
301  Uint32 rxGapEnPri0;
302 
304 
310 typedef struct
311 {
318 
325 
332 
339 
346 
353 
360 
367 
369 
375 typedef struct
376 {
380 
384 
388 
392 
396 
400 
404 
408 
410 
415 typedef struct {
417  Uint32 p0FlowEnable;
418 
420  Uint32 p1FlowEnable;
421 
423  Uint32 p2FlowEnable;
424 
426  Uint32 p3FlowEnable;
427 
429  Uint32 p4FlowEnable;
430 
432  Uint32 p5FlowEnable;
433 
435  Uint32 p6FlowEnable;
436 
438  Uint32 p7FlowEnable;
439 
441  Uint32 p8FlowEnable;
442 
444 
449 typedef struct {
451  Uint32 minorVer;
452 
454  Uint32 majorVer;
455 
457  Uint32 rtlVer;
458 
460  Uint32 id;
462 
467 typedef enum {
471 
476 typedef enum {
482 
487 typedef struct {
490 
493 
496 
499 
502 
517 
523 
532 
534  Uint32 mcastLimit;
535 
537  Uint32 bcastLimit;
541  Uint32 dropDualVlan;
547 
549 
554 typedef enum {
560 
565 #define CSL_ALE_ENTRYTYPE_MAC_ADDR CSL_ALE_ENTRYTYPE_ADDRESS
566 
571 #define CSL_ALE_ENTRYTYPE_POLICER CSL_ALE_ENTRYTYPE_VLAN
572 
577 typedef enum {
583 
588 typedef enum {
593 
594 
599 typedef enum {
606 
612 typedef struct {
614  Uint8 macAddress [6];
615 
618 
620  Uint32 superEnable;
621 
623  Uint32 portMask;
624 
626  Uint32 ignMBits;
628 
634 typedef struct {
636  Uint8 macAddress [6];
637 
639  Uint32 vlanId;
640 
643 
645  Uint32 superEnable;
646 
648  Uint32 portMask;
649 
651  Uint32 ignMBits;
653 
659 typedef struct {
661  Uint8 macAddress [6];
662 
664  Uint32 ageable;
665 
667  Uint32 touched;
668 
669 
671  Uint32 secureEnable;
672 
674  Uint32 blockEnable;
675 
677  Uint32 portNumber;
678 
682  Uint32 trunkFlag;
683 
685 
691 typedef struct {
693  Uint8 ouiAddress [3];
694 
696  Uint32 ageable;
697 
699  Uint32 touched;
701 
707 typedef struct {
709  Uint8 macAddress [6];
710 
712  Uint32 vlanId;
713 
715  Uint32 ageable;
716 
718  Uint32 touched;
719 
721  Uint32 secureEnable;
722 
724  Uint32 blockEnable;
725 
727  Uint32 portNumber;
729  Uint32 trunkFlag;
731 
736 typedef struct {
738  Uint32 vlanId;
739 
741  Uint32 vlanMemList;
742 
745 
750 
755 
758 
760  Uint32 noLearnMask;
761 
764 
767 
769 
775 
780 typedef struct {
782  Uint32 ethertype;
783 
785 
786 
792 typedef struct {
794  Uint8 address [4];
796  UInt32 numLSBIgnore;
797 
799 
805 typedef struct {
807  Uint8 address [16];
809  UInt32 numLSBIgnore;
810 
812 
813 
814 #define CSL_CPSW_NUMALE_ENTRIES_MIN (64)
815 
816 #define CSL_CPSW_NUMSTATBLOCKS (9)
817 
818 
819 
833 typedef enum {
838 
843 typedef enum {
848 
853 typedef struct {
855  Uint32 p0StatEnable;
856 
858  Uint32 p1StatEnable;
859 
861  Uint32 p2StatEnable;
862 
864  Uint32 p3StatEnable;
865 
867  Uint32 p4StatEnable;
868 
870  Uint32 p5StatEnable;
871 
873  Uint32 p6StatEnable;
874 
876  Uint32 p7StatEnable;
877 
879  Uint32 p8StatEnable;
880 
882 
887 typedef struct {
890 
893 
896 
899 
902 
905 
908 
911 
914 
917 
920 
923 
926 
928 
929 
934 typedef struct {
937 
940 
943 
946 
949 
952 
955 
958 
961 
964 
967 
970 
973 
978  Uint32 tsUniEnable;
979 
984  Uint32 ts107Enable;
985 
990  Uint32 ts129Enable;
991 
996  Uint32 ts130Enable;
997 
1002  Uint32 ts131Enable;
1003 
1008  Uint32 ts132Enable;
1009 
1011  Uint32 ts319Enable;
1012 
1014  Uint32 ts320Enable;
1015 
1018 
1021 
1023  Uint32 tsLType1;
1024 
1026  Uint32 tsLType2;
1027 
1030 
1033 
1036 
1039 
1041 
1042 
1047 typedef struct {
1048 
1051 
1060 
1063 
1066 
1068 
1069 
1074 typedef struct {
1081 
1083  Uint32 idleStep[8];
1084 
1086  Uint32 sendStep[8];
1087 
1089 
1094 typedef struct {
1096  Uint32 enable;
1097 
1099  Uint32 prescale;
1100 
1102 
1107 typedef struct {
1116 
1122  Uint32 idle2lpi;
1123 
1131  Uint32 lpi2wake;
1132 
1134 
1135 
1140 typedef struct {
1143 
1145  Uint32 rxLpi;
1146 
1148  Uint32 txLpi;
1149 
1152  Uint32 txWake;
1153 
1156  Uint32 txFifoHold;
1157 
1159  Uint32 rxFifoEmpty;
1160 
1162  Uint32 txFifoEmpty;
1163 
1165 
1178 typedef enum {
1188 
1193 typedef struct {
1202 
1204  Uint32 defThread;
1205 
1207 
1208 typedef struct {
1209  Uint32 trunkBase;
1217 
1218 
1219 typedef struct {
1223 
1224 typedef struct {
1228 
1229 #define CSL_ALE_TABLE_POLICER_ENUM2REG(policerType) ((policerType) << 0x1)
1230 
1231 
1234 #define CSL_CPSW_ALE_POLICER_PORT_VALID (1 << 0u)
1235 
1237 #define CSL_CPSW_ALE_POLICER_PRI_VALID (1 << 1u)
1238 
1240 #define CSL_CPSW_ALE_POLICER_OUI_VALID (1 << 2u)
1241 
1243 #define CSL_CPSW_ALE_POLICER_DST_MAC_VALID (1 << 3u)
1244 
1246 #define CSL_CPSW_ALE_POLICER_SRC_MAC_VALID (1 << 4u)
1247 
1249 #define CSL_CPSW_ALE_POLICER_OVLAN_VALID (1 << 5u)
1250 
1252 #define CSL_CPSW_ALE_POLICER_VLAN_VALID (1 << 6u)
1253 
1255 #define CSL_CPSW_ALE_POLICER_ETHERTYPE_VALID (1 << 7u)
1256 
1258 #define CSL_CPSW_ALE_POLICER_SRC_IP_VALID ( 1 << 8u)
1259 
1261 #define CSL_CPSW_ALE_POLICER_DST_IP_VALID (1 << 9u)
1262 
1265 #define CSL_CPSW_ALE_POLICER_THREAD_VALID ( 1 << 10u)
1266 
1268 #define CSL_CPSW_ALE_POLICER_PIR_VALID ( 1 << 11u)
1269 
1271 #define CSL_CPSW_ALE_POLICER_CIR_VALID ( 1 << 12u)
1272 
1274 #define CSL_CPSW_ALE_POLICER_PORT_TRUNK_VALID (1 << 13u)
1275 
1277 #define CSL_CPSW_ALE_POLICER_EGRESSOP_VALID (1 << 14u)
1278 
1283 typedef struct {
1285  Uint32 validBitmap;
1286 
1288  Uint32 port;
1289 
1291  Uint32 pri;
1292 
1294  Uint32 ouiIdx;
1295 
1297  Uint32 dstMacIdx;
1298 
1300  Uint32 srcMacIdx;
1301 
1303  Uint32 ovlanIdx;
1304 
1306  Uint32 vlanIdx;
1307 
1310 
1312  Uint32 srcIpIdx;
1313 
1315  Uint32 dstIpIdx;
1316 
1318  Uint32 thread;
1319 
1325 
1336  Uint32 egressOp;
1357 
1359 
1368 typedef struct {
1371 
1374 
1377 
1380 
1382  Uint32 RxCRCErrors;
1383 
1386 
1388  Uint32 RxOversized;
1389 
1391  Uint32 RxJabber;
1392 
1395 
1397  Uint32 RxFragments;
1398 
1400  Uint32 RxAleDrop;
1401 
1404 
1406  Uint32 RxOctets;
1407 
1410 
1413 
1416 
1419 
1421  Uint32 TxDeferred;
1422 
1424  Uint32 TxCollision;
1425 
1428 
1430  Uint32 TxMultiColl;
1431 
1434 
1436  Uint32 TxLateColl;
1437 
1439  Uint32 RxIpgError;
1440 
1443 
1445  Uint32 TxOctets;
1446 
1448  Uint32 Frame64;
1449 
1451  Uint32 Frame65t127;
1452 
1455 
1458 
1461 
1464 
1466  Uint32 NetOctets;
1467 
1470 
1473 
1475  Uint32 RxDropTop;
1476 
1479 
1481  Uint32 AleVidDrop;
1482 
1485 
1487  Uint32 Resv1[3];
1488 
1490  Uint32 AleUnKnUni;
1491 
1494 
1497 
1500 
1503 
1506 
1508  Uint32 AlePolMatch;
1509 
1511  Uint32 Resv2[46];
1512 
1515 
1517  Uint32 TxPriPktCnt[8];
1518 
1520  Uint32 TxPriByteCnt[8];
1521 
1523  Uint32 TxPriDropPktCnt[8];
1524 
1526  Uint32 TxPriDropByteCnt[8];
1527 
1528 } CSL_CPSW_STATS;
1529 
1530 typedef enum {
1536 
1537 typedef enum {
1547 
1548 typedef struct
1549 {
1558 
1559 typedef struct
1560 {
1565  Uint32 polTestIdx;
1567 
1568 typedef struct
1569 {
1570  Uint32 polHit ;
1571  Uint32 polRedhit ;
1572  Uint32 polYellowhit ;
1574 
1579 typedef struct {
1582 
1585 
1588 
1591 
1594 
1597 
1600 
1603 
1606 
1616 } CSL_CPSW_PTYPE;
1617 
1622 typedef struct {
1624  Uint8 dstMacAddress [6];
1626  Uint8 srcMacAddress [6];
1645  Uint32 replaceDaSa;
1649  Uint32 replaceVid;
1651  Uint32 vid;
1653 
1658 typedef struct {
1664  Uint32 estBufAct;
1670  Uint32 estAddErr;
1676  Uint32 estCntErr;
1690  Uint32 txPriActive;
1692 
1697 typedef struct {
1706 
1713 
1718 
1723  Uint32 estTsPri;
1724 
1730  Uint32 estTsOnePri;
1731 
1738  Uint32 estTsFirst;
1739 
1743  Uint32 estTsEnable;
1744 
1751  Uint32 estBufSel;
1752 
1759  Uint32 estOneBuf;
1761 
1770 /********************************************************************************
1771 ************************* Ethernet Switch (CPSW) Submodule **********************
1772 ********************************************************************************/
1773 
1774 
1811 void CSL_CPSW_getCpswVersionInfo (CSL_Xge_cpswRegs *hCpswRegs,
1812  CSL_CPSW_VERSION* pVersionInfo
1813 );
1814 
1815 
1852 Uint32 CSL_CPSW_isVlanAwareEnabled (CSL_Xge_cpswRegs *hCpswRegs);
1853 
1854 
1885 void CSL_CPSW_enableVlanAware (CSL_Xge_cpswRegs *hCpswRegs);
1886 
1887 
1888 void CSL_CPSW_setVlanType (CSL_Xge_cpswRegs *hCpswRegs,Uint32 vlanType);
1889 
1890 
1921 void CSL_CPSW_disableVlanAware (CSL_Xge_cpswRegs *hCpswRegs);
1922 
1923 
1960 Uint32 CSL_CPSW_isPort0Enabled (CSL_Xge_cpswRegs *hCpswRegs);
1961 
1962 
1992 void CSL_CPSW_enablePort0 (CSL_Xge_cpswRegs *hCpswRegs);
1993 
1994 
2024 void CSL_CPSW_disablePort0 (CSL_Xge_cpswRegs *hCpswRegs);
2025 
2026 
2062 Uint32 CSL_CPSW_isPort0PassPriTagEnabled (CSL_Xge_cpswRegs *hCpswRegs);
2063 
2064 
2095 void CSL_CPSW_enablePort0PassPriTag (CSL_Xge_cpswRegs *hCpswRegs);
2096 
2097 
2128 void CSL_CPSW_disablePort0PassPriTag (CSL_Xge_cpswRegs *hCpswRegs);
2129 
2130 
2166 Uint32 CSL_CPSW_isPort1PassPriTagEnabled (CSL_Xge_cpswRegs *hCpswRegs);
2167 
2168 
2199 void CSL_CPSW_enablePortPassPriTag (CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNum);
2200 
2201 
2232 void CSL_CPSW_disablePortPassPriTag (CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNum);
2233 
2234 
2275 void CSL_CPSW_getCpswControlReg (CSL_Xge_cpswRegs *hCpswRegs,
2276  CSL_CPSW_CONTROL* pControlRegInfo
2277 );
2278 
2279 
2324 void CSL_CPSW_setCpswControlReg (CSL_Xge_cpswRegs *hCpswRegs,
2325  CSL_CPSW_CONTROL* pControlRegInfo
2326 );
2327 
2328 
2363 void CSL_CPSW_getEmulationControlReg (CSL_Xge_cpswRegs *hCpswRegs,
2364  Uint32* pFree,
2365  Uint32* pSoft
2366 );
2367 
2368 
2406 void CSL_CPSW_setEmulationControlReg (CSL_Xge_cpswRegs *hCpswRegs,
2407  Uint32 free,
2408  Uint32 soft
2409 );
2410 
2411 
2447 void CSL_CPSW_getPortStatsEnableReg (CSL_Xge_cpswRegs *hCpswRegs,
2448  CSL_CPSW_PORTSTAT* pPortStatsCfg
2449 );
2450 
2451 
2491 void CSL_CPSW_setPortStatsEnableReg (CSL_Xge_cpswRegs *hCpswRegs,
2492  CSL_CPSW_PORTSTAT* pPortStatsCfg
2493 );
2494 
2495 
2532 Uint32 CSL_CPSW_isSoftIdle (CSL_Xge_cpswRegs *hCpswRegs);
2533 
2534 
2565 void CSL_CPSW_enableSoftIdle (CSL_Xge_cpswRegs *hCpswRegs);
2566 
2567 
2598 void CSL_CPSW_disableSoftIdle (CSL_Xge_cpswRegs *hCpswRegs);
2599 
2600 
2647 void CSL_CPSW_getPortControlReg (CSL_Xge_cpswRegs *hCpswRegs,
2648  Uint32 portNum,
2649  CSL_CPSW_PORT_CONTROL* pControlInfo
2650 );
2651 
2652 
2705 void CSL_CPSW_setPortControlReg (CSL_Xge_cpswRegs *hCpswRegs,
2706  Uint32 portNum,
2707  CSL_CPSW_PORT_CONTROL* pControlInfo
2708 );
2709 
2710 
2744 void CSL_CPSW_getCppiSourceIdReg (CSL_Xge_cpswRegs *hCpswRegs,
2745  Uint32* pTxSrcId
2746 );
2747 
2748 
2785 void CSL_CPSW_setCppiSourceIdReg (CSL_Xge_cpswRegs *hCpswRegs,
2786  Uint32* pTxSrcId
2787 );
2788 
2789 
2826 void CSL_CPSW_getPort0VlanReg (CSL_Xge_cpswRegs *hCpswRegs,
2827  Uint32* pPortVID,
2828  Uint32* pPortCFI,
2829  Uint32* pPortPRI
2830 );
2831 
2832 
2874 void CSL_CPSW_setPort0VlanReg (CSL_Xge_cpswRegs *hCpswRegs,
2875  Uint32 portVID,
2876  Uint32 portCFI,
2877  Uint32 portPRI
2878 );
2879 
2880 
2923 void CSL_CPSW_getPort0RxPriMapReg (CSL_Xge_cpswRegs *hCpswRegs,
2924  Uint32* pPortRxPriMap
2925 );
2926 
2927 
2972 void CSL_CPSW_setPort0RxPriMapReg (CSL_Xge_cpswRegs *hCpswRegs,
2973  Uint32* pPortRxPriMap
2974 );
2975 
2976 
3009 Uint32 CSL_CPSW_getPort0FlowIdOffset (CSL_Xge_cpswRegs *hCpswRegs);
3010 
3011 
3048 void CSL_CPSW_setPort0FlowIdOffset (CSL_Xge_cpswRegs *hCpswRegs,
3049  Uint32 flowIdOffset
3050 );
3051 
3052 
3084 Uint32 CSL_CPSW_getPort0RxMaxLen (CSL_Xge_cpswRegs *hCpswRegs);
3085 
3086 
3121 void CSL_CPSW_setPort0RxMaxLen (CSL_Xge_cpswRegs *hCpswRegs,
3122  Uint32 rxMaxLen
3123 );
3124 
3125 
3126 
3171 void CSL_CPSW_getPortBlockCountReg (CSL_Xge_cpswRegs *hCpswRegs,
3172  Uint32 portNum,
3173  Uint32* pRxBlkCnt_e,
3174  Uint32* pRxBlkCnt_p,
3175  Uint32* pTxBlkCnt);
3176 
3177 
3212 Uint32 CSL_CPSW_getPortRxMaxLen (CSL_Xge_cpswRegs *hCpswRegs,
3213  Uint32 portNum
3214 );
3215 
3216 
3255 void CSL_CPSW_setPortRxMaxLen (CSL_Xge_cpswRegs *hCpswRegs,
3256  Uint32 portNum,
3257  Uint32 rxMaxLen
3258 );
3259 
3260 
3316  CSL_Xge_cpswRegs *hCpswRegs,
3317  Uint32 portNum,
3318  Uint32* pPortTxPriMap
3319 );
3320 
3321 
3379  CSL_Xge_cpswRegs *hCpswRegs,
3380  Uint32 portNum,
3381  Uint32* pPortTxPriMap
3382 );
3383 
3384 
3385 
3440 void CSL_CPSW_getPortRxPriMapReg (CSL_Xge_cpswRegs *hCpswRegs,
3441  Uint32 portNum,
3442  Uint32* pPortRxPriMap
3443 );
3444 
3445 
3502 void CSL_CPSW_setPortRxPriMapReg (CSL_Xge_cpswRegs *hCpswRegs,
3503  Uint32 portNum,
3504  Uint32* pPortRxPriMap
3505 );
3506 
3507 
3563 void CSL_CPSW_getPortRxDscpMap (CSL_Xge_cpswRegs *hCpswRegs,
3564  Uint32 portNum,
3565  Uint32* pRxDscpPriMap
3566 );
3567 
3568 
3628 void CSL_CPSW_setPortRxDscpMap (CSL_Xge_cpswRegs *hCpswRegs,
3629  Uint32 portNum,
3630  Uint32* pRxDscpPriMap
3631 );
3632 
3633 
3670 void CSL_CPSW_getEEEGlobConfig (CSL_Xge_cpswRegs *hCpswRegs,
3671  CSL_CPSW_EEE_GLOB_CONFIG* pGlobConfig
3672 );
3673 
3674 
3715 void CSL_CPSW_setEEEGlobConfig (CSL_Xge_cpswRegs *hCpswRegs,
3716  CSL_CPSW_EEE_GLOB_CONFIG* pGlobConfig
3717 );
3718 
3719 
3763 void CSL_CPSW_getEEEPortConfig (CSL_Xge_cpswRegs *hCpswRegs,
3764  Uint32 portNum,
3765  CSL_CPSW_EEE_PORT_CONFIG* pPortConfig
3766 );
3767 
3768 
3816 void CSL_CPSW_setEEEPortConfig (CSL_Xge_cpswRegs *hCpswRegs,
3817  Uint32 portNum,
3818  CSL_CPSW_EEE_PORT_CONFIG* pPortConfig
3819 );
3820 
3821 
3876 void CSL_CPSW_EEEPortStatus (CSL_Xge_cpswRegs *hCpswRegs,
3877  Uint32 portNum,
3878  CSL_CPSW_EEE_PORT_STATUS* pPortStatus
3879 );
3880 
3881 
3882 
3928 void CSL_CPSW_getPortVlanReg (CSL_Xge_cpswRegs *hCpswRegs,
3929  Uint32 portNum,
3930  Uint32* pPortVID,
3931  Uint32* pPortCFI,
3932  Uint32* pPortPRI
3933 );
3934 
3935 
3936 
3986 void CSL_CPSW_setPortVlanReg (CSL_Xge_cpswRegs *hCpswRegs,
3987  Uint32 portNum,
3988  Uint32 portVID,
3989  Uint32 portCFI,
3990  Uint32 portPRI
3991 );
3992 
3993 
4042 void CSL_CPSW_getPortMaxBlksReg (CSL_Xge_cpswRegs *hCpswRegs,
4043  Uint32 portNum,
4044  Uint32* pRxMaxBlks,
4045  Uint32* pTxMaxBlks
4046 );
4047 
4048 
4097 void CSL_CPSW_setPortMaxBlksReg (CSL_Xge_cpswRegs *hCpswRegs,
4098  Uint32 portNum,
4099  Uint32 rxMaxBlks,
4100  Uint32 txMaxBlks
4101 );
4102 
4103 
4147 void CSL_CPSW_getPortMACAddress (CSL_Xge_cpswRegs *hCpswRegs,
4148  Uint32 portNum,
4149  Uint8* pMacAddress
4150 );
4151 
4152 
4201 void CSL_CPSW_setPortMACAddress (CSL_Xge_cpswRegs *hCpswRegs,
4202  Uint32 portNum,
4203  Uint8* pMacAddress
4204 );
4205 
4206 
4207 
4258 void CSL_CPSW_getPortTimeSyncCntlReg (CSL_Xge_cpswRegs *hCpswRegs,
4259  Uint32 portNum,
4260  CSL_CPSW_TSCNTL* pTimeSyncCntlCfg
4261 );
4262 
4263 
4319 void CSL_CPSW_setPortTimeSyncCntlReg (CSL_Xge_cpswRegs *hCpswRegs,
4320  Uint32 portNum,
4321  CSL_CPSW_TSCNTL* pTimeSyncCntlCfg
4322 );
4323 
4324 
4363 void CSL_CPSW_getPortTimeSyncSeqIdReg (CSL_Xge_cpswRegs *hCpswRegs,
4364  Uint32 portNum,
4365  Uint32* pTsLtype,
4366  Uint32* pTsSeqIdOffset
4367 );
4368 
4369 
4370 void CSL_CPSW_getVlanLTypeReg (CSL_Xge_cpswRegs *hCpswRegs,
4371  Uint32* pVlanLtypeInner,
4372  Uint32* pVlanLtypeOuter
4373 );
4374 
4375 
4412 void CSL_CPSW_setVlanLTypeReg (CSL_Xge_cpswRegs *hCpswRegs,
4413  Uint32 pVlanLtypeInner,
4414  Uint32 pVlanLtypeOuter
4415 );
4416 
4417 
4458 void CSL_CPSW_setPortTimeSyncSeqIdReg (CSL_Xge_cpswRegs *hCpswRegs,
4459  Uint32 portNum,
4460  Uint32 tsLtype,
4461  Uint32 tsSeqIdOffset
4462 );
4463 
4464 
4502 void CSL_CPSW_getPortTimeSyncVlanLTypeReg (CSL_Xge_cpswRegs *hCpswRegs,
4503  Uint32 portNum,
4504  Uint32* pTsVlanLtype1,
4505  Uint32* pTsVlanLtype2
4506 );
4507 
4508 
4548 void CSL_CPSW_setPortTimeSyncVlanLTypeReg (CSL_Xge_cpswRegs *hCpswRegs,
4549  Uint32 portNum,
4550  Uint32 tsVlanLtype1,
4551  Uint32 tsVlanLtype2
4552 );
4553 
4554 
4626 void CSL_CPSW_getPortTimeSyncConfig (CSL_Xge_cpswRegs *hCpswRegs,
4627  Uint32 portNum,
4628  CSL_CPSW_TSCONFIG* pTimeSyncConfig
4629 );
4630 
4631 
4707 void CSL_CPSW_setPortTimeSyncConfig (CSL_Xge_cpswRegs *hCpswRegs,
4708  Uint32 portNum,
4709  CSL_CPSW_TSCONFIG* pTimeSyncConfig
4710 );
4711 
4742 Uint8 CSL_CPSW_getEstTsDomain(CSL_Xge_cpswRegs *hCpswRegs);
4743 
4777 void CSL_CPSW_setEstTsDomain(CSL_Xge_cpswRegs *hCpswRegs,
4778  Uint8 domain);
4779 
4780 
4825 void CSL_CPSW_getPortEstConfig(CSL_Xge_cpswRegs *hCpswRegs,
4826  Uint32 portNum,
4827  CSL_CPSW_EST_CONFIG *pEstConfig);
4828 
4877 void CSL_CPSW_setPortEstConfig(CSL_Xge_cpswRegs *hCpswRegs,
4878  Uint32 portNum,
4879  CSL_CPSW_EST_CONFIG *pEstConfig);
4880 
4924 void CSL_CPSW_writeEstFetchCmd(CSL_Xge_cpswRegs *hCpswRegs,
4925  Uint32 portNum,
4926  Uint32 index,
4927  Uint32 fetchCount,
4928  Uint8 fetchAllow);
4929 
4974 void CSL_CPSW_readEstFetchCmd(CSL_Xge_cpswRegs *hCpswRegs,
4975  Uint32 portNum,
4976  Uint32 index,
4977  Uint32 *fetchCount,
4978  Uint8 *fetchAllow);
4979 
4980 
4981 /********************************************************************************
4982 ************************* Statistics (STATS) Submodule *************************
4983 ********************************************************************************/
4984 
5129 void CSL_CPSW_getStats (CSL_Xge_cpswRegs *hCpswRegs,
5130  CSL_CPSW_STATS* pCpswStats
5131 );
5132 
5133 
5134 void CSL_CPSW_getPortStats (CSL_Xge_cpswRegs *hCpswRegs,
5135  Uint32 portNum,
5136  CSL_CPSW_STATS* pCpswStats
5137 );
5138 
5139 
5248 void CSL_CPSW_getRawStats (CSL_Xge_cpswRegs *hCpswRegs,
5249  CSL_CPSW_STATS* pCpswStats
5250 );
5251 
5252 
5253 void CSL_CPSW_getPortRawStats (CSL_Xge_cpswRegs *hCpswRegs,
5254  Uint32 portNum,
5255  CSL_CPSW_STATS* pCpswStats
5256 );
5257 
5258 
5259 
5260 /********************************************************************************
5261 ******************** Address Lookup Engine (ALE) Submodule *********************
5262 ********************************************************************************/
5263 
5301 void CSL_CPSW_getAleVersionInfo (CSL_AleRegs *hCpswAleRegs,
5302  CSL_CPSW_ALE_VERSION* pVersionInfo
5303 );
5304 
5305 
5345 Uint32 CSL_CPSW_isAleRateLimitEnabled (CSL_AleRegs *hCpswAleRegs);
5346 
5347 
5378 void CSL_CPSW_enableAleRateLimit (CSL_AleRegs *hCpswAleRegs);
5379 
5380 
5411 void CSL_CPSW_disableAleRateLimit (CSL_AleRegs *hCpswAleRegs);
5412 
5413 
5449 Uint32 CSL_CPSW_isAleMacAuthModeEnabled (CSL_AleRegs *hCpswAleRegs);
5450 
5451 
5482 void CSL_CPSW_enableAleMacAuthMode (CSL_AleRegs *hCpswAleRegs);
5483 
5484 
5515 void CSL_CPSW_disableAleMacAuthMode (CSL_AleRegs *hCpswAleRegs);
5516 
5517 
5553 Uint32 CSL_CPSW_isAleVlanAwareEnabled (CSL_AleRegs *hCpswAleRegs);
5554 
5555 
5586 void CSL_CPSW_enableAleVlanAware (CSL_AleRegs *hCpswAleRegs);
5587 
5588 
5619 void CSL_CPSW_disableAleVlanAware (CSL_AleRegs *hCpswAleRegs);
5620 
5621 
5660 Uint32 CSL_CPSW_isAleTxRateLimitEnabled (CSL_AleRegs *hCpswAleRegs);
5661 
5662 
5693 void CSL_CPSW_enableAleTxRateLimit (CSL_AleRegs *hCpswAleRegs);
5694 
5695 
5726 void CSL_CPSW_disableAleTxRateLimit (CSL_AleRegs *hCpswAleRegs);
5727 
5728 
5764 Uint32 CSL_CPSW_isAleBypassEnabled (CSL_AleRegs *hCpswAleRegs);
5765 
5766 
5796 void CSL_CPSW_enableAleBypass (CSL_AleRegs *hCpswAleRegs);
5797 
5798 
5828 void CSL_CPSW_disableAleBypass (CSL_AleRegs *hCpswAleRegs);
5829 
5830 
5866 Uint32 CSL_CPSW_isAleOUIDenyModeEnabled (CSL_AleRegs *hCpswAleRegs);
5867 
5868 
5898 void CSL_CPSW_enableAleOUIDenyMode (CSL_AleRegs *hCpswAleRegs);
5899 
5900 
5930 void CSL_CPSW_disableAleOUIDenyMode (CSL_AleRegs *hCpswAleRegs);
5931 
5932 
5970 Uint32 CSL_CPSW_isAleVID0ModeEnabled (CSL_AleRegs *hCpswAleRegs);
5971 
5972 
6002 void CSL_CPSW_enableAleVID0Mode (CSL_AleRegs *hCpswAleRegs);
6003 
6004 
6034 void CSL_CPSW_disableAleVID0Mode (CSL_AleRegs *hCpswAleRegs);
6035 
6036 
6074 Uint32 CSL_CPSW_isAleLearnNoVIDEnabled (CSL_AleRegs *hCpswAleRegs);
6075 
6076 
6107 void CSL_CPSW_enableAleLearnNoVID (CSL_AleRegs *hCpswAleRegs);
6108 
6109 
6139 void CSL_CPSW_disableAleLearnNoVID (CSL_AleRegs *hCpswAleRegs);
6140 
6141 
6178 Uint32 CSL_CPSW_isAleUUNIToHostEnabled (CSL_AleRegs *hCpswAleRegs);
6179 
6180 
6211 void CSL_CPSW_enableAleUUNIToHost (CSL_AleRegs *hCpswAleRegs);
6212 
6213 
6244 void CSL_CPSW_disableAleUUNIToHost (CSL_AleRegs *hCpswAleRegs);
6245 
6246 
6287 Uint32 CSL_CPSW_isAleUVLANNoLearnEnabled (CSL_AleRegs *hCpswAleRegs);
6288 
6289 
6320 void CSL_CPSW_enableAleUVLANNoLearn (CSL_AleRegs *hCpswAleRegs);
6321 
6322 
6353 void CSL_CPSW_disableAleUVLANNoLearn (CSL_AleRegs *hCpswAleRegs);
6354 
6355 
6387 Uint32 CSL_CPSW_getAleUpdateBW (CSL_AleRegs *hCpswAleRegs);
6388 
6389 
6421 (CSL_AleRegs *hCpswAleRegs,
6422  Uint32 aleUpdBW
6423 );
6424 
6425 
6426 
6458 void CSL_CPSW_startAleAgeOutNow (CSL_AleRegs *hCpswAleRegs);
6459 
6460 
6492 Uint32 CSL_CPSW_isAleAgeOutDone (CSL_AleRegs *hCpswAleRegs);
6493 
6494 
6525 void CSL_CPSW_clearAleTable (CSL_AleRegs *hCpswAleRegs);
6526 
6527 
6563 Uint32 CSL_CPSW_isAleEnabled (CSL_AleRegs *hCpswAleRegs);
6564 
6565 
6595 void CSL_CPSW_enableAle (CSL_AleRegs *hCpswAleRegs);
6596 
6597 
6627 void CSL_CPSW_disableAle (CSL_AleRegs *hCpswAleRegs);
6628 
6629 
6660 Uint32 CSL_CPSW_getAleControlReg (CSL_AleRegs *hCpswAleRegs);
6661 
6662 
6699 (CSL_AleRegs *hCpswAleRegs,
6700  Uint32 aleCtrlVal
6701 );
6702 
6703 
6740 (CSL_AleRegs *hCpswAleRegs,
6741  Uint32* pNumPolicers,
6742  Uint32* pNumEntries
6743 );
6744 
6745 
6746 void CSL_CPSW_getAleStatusNumAleEntries(CSL_AleRegs *hCpswAleRegs,Uint32* pNumEntries);
6747 
6748 
6749 CSL_CPSW_ALE_RAMDEPTH_E CSL_CPSW_getAleStatusRamDepth(CSL_AleRegs *hCpswAleRegs);
6750 
6751 
6752 
6753 void CSL_CPSW_getAleStatusVlanMask(CSL_AleRegs *hCpswAleRegs,
6754  bool *vlanMsk08,
6755  bool *vlanMsk12);
6756 
6757 
6788 Uint32 CSL_CPSW_getAlePrescaleReg (CSL_AleRegs *hCpswAleRegs);
6789 
6790 
6826 (CSL_AleRegs *hCpswAleRegs,
6827  Uint32 alePrescaleVal
6828 );
6829 
6830 
6873 (CSL_AleRegs *hCpswAleRegs,
6874  Uint32* pAgingPrescale,
6875  Uint32* pAgingPeriod
6876 );
6877 
6878 
6924 (CSL_AleRegs *hCpswAleRegs,
6925  Uint32 agingPrescale,
6926  Uint32 agingPeriod
6927 );
6928 
6929 
6972 (CSL_AleRegs *hCpswAleRegs,
6973  Uint32* pUnVlanMemList,
6974  Uint32* pUnMcastFloodMask,
6975  Uint32* pUnRegMcastFloodMask,
6976  Uint32* pUnForceUntagEgress
6977 );
6978 
6979 
7027 (CSL_AleRegs *hCpswAleRegs,
7028  Uint32 unVlanMemList,
7029  Uint32 unMcastFloodMask,
7030  Uint32 unRegMcastFloodMask,
7031  Uint32 unForceUntagEgress
7032 );
7033 
7034 
7075 (CSL_AleRegs *hCpswAleRegs,
7076  Uint32* vlanMaskMux
7077 );
7078 
7079 
7123 (CSL_AleRegs *hCpswAleRegs,
7124  Uint32* vlanMaskMux
7125 );
7126 
7127 
7168 (
7169  CSL_AleRegs *hCpswAleRegs,
7170  Uint32 maskMuxIndex,
7171  Uint32* vlanMaskMuxPtr
7172 );
7173 
7174 
7219 (
7220  CSL_AleRegs *hCpswAleRegs,
7221  Uint32 maskMuxIndex,
7222  Uint32 vlanMaskMuxVal
7223 );
7224 
7225 
7277 (CSL_AleRegs *hCpswAleRegs,
7278  Uint32 index,
7279  Uint32* pAleInfoWd0,
7280  Uint32* pAleInfoWd1,
7281  Uint32* pAleInfoWd2
7282 );
7283 
7284 
7338 (CSL_AleRegs *hCpswAleRegs,
7339  Uint32 index,
7340  Uint32 aleInfoWd0,
7341  Uint32 aleInfoWd1,
7342  Uint32 aleInfoWd2
7343 );
7344 
7345 
7389 CSL_CPSW_ALE_ENTRYTYPE CSL_CPSW_getALEEntryType(CSL_AleRegs *hCpswAleRegs,
7390  Uint32 index,
7391  CSL_CPSW_ALETABLE_TYPE aleType);
7392 
7449 CSL_CPSW_ALE_ADDRTYPE CSL_CPSW_getALEAddressType(CSL_AleRegs *hCpswAleRegs,
7450  Uint32 index,
7451  CSL_CPSW_ALETABLE_TYPE aleType);
7452 
7513  Uint32 index,
7514  CSL_CPSW_ALETABLE_TYPE aleType);
7515 
7571 void CSL_CPSW_getAleMcastAddrEntry(CSL_AleRegs *hCpswAleRegs,
7572  Uint32 index,
7573  CSL_CPSW_ALE_MCASTADDR_ENTRY* pMcastAddrCfg,
7574  CSL_CPSW_ALETABLE_TYPE aleType);
7575 
7576 
7629 void CSL_CPSW_setAleMcastAddrEntry(CSL_AleRegs *hCpswAleRegs,
7630  Uint32 index,
7631  CSL_CPSW_ALE_MCASTADDR_ENTRY* pMcastAddrCfg,
7632  CSL_CPSW_ALETABLE_TYPE aleType);
7633 
7689 void CSL_CPSW_getAleVlanMcastAddrEntry(CSL_AleRegs *hCpswAleRegs,
7690  Uint32 index,
7691  CSL_CPSW_ALE_VLANMCASTADDR_ENTRY* pVlanMcastAddrCfg,
7692  CSL_CPSW_ALETABLE_TYPE aleType);
7693 
7746 void CSL_CPSW_setAleVlanMcastAddrEntry(CSL_AleRegs *hCpswAleRegs,
7747  Uint32 index,
7748  CSL_CPSW_ALE_VLANMCASTADDR_ENTRY* pVlanMcastAddrCfg,
7749  CSL_CPSW_ALETABLE_TYPE aleType);
7750 
7806 void CSL_CPSW_getAleUnicastAddrEntry(CSL_AleRegs *hCpswAleRegs,
7807  Uint32 index,
7808  CSL_CPSW_ALE_UNICASTADDR_ENTRY* pUcastAddrCfg,
7809  CSL_CPSW_ALETABLE_TYPE aleType);
7810 
7863 void CSL_CPSW_setAleUnicastAddrEntry(CSL_AleRegs *hCpswAleRegs,
7864  Uint32 index,
7865  CSL_CPSW_ALE_UNICASTADDR_ENTRY* pUcastAddrCfg,
7866  CSL_CPSW_ALETABLE_TYPE aleType);
7867 
7923 void CSL_CPSW_getAleOUIAddrEntry(CSL_AleRegs *hCpswAleRegs,
7924  Uint32 index,
7925  CSL_CPSW_ALE_OUIADDR_ENTRY* pOUIAddrCfg,
7926  CSL_CPSW_ALETABLE_TYPE aleType);
7927 
7980 void CSL_CPSW_setAleOUIAddrEntry(CSL_AleRegs *hCpswAleRegs,
7981  Uint32 index,
7982  CSL_CPSW_ALE_OUIADDR_ENTRY* pOUIAddrCfg,
7983  CSL_CPSW_ALETABLE_TYPE aleType);
7984 
8040 void CSL_CPSW_getAleVlanUnicastAddrEntry(CSL_AleRegs *hCpswAleRegs,
8041  Uint32 index,
8042  CSL_CPSW_ALE_VLANUNICASTADDR_ENTRY* pVlanUcastAddrCfg,
8043  CSL_CPSW_ALETABLE_TYPE aleType);
8044 
8097 void CSL_CPSW_setAleVlanUnicastAddrEntry(CSL_AleRegs *hCpswAleRegs,
8098  Uint32 index,
8099  CSL_CPSW_ALE_VLANUNICASTADDR_ENTRY* pVlanUcastAddrCfg,
8100  CSL_CPSW_ALETABLE_TYPE aleType);
8101 
8121 void CSL_CPSW_getAleVlanEntry(CSL_AleRegs *hCpswAleRegs,
8122  Uint32 index,
8123  CSL_CPSW_ALE_VLAN_ENTRY* pVlanCfg,
8124  CSL_CPSW_ALETABLE_TYPE aleType);
8125 
8126 
8178 void CSL_CPSW_setAleVlanEntry(CSL_AleRegs *hCpswAleRegs,
8179  Uint32 index,
8180  CSL_CPSW_ALE_VLAN_ENTRY* pVlanCfg,
8181  CSL_CPSW_ALETABLE_TYPE aleType);
8182 
8235 void CSL_CPSW_getAleOutVlanEntry(CSL_AleRegs *hCpswAleRegs,
8236  Uint32 index,
8237  CSL_CPSW_ALE_OUTER_VLAN_ENTRY * pOutVlanCfg,
8238  CSL_CPSW_ALETABLE_TYPE aleType);
8239 
8292 void CSL_CPSW_setAleOutVlanEntry(CSL_AleRegs *hCpswAleRegs,
8293  Uint32 index,
8294  CSL_CPSW_ALE_OUTER_VLAN_ENTRY* pOutVlanCfg,
8295  CSL_CPSW_ALETABLE_TYPE aleType);
8296 
8349 void CSL_CPSW_getAleEthertypeEntry(CSL_AleRegs *hCpswAleRegs,
8350  Uint32 index,
8351  CSL_CPSW_ALE_ETHERTYPE_ENTRY* pEthertypeCfg,
8352  CSL_CPSW_ALETABLE_TYPE aleType);
8353 
8405 void CSL_CPSW_setAleEthertypeEntry(CSL_AleRegs *hCpswAleRegs,
8406  Uint32 index,
8407  CSL_CPSW_ALE_ETHERTYPE_ENTRY* pEthertypeCfg,
8408  CSL_CPSW_ALETABLE_TYPE aleType);
8409 
8462 void CSL_CPSW_getAleIPv4Entry(CSL_AleRegs *hCpswAleRegs,
8463  Uint32 index,
8464  CSL_CPSW_ALE_IPv4_ENTRY* pIPv4Cfg,
8465  CSL_CPSW_ALETABLE_TYPE aleType);
8466 
8467 
8519 void CSL_CPSW_setAleIPv4Entry(CSL_AleRegs *hCpswAleRegs,
8520  Uint32 index,
8521  CSL_CPSW_ALE_IPv4_ENTRY* pIPv4Cfg,
8522  CSL_CPSW_ALETABLE_TYPE aleType);
8523 
8541 Uint32 CSL_CPSW_getAleIPv6HighEntryOffset(CSL_AleRegs *hCpswAleRegs);
8542 
8560 Uint32 CSL_CPSW_getAleIPv6HighEntryIndex(CSL_AleRegs *hCpswAleRegs,Uint32 entryIndex);
8561 
8579 Uint32 CSL_CPSW_getAleIPv6LowEntryIndex(CSL_AleRegs *hCpswAleRegs,Uint32 entryIndex);
8580 
8633 void CSL_CPSW_getAleIPv6Entry(CSL_AleRegs *hCpswAleRegs,
8634  Uint32 index,
8635  CSL_CPSW_ALE_IPv6_ENTRY* pIPv6Cfg,
8636  CSL_CPSW_ALETABLE_TYPE aleType);
8637 
8690 void CSL_CPSW_setAleIPv6Entry(CSL_AleRegs *hCpswAleRegs,
8691  Uint32 index,
8692  CSL_CPSW_ALE_IPv6_ENTRY* pIPv6Cfg,
8693  CSL_CPSW_ALETABLE_TYPE aleType);
8694 
8711 void CSL_CPSW_mapTableWord2MacAddr(uint32_t word0,
8712  uint32_t word1,
8713  uint8_t * macAddr,
8714  CSL_CPSW_ALETABLE_TYPE aleType);
8715 
8732 void CSL_CPSW_mapMacAddr2TableWord(uint32_t *word0,
8733  uint32_t *word1,
8734  uint8_t * macAddr,
8735  CSL_CPSW_ALETABLE_TYPE aleType);
8736 
8753 Uint32 CSL_CPSW_extractVid(Uint32 word1,
8754  CSL_CPSW_ALETABLE_TYPE aleType);
8755 
8772 
8773 
8790 
8791 
8808 
8848 (CSL_AleRegs *hCpswAleRegs,
8849  Uint32 index
8850 );
8851 
8852 
8903 (CSL_AleRegs *hCpswAleRegs,
8904  Uint32 portNo,
8905  CSL_CPSW_ALE_PORTCONTROL* pPortControlInfo
8906 );
8907 
8908 
8960 (CSL_AleRegs *hCpswAleRegs,
8961  Uint32 portNo,
8962  CSL_CPSW_ALE_PORTCONTROL* pPortControlInfo
8963 );
8964 
8965 
8967 (
8968  CSL_AleRegs *hCpswAleRegs,
8969  Uint32 portNo,
8970  bool trunkEnable,
8971  Uint32 trunkNum
8972 );
8973 
8980 (
8981  CSL_AleRegs *hCpswAleRegs,
8982  Uint32 portNo,
8983  CSL_CPSW_ALE_PORTSTATE *pPortState
8984 );
8985 
8986 
8993 (
8994  CSL_AleRegs *hCpswAleRegs,
8995  Uint32 portNo,
8996  CSL_CPSW_ALE_PORTSTATE portState
8997 );
8998 
8999 
9005 void CSL_CPSW_setAlePortMirrorSouce(CSL_AleRegs *hCpswAleRegs,
9006  Uint32 portNo,
9007  bool enableMirror);
9008 
9039 void CSL_CPSW_setMultihost(CSL_AleRegs *hCpswAleRegs,
9040  Uint32 enable);
9041 
9072 Uint32 CSL_CPSW_getMultihost(CSL_AleRegs *hCpswAleRegs);
9073 
9079 void CSL_CPSW_setAleCtrl2MirrorMatchIndex(CSL_AleRegs *hCpswAleRegs,
9080  Uint32 mirrorMatchIndex);
9081 
9082 
9088 void CSL_CPSW_setAleCtrl2TrunkParams(CSL_AleRegs *hCpswAleRegs,
9090 
9091 
9097 void CSL_CPSW_setAleCtrl2IPPktFilterConfig(CSL_AleRegs *hCpswAleRegs,
9098  CSL_CPSW_ALE_CTRL2_IPPKTFLT_CONFIG *ipPktFltCfg);
9099 
9100 
9106 void CSL_CPSW_setAleCtrl2MalformedFrameConfig(CSL_AleRegs *hCpswAleRegs,
9108 
9109 
9115 void CSL_CPSW_setAleIPNxtHdrWhitelist(CSL_AleRegs *hCpswAleRegs,
9116  Uint8 ipNxtHdr0,
9117  Uint8 ipNxtHdr1,
9118  Uint8 ipNxtHdr2,
9119  Uint8 ipNxtHdr3);
9120 
9121 
9159 void CSL_CPSW_getAlePolicerGlobConfig (CSL_AleRegs *hCpswAleRegs,
9161 );
9162 
9163 
9204 void CSL_CPSW_setAlePolicerGlobConfig (CSL_AleRegs *hCpswAleRegs,
9206 );
9207 
9208 
9275 (CSL_AleRegs *hCpswAleRegs,
9276  Uint32 index,
9278 );
9279 
9280 
9346 (CSL_AleRegs *hCpswAleRegs,
9347  Uint32 index,
9349 );
9350 
9351 
9352 void CSL_CPSW_disableAlePolicerThread(CSL_AleRegs *hCpswAleRegs,
9353  Uint32 index);
9354 
9355 
9356 
9357 
9394 (
9395  CSL_AleRegs *hCpswAleRegs,
9396  Uint32 aleUnknwnVlanMemberVal
9397 );
9398 
9399 
9400 
9437 (
9438  CSL_AleRegs *hCpswAleRegs,
9439  Uint32 aleUnknwnVlanUntagVal
9440 );
9441 
9458 void CSL_CPSW_setCppiP0Control(CSL_Xge_cpswRegs *hCpswRegs,
9459  CSL_CPSW_CPPI_P0_CONTROL *pCppiP0ControlCfg);
9461 (
9462  CSL_AleRegs *hCpswAleRegs,
9463  Uint32 aleUnknwnVlanUnregMcastVal
9464 );
9465 
9466 
9468 (
9469  CSL_AleRegs *hCpswAleRegs,
9470  Uint32 aleUnknwnVlanRegMcastVal
9471 );
9472 
9473 
9474 void CSL_CPSW_setAlePolicerControlReg(CSL_AleRegs *hCpswAleRegs,CSL_CPSW_ALE_POLICER_CONTROL *policerCntrlCfg);
9475 
9476 
9477 void CSL_CPSW_getAlePolicerControlReg(CSL_AleRegs *hCpswAleRegs,CSL_CPSW_ALE_POLICER_CONTROL *policerCntrlCfg);
9478 
9479 
9480 void CSL_CPSW_setAlePolicerTestControlReg(CSL_AleRegs *hCpswAleRegs,CSL_CPSW_ALE_POLICER_TEST_CONTROL *policerTestCntrlCfg);
9481 
9482 
9483 void CSL_CPSW_getAlePolicerHstatReg(CSL_AleRegs *hCpswAleRegs,CSL_CPSW_ALE_POLICER_HSTAT *policerHStatCfg);
9484 
9485 
9486 
9492 void CSL_CPSW_setAleOAMLpbkControl(CSL_AleRegs *hCpswAleRegs,
9493  Uint32 lpbkEnablePortMask);
9494 
9495 
9496 void CSL_CPSW_getAleStatusNumPolicers(CSL_AleRegs *hCpswAleRegs,Uint32* pNumPolicers);
9497 
9498 
9499 void CSL_CPSW_setCppiPriCirEir(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri, Uint32 cir, Uint32 eir);
9500 
9501 
9502 void CSL_CPSW_getCppiPriCirEir(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri, Uint32 *cir, Uint32 *eir);
9503 
9504 
9505 void CSL_CPSW_setPriCirEir(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint32 pri, Uint32 cir, Uint32 eir);
9506 
9507 
9508 void CSL_CPSW_getPriCirEir(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint32 pri, Uint32 *cir, Uint32 *eir);
9509 
9510 
9511 void CSL_CPSW_setCppiRxPriFlowControl(CSL_Xge_cpswRegs *hCpswRegs,Uint8 pri);
9512 
9513 
9514 Uint8 CSL_CPSW_getCppiRxPriFlowControl(CSL_Xge_cpswRegs *hCpswRegs);
9515 
9516 
9517 void CSL_CPSW_setCppiTxDstThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri, Uint32 setVal);
9518 
9519 
9520 Uint32 CSL_CPSW_getCppiTxDstThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri);
9521 
9522 
9523 void CSL_CPSW_setCppiTxDstThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri, Uint32 setVal);
9524 
9525 
9526 Uint32 CSL_CPSW_getCppiDstTxThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri);
9527 
9528 
9529 void CSL_CPSW_setCppiTxGlobalBufThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri, Uint32 setVal);
9530 
9531 
9532 Uint32 CSL_CPSW_getCppiTxGlobalBufThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri);
9533 
9534 
9535 void CSL_CPSW_setCppiTxGlobalBufThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri, Uint32 setVal);
9536 
9537 
9538 Uint32 CSL_CPSW_getCppiTxGlobalBufThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri);
9539 
9540 
9541 void CSL_CPSW_setcppiTxBlksPri(CSL_Xge_cpswRegs *hCpswRegs,Uint8 pri, Uint32 blks);
9542 
9543 
9544 Uint32 CSL_CPSW_getCppiTxBlksPri(CSL_Xge_cpswRegs *hCpswRegs,Uint8 pri);
9545 
9546 
9547 void CSL_CPSW_setTxBlksPri(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint8 pri, Uint32 blks);
9548 
9549 
9550 Uint32 CSL_CPSW_getTxBlksPri(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint8 pri);
9551 
9552 
9553 void CSL_CPSW_setTxPriFlowControl(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint8 pri);
9554 
9555 
9556 Uint8 CSL_CPSW_getTxPriFlowControl(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo);
9557 
9558 
9559 void CSL_CPSW_setRxPriFlowControl(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint8 pri);
9560 
9561 
9562 Uint8 CSL_CPSW_getRxPriFlowControl(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo);
9563 
9564 
9565 Uint32 CSL_CPSW_getTxHostBlksRem(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo);
9566 
9567 
9568 void CSL_CPSW_setTxHostBlksRem(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint32 txBlksRem);
9569 
9570 
9571 void CSL_CPSW_setTxDstThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint32 pri, Uint32 setVal);
9572 
9573 
9574 Uint32 CSL_CPSW_getTxDstThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint32 pri);
9575 
9576 
9577 void CSL_CPSW_setTxDstThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint32 pri, Uint32 setVal);
9578 
9579 
9580 Uint32 CSL_CPSW_getTxDstThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint32 pri);
9581 
9582 
9583 void CSL_CPSW_setTxGlobalBufThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint32 pri, Uint32 setVal);
9584 
9585 
9586 Uint32 CSL_CPSW_getTxGlobalBufThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint32 pri);
9587 
9588 
9589 void CSL_CPSW_setTxGlobalBufThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint32 pri, Uint32 setVal);
9590 
9591 
9592 Uint32 CSL_CPSW_getTxGlobalBufThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint32 pri);
9593 
9594 
9595 void CSL_CPSW_setTxDstBasedOutFlowAddValX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint32 pri, Uint32 addVal);
9596 
9597 
9598 Uint32 CSL_CPSW_getTxDstBasedOutFlowAddValX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 portNo, Uint32 pri);
9599 
9600 
9601 void CSL_CPSW_setTxGlobalOutFlowThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri, Uint32 setVal);
9602 
9603 
9604 Uint32 CSL_CPSW_getTxGlobalOutFlowThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri);
9605 
9606 
9607 void CSL_CPSW_setTxGlobalOutFlowThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri, Uint32 setVal);
9608 
9609 
9610 Uint32 CSL_CPSW_getTxGlobalOutFlowThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri);
9611 
9612 
9613 
9614 void CSL_CPSW_setCpswTxGlobalBufThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri, Uint32 setVal);
9615 
9616 
9617 Uint32 CSL_CPSW_getCpswTxGlobalBufThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri);
9618 
9619 
9620 void CSL_CPSW_setCpswTxGlobalBufThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri, Uint32 setVal);
9621 
9622 
9623 Uint32 CSL_CPSW_getCpswTxGlobalBufThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs,Uint32 pri);
9624 
9639 Uint32 CSL_CPSW_isP0TxCastagnoliCRCEnabled (CSL_Xge_cpswRegs *hCpswRegs);
9640 
9653 void CSL_CPSW_enableP0TxCastagnoliCRC(CSL_Xge_cpswRegs *hCpswRegs);
9654 
9667 void CSL_CPSW_disableP0TxCastagnoliCRC(CSL_Xge_cpswRegs *hCpswRegs);
9668 
9686 void CSL_CPSW_getPTypeReg (CSL_Xge_cpswRegs *hCpswRegs,
9687  CSL_CPSW_PTYPE* pPtypeCfg);
9688 
9706 void CSL_CPSW_setPTypeReg (CSL_Xge_cpswRegs *hCpswRegs,
9707  CSL_CPSW_PTYPE* pPtypeCfg);
9708 
9726 void CSL_CPSW_getThruRateReg (CSL_Xge_cpswRegs *hCpswRegs,
9727  CSL_CPSW_THRURATE * pThruRateCfg);
9728 
9756 Uint32 CSL_CPSW_getGapThreshold(CSL_Xge_cpswRegs *hCpswRegs);
9757 
9788 void CSL_CPSW_setGapThreshold(CSL_Xge_cpswRegs *hCpswRegs,Uint32 gapThreshold);
9789 
9814 Uint32 CSL_CPSW_getTxStartWords(CSL_Xge_cpswRegs *hCpswRegs);
9815 
9832 Uint32 CSL_CPSW_getTxMaxLenPerPriority(CSL_Xge_cpswRegs *hCpswRegs,
9833  Uint32 priority);
9834 
9852 void CSL_CPSW_setTxMaxLenPerPriority(CSL_Xge_cpswRegs *hCpswRegs,
9853  Uint32 priority,
9854  Uint32 maxLen);
9855 
9872 void CSL_CPSW_getCppiP0Control(CSL_Xge_cpswRegs *hCpswRegs,
9873  CSL_CPSW_CPPI_P0_CONTROL *pCppiP0ControlCfg);
9890 void CSL_CPSW_setCppiP0Control(CSL_Xge_cpswRegs *hCpswRegs,
9891  CSL_CPSW_CPPI_P0_CONTROL *pCppiP0ControlCfg);
9892 
9911 void CSL_CPSW_setCppiRxPType(CSL_Xge_cpswRegs *hCpswRegs,Uint32 p0RxPtype);
9912 
9931 Uint32 CSL_CPSW_getCppiRxPType(CSL_Xge_cpswRegs *hCpswRegs);
9932 
9951 Uint32 CSL_CPSW_getCppiRxPacketsPriority(CSL_Xge_cpswRegs *hCpswRegs,
9952  Uint32 priority);
9953 
9973 void CSL_CPSW_setCppiRxPacketsPriority(CSL_Xge_cpswRegs *hCpswRegs,
9974  Uint32 priority,
9975  Uint32 rxPackets);
9976 
9994 void CSL_CPSW_getCppiRxGapReg(CSL_Xge_cpswRegs *hCpswRegs,
9995  CSL_CPSW_CPPI_P0_RXGAP *pCppiRxGap);
9996 
10014 void CSL_CPSW_setCppiRxGapReg(CSL_Xge_cpswRegs *hCpswRegs,
10015  CSL_CPSW_CPPI_P0_RXGAP *pCppiRxGap);
10016 
10034 void CSL_CPSW_getP0FifoStatus(CSL_Xge_cpswRegs *hCpswRegs,
10035  CSL_CPSW_CPPI_P0_FIFOSTATUS *pCppiFifoStats);
10036 
10054 void CSL_CPSW_getP0HostBlksPri(CSL_Xge_cpswRegs *hCpswRegs,
10055  CSL_CPSW_CPPI_P0_HOSTBLKSPRI *pCppiHostBlksPri);
10056 
10074 void CSL_CPSW_setP0HostBlksPri(CSL_Xge_cpswRegs *hCpswRegs,
10075  CSL_CPSW_CPPI_P0_HOSTBLKSPRI *pCppiHostBlksPri);
10076 
10077 #ifdef __cplusplus
10078 }
10079 #endif
10080 
10081 #endif
10082 
CSL_CPSW_ALE_RAMDEPTH_E CSL_CPSW_getAleStatusRamDepth(CSL_AleRegs *hCpswAleRegs)
Uint32 tsVlanLType2
Definition: csl_cpsw.h:1032
Holds CPSW EEE (Energy Efficient Ethernet) Per-Port Configuration.
Definition: csl_cpsw.h:1107
Uint32 rtlVer
Definition: csl_cpsw.h:131
void CSL_CPSW_getAleStatusReg(CSL_AleRegs *hCpswAleRegs, Uint32 *pNumPolicers, Uint32 *pNumEntries)
void CSL_CPSW_getPortTxPriMapReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pPortTxPriMap)
Uint32 estTsPri
Definition: csl_cpsw.h:1723
Uint32 p3PassPriTag
Definition: csl_cpsw.h:161
Uint32 touched
Definition: csl_cpsw.h:699
Holds CPSW EEE (Energy Efficient Ethernet) Global Configuration.
Definition: csl_cpsw.h:1094
uint16_t index
Definition: tisci_rm_proxy.h:153
Uint32 p0TxPriActivePri6
Definition: csl_cpsw.h:359
void CSL_CPSW_mapMacAddr2TableWord(uint32_t *word0, uint32_t *word1, uint8_t *macAddr, CSL_CPSW_ALETABLE_TYPE aleType)
CSL_CPSW_ALE_AGT_PRESCALE_E
Defines ALE Aging Timer Prescale.
Definition: csl_cpsw.h:843
Definition: csl_cpsw.h:591
Uint32 p0TxPriActivePri1
Definition: csl_cpsw.h:324
Uint32 rxGapEnPri2
Definition: csl_cpsw.h:295
Uint32 estBufSel
Definition: csl_cpsw.h:1751
void CSL_CPSW_setCpswTxGlobalBufThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri, Uint32 setVal)
void CSL_CPSW_setTxDstThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint32 pri, Uint32 setVal)
void CSL_CPSW_disableSoftIdle(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 AleUnKnUni
Definition: csl_cpsw.h:1490
Uint32 p0HostBlksPri2
Definition: csl_cpsw.h:399
Uint32 tsTxAnnexDEnable
Definition: csl_cpsw.h:904
void CSL_CPSW_setAleCtrl2MalformedFrameConfig(CSL_AleRegs *hCpswAleRegs, CSL_CPSW_ALE_CTRL2_MALFORMEDFRAME_CONFIG *badFrmCfg)
Uint32 RxCRCErrors
Definition: csl_cpsw.h:1382
Uint32 pri
Definition: csl_cpsw.h:1291
void CSL_CPSW_getCpswVersionInfo(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_VERSION *pVersionInfo)
Holds CPSW priority type register contents.
Definition: csl_cpsw.h:1579
Definition: csl_cpsw.h:846
Definition: csl_cpsw.h:555
Definition: csl_cpsw.h:580
Uint32 p0FlowEnable
Definition: csl_cpsw.h:417
Uint32 RxIpgError
Definition: csl_cpsw.h:1439
Uint32 p6FlowEnable
Definition: csl_cpsw.h:435
bool ipPktFltEnableDefNoFrag
Definition: csl_cpsw.h:1221
void CSL_CPSW_setCppiTxGlobalBufThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri, Uint32 setVal)
CSL_CPSW_ALE_POLICER_CONTROL_YELLOWTHRESH yellowDropThresh
Definition: csl_cpsw.h:1551
Uint32 dstMacIdx
Definition: csl_cpsw.h:1297
Uint32 tsRxAnnexFEnable
Definition: csl_cpsw.h:895
Definition: csl_cpsw.h:1183
void CSL_CPSW_setAleControlReg(CSL_AleRegs *hCpswAleRegs, Uint32 aleCtrlVal)
Uint32 tsTxVlanLType2Enable
Definition: csl_cpsw.h:963
Uint32 Frame1024tUp
Definition: csl_cpsw.h:1463
void CSL_CPSW_enableAleOUIDenyMode(CSL_AleRegs *hCpswAleRegs)
void CSL_CPSW_enableAleMacAuthMode(CSL_AleRegs *hCpswAleRegs)
Definition: csl_cpsw.h:480
Uint32 blockEnable
Definition: csl_cpsw.h:724
Uint32 port6PriorityTypeEscalateEnable
Definition: csl_cpsw.h:1599
Holds CPSW control register contents.
Definition: csl_cpsw.h:141
void CSL_CPSW_getPortTimeSyncCntlReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPSW_TSCNTL *pTimeSyncCntlCfg)
void CSL_CPSW_getVlanLTypeReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 *pVlanLtypeInner, Uint32 *pVlanLtypeOuter)
void CSL_CPSW_setTxPriFlowControl(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint8 pri)
Uint32 yellowDropEnable
Definition: csl_cpsw.h:1552
void CSL_CPSW_getAlePolicerEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_POLICER_ENTRY *pPolCfg)
void CSL_CPSW_getAlePortControlReg(CSL_AleRegs *hCpswAleRegs, Uint32 portNo, CSL_CPSW_ALE_PORTCONTROL *pPortControlInfo)
Uint8 CSL_CPSW_getTxPriFlowControl(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo)
void CSL_CPSW_setPriCirEir(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint32 pri, Uint32 cir, Uint32 eir)
Uint32 unRegMcastFloodMask
Definition: csl_cpsw.h:749
Uint32 bcastLimit
Definition: csl_cpsw.h:537
void CSL_CPSW_disablePortPassPriTag(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum)
Uint32 tsRxAnnexEEnable
Definition: csl_cpsw.h:892
void CSL_CPSW_setAlePortState(CSL_AleRegs *hCpswAleRegs, Uint32 portNo, CSL_CPSW_ALE_PORTSTATE portState)
Uint32 AleUnKnMultiBytes
Definition: csl_cpsw.h:1499
Uint32 RxJabber
Definition: csl_cpsw.h:1391
Definition: csl_cpsw.h:590
Uint32 CSL_CPSW_getCppiRxPacketsPriority(CSL_Xge_cpswRegs *hCpswRegs, Uint32 priority)
Uint32 AleUnKnBCast
Definition: csl_cpsw.h:1502
Uint32 AleAddrEqDrop
Definition: csl_cpsw.h:1484
Uint32 pirIdleIncVal
Definition: csl_cpsw.h:1324
void CSL_CPSW_getCpswControlReg(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_CONTROL *pControlRegInfo)
Uint32 tsRxAnnexEEnable
Definition: csl_cpsw.h:939
Uint32 p8FlowEnable
Definition: csl_cpsw.h:441
Definition: csl_cpsw.h:477
Uint32 RxAlignCodeErrors
Definition: csl_cpsw.h:1385
Uint32 CSL_CPSW_getAleIPv6HighEntryIndex(CSL_AleRegs *hCpswAleRegs, Uint32 entryIndex)
void CSL_CPSW_setPortRxPriMapReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pPortRxPriMap)
Uint32 CSL_CPSW_getCpswTxGlobalBufThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri)
Definition: csl_cpsw.h:581
void CSL_CPSW_setcppiTxBlksPri(CSL_Xge_cpswRegs *hCpswRegs, Uint8 pri, Uint32 blks)
void CSL_CPSW_getP0FifoStatus(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_CPPI_P0_FIFOSTATUS *pCppiFifoStats)
void CSL_CPSW_setVlanLTypeReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pVlanLtypeInner, Uint32 pVlanLtypeOuter)
CSL_CPSW_ALE_RAMDEPTH_E
Number of statistic blocks.
Definition: csl_cpsw.h:833
void CSL_CPSW_setAlePortControlTrunk(CSL_AleRegs *hCpswAleRegs, Uint32 portNo, bool trunkEnable, Uint32 trunkNum)
Int32 CSL_CPSW_setAleVlanMaskMuxEntryReg(CSL_AleRegs *hCpswAleRegs, Uint32 maskMuxIndex, Uint32 vlanMaskMuxVal)
CSL_CPSW_ALE_ENTRYTYPE CSL_CPSW_getALEEntryType(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALETABLE_TYPE aleType)
void CSL_CPSW_getCppiRxGapReg(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_CPPI_P0_RXGAP *pCppiRxGap)
Definition: csl_cpsw.h:1182
Uint32 ingressCheckFlag
Definition: csl_cpsw.h:757
bool trunkEnableDestIP
Definition: csl_cpsw.h:1210
void CSL_CPSW_setPortTimeSyncConfig(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPSW_TSCONFIG *pTimeSyncConfig)
Uint32 CSL_CPSW_getTxHostBlksRem(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo)
Uint32 CSL_CPSW_getTxMaxLenPerPriority(CSL_Xge_cpswRegs *hCpswRegs, Uint32 priority)
Definition: csl_cpsw.h:1219
void CSL_CPSW_getPortRxPriMapReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pPortRxPriMap)
Uint32 blockEnable
Definition: csl_cpsw.h:674
void CSL_CPSW_writeEstFetchCmd(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 index, Uint32 fetchCount, Uint8 fetchAllow)
Definition: csl_cpsw.h:468
CSL_CPSW_ALE_POLICER_ENTRYTYPE CSL_CPSW_getALEPolicerEntryType(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALETABLE_TYPE aleType)
CSL_CPSW_ALETABLE_TYPE
Defines ALE table types support.
Definition: csl_cpsw.h:467
Uint32 estPremptComp
Definition: csl_cpsw.h:1712
Uint32 txLpiClkstopEnable
Definition: csl_cpsw.h:1115
void CSL_CPSW_setAleMcastAddrEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_MCASTADDR_ENTRY *pMcastAddrCfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 TxSingleColl
Definition: csl_cpsw.h:1427
Uint32 RxOversized
Definition: csl_cpsw.h:1388
Uint32 CSL_CPSW_getTxBlksPri(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint8 pri)
Holds CPPI_P0_Rx_Gap register contents. This is applicable only for 2 port switch.
Definition: csl_cpsw.h:271
Uint32 destForceUntaggedEgress
Definition: csl_cpsw.h:1640
Uint32 p1StatEnable
Definition: csl_cpsw.h:858
Uint8 CSL_CPSW_getCppiRxPriFlowControl(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 p1PassPriTag
Definition: csl_cpsw.h:155
void CSL_CPSW_setPortTimeSyncSeqIdReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 tsLtype, Uint32 tsSeqIdOffset)
Holds the ALE Ethertype Table entry configuration.
Definition: csl_cpsw.h:780
Uint32 CSL_CPSW_getPortRxMaxLen(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum)
Uint32 txFifoEmpty
Definition: csl_cpsw.h:1162
void CSL_CPSW_disableAleVID0Mode(CSL_AleRegs *hCpswAleRegs)
void CSL_CPSW_setVlanType(CSL_Xge_cpswRegs *hCpswRegs, Uint32 vlanType)
Holds Port Statistics Enable register contents.
Definition: csl_cpsw.h:853
Uint32 tsRxVlanLType1Enable
Definition: csl_cpsw.h:945
Uint32 enable
Definition: csl_cpsw.h:1096
Uint32 tsSeqIdOffset
Definition: csl_cpsw.h:1035
void CSL_CPSW_getAleUnkownVlanReg(CSL_AleRegs *hCpswAleRegs, Uint32 *pUnVlanMemList, Uint32 *pUnMcastFloodMask, Uint32 *pUnRegMcastFloodMask, Uint32 *pUnForceUntagEgress)
Uint32 ignMBits
Definition: csl_cpsw.h:651
void CSL_CPSW_setAleCtrl2IPPktFilterConfig(CSL_AleRegs *hCpswAleRegs, CSL_CPSW_ALE_CTRL2_IPPKTFLT_CONFIG *ipPktFltCfg)
Uint32 p2StatEnable
Definition: csl_cpsw.h:861
Holds CPSW Port Rx Rate Limit Configuration for CPPI Port Ingress Rate Limitaion Operation.
Definition: csl_cpsw.h:1074
void CSL_CPSW_setMultihost(CSL_AleRegs *hCpswAleRegs, Uint32 enable)
Definition: csl_cpsw.h:1185
Holds the EMAC statistics.
Definition: csl_cpsw.h:1368
Uint32 rxGapEnPri0
Definition: csl_cpsw.h:301
Uint32 superEnable
Definition: csl_cpsw.h:645
Holds the ALE VLAN Unicast Address Table entry configuration.
Definition: csl_cpsw.h:707
Uint32 ts132Enable
Definition: csl_cpsw.h:1008
Uint32 policingEnable
Definition: csl_cpsw.h:1554
void CSL_CPSW_getAlePolicerHstatReg(CSL_AleRegs *hCpswAleRegs, CSL_CPSW_ALE_POLICER_HSTAT *policerHStatCfg)
void CSL_CPSW_setPortControlReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPSW_PORT_CONTROL *pControlInfo)
Uint32 p3FlowEnable
Definition: csl_cpsw.h:426
Uint32 port0PriorityTypeEscalateEnable
Definition: csl_cpsw.h:1581
Uint32 portNumber
Definition: csl_cpsw.h:727
void CSL_CPSW_getAleTableEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, Uint32 *pAleInfoWd0, Uint32 *pAleInfoWd1, Uint32 *pAleInfoWd2)
Uint32 tsRxVlanLType2Enable
Definition: csl_cpsw.h:901
UInt32 numLSBIgnore
Definition: csl_cpsw.h:809
Uint32 polClrallYellowhit
Definition: csl_cpsw.h:1563
Uint32 ts130Enable
Definition: csl_cpsw.h:996
Uint32 enetRxThruRate
Definition: csl_cpsw.h:212
void CSL_CPSW_setPortTimeSyncVlanLTypeReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 tsVlanLtype1, Uint32 tsVlanLtype2)
void CSL_CPSW_getPortMaxBlksReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pRxMaxBlks, Uint32 *pTxMaxBlks)
Uint32 tsTxVlanLType2Enable
Definition: csl_cpsw.h:916
void CSL_CPSW_getAleEthertypeEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_ETHERTYPE_ENTRY *pEthertypeCfg, CSL_CPSW_ALETABLE_TYPE aleType)
void CSL_CPSW_getPort0VlanReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 *pPortVID, Uint32 *pPortCFI, Uint32 *pPortPRI)
void CSL_CPSW_getAlePortState(CSL_AleRegs *hCpswAleRegs, Uint32 portNo, CSL_CPSW_ALE_PORTSTATE *pPortState)
void CSL_CPSW_setAleVlanEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_VLAN_ENTRY *pVlanCfg, CSL_CPSW_ALETABLE_TYPE aleType)
void CSL_CPSW_getAleVlanMcastAddrEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_VLANMCASTADDR_ENTRY *pVlanMcastAddrCfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 tsTxAnnexEEnable
Definition: csl_cpsw.h:907
Uint32 vlanId
Definition: csl_cpsw.h:639
void CSL_CPSW_setPortVlanReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 portVID, Uint32 portCFI, Uint32 portPRI)
Uint32 ignMBits
Definition: csl_cpsw.h:626
Uint32 CSL_CPSW_isSoftIdle(CSL_Xge_cpswRegs *hCpswRegs)
void CSL_CPSW_enableSoftIdle(CSL_Xge_cpswRegs *hCpswRegs)
void CSL_CPSW_setPort0VlanReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portVID, Uint32 portCFI, Uint32 portPRI)
Uint32 p4PassPriTag
Definition: csl_cpsw.h:164
Uint32 defThread
Definition: csl_cpsw.h:1204
void CSL_CPSW_disableAleVlanAware(CSL_AleRegs *hCpswAleRegs)
Uint32 disallowIPFragmentation
Definition: csl_cpsw.h:766
Uint32 touched
Definition: csl_cpsw.h:667
void CSL_CPSW_setTxGlobalOutFlowThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri, Uint32 setVal)
void CSL_CPSW_enableP0TxCastagnoliCRC(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 NetOctets
Definition: csl_cpsw.h:1466
Uint32 CSL_CPSW_getIpv6IgnBitsMax(CSL_CPSW_ALETABLE_TYPE aleType)
void CSL_CPSW_setAleUnkownVlanReg(CSL_AleRegs *hCpswAleRegs, Uint32 unVlanMemList, Uint32 unMcastFloodMask, Uint32 unRegMcastFloodMask, Uint32 unForceUntagEgress)
void CSL_CPSW_setCppiP0Control(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_CPPI_P0_CONTROL *pCppiP0ControlCfg)
void CSL_CPSW_setAlePrescaleReg(CSL_AleRegs *hCpswAleRegs, Uint32 alePrescaleVal)
Uint32 TxCollision
Definition: csl_cpsw.h:1424
Uint32 dscpIpv6Enable
Definition: csl_cpsw.h:1062
void CSL_CPSW_setCppiTxDstThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri, Uint32 setVal)
Uint32 CSL_CPSW_getTxGlobalOutFlowThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri)
Uint32 srcIpIdx
Definition: csl_cpsw.h:1312
Uint32 p4StatEnable
Definition: csl_cpsw.h:867
void CSL_CPSW_setCppiSourceIdReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 *pTxSrcId)
void CSL_CPSW_disablePort0(CSL_Xge_cpswRegs *hCpswRegs)
Holds the ALE Multicast Address Table entry configuration.
Definition: csl_cpsw.h:612
void CSL_CPSW_getPortStats(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPSW_STATS *pCpswStats)
void CSL_CPSW_getPTypeReg(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_PTYPE *pPtypeCfg)
Uint32 macOnlyEnable
Definition: csl_cpsw.h:516
Uint32 replaceVid
Definition: csl_cpsw.h:1649
bool dropBadLen
Definition: csl_cpsw.h:1225
Definition: csl_cpsw.h:1181
void CSL_CPSW_getPriCirEir(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint32 pri, Uint32 *cir, Uint32 *eir)
Definition: csl_cpsw.h:579
Uint32 p4FlowEnable
Definition: csl_cpsw.h:429
Uint32 RxBCastFrames
Definition: csl_cpsw.h:1373
Uint32 CSL_CPSW_isVlanAwareEnabled(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 tsDomainOffset
Definition: csl_cpsw.h:1038
Uint32 p5StatEnable
Definition: csl_cpsw.h:870
Uint32 port8PriorityTypeEscalateEnable
Definition: csl_cpsw.h:1605
void CSL_CPSW_setCppiRxPacketsPriority(CSL_Xge_cpswRegs *hCpswRegs, Uint32 priority, Uint32 rxPackets)
Uint32 CSL_CPSW_isAleRateLimitEnabled(CSL_AleRegs *hCpswAleRegs)
void CSL_CPSW_getPortControlReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPSW_PORT_CONTROL *pControlInfo)
Uint32 TxLateColl
Definition: csl_cpsw.h:1436
Uint32 txLpiClkstopEnable
Definition: csl_cpsw.h:1059
Uint32 tsTxHostEnable
Definition: csl_cpsw.h:919
void CSL_CPSW_setAleUnicastAddrEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_UNICASTADDR_ENTRY *pUcastAddrCfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 CSL_CPSW_getCppiDstTxThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri)
Uint32 vlanAware
Definition: csl_cpsw.h:146
Uint32 ts129Enable
Definition: csl_cpsw.h:990
Uint32 id
Definition: csl_cpsw.h:460
Uint32 AlePolMatch
Definition: csl_cpsw.h:1508
Uint32 CSL_CPSW_isAleVID0ModeEnabled(CSL_AleRegs *hCpswAleRegs)
Holds CSL_CPSW_CPPI_P0_HOSTBLKSPRI register contents. This is not used for 2 port switch.
Definition: csl_cpsw.h:375
Uint32 CSL_CPSW_isPort0PassPriTagEnabled(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 idle2lpi
Definition: csl_cpsw.h:1122
void CSL_CPSW_enablePortPassPriTag(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum)
Uint32 polRedhit
Definition: csl_cpsw.h:1571
void CSL_CPSW_setAlePolicerControlReg(CSL_AleRegs *hCpswAleRegs, CSL_CPSW_ALE_POLICER_CONTROL *policerCntrlCfg)
Holds Port Time Sync Control register contents.
Definition: csl_cpsw.h:887
bool ipPktFltEnableDefNxtHdrLimit
Definition: csl_cpsw.h:1220
Uint32 p0PassPriTag
Definition: csl_cpsw.h:152
Holds the ALE OUI Unicast Address Table entry configuration.
Definition: csl_cpsw.h:691
void CSL_CPSW_setAleCtrl2MirrorMatchIndex(CSL_AleRegs *hCpswAleRegs, Uint32 mirrorMatchIndex)
Uint32 RxDropBottom
Definition: csl_cpsw.h:1469
Uint32 CSL_CPSW_getTxDstThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint32 pri)
void CSL_CPSW_disableAle(CSL_AleRegs *hCpswAleRegs)
Uint32 mcastFwdState
Definition: csl_cpsw.h:617
void CSL_CPSW_setTxDstThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint32 pri, Uint32 setVal)
Uint32 RxFragments
Definition: csl_cpsw.h:1397
Uint32 p0TxPriActivePri0
Definition: csl_cpsw.h:317
Uint32 forceUntaggedEgress
Definition: csl_cpsw.h:754
void CSL_CPSW_setAleUnknwnVlanRegMcastReg(CSL_AleRegs *hCpswAleRegs, Uint32 aleUnknwnVlanRegMcastVal)
Definition: csl_cpsw.h:469
Holds the Enet_Pn_FIFO_Status register contents.
Definition: csl_cpsw.h:1658
Uint32 macOnlyCafEnable
Definition: csl_cpsw.h:531
Uint32 noLearnMask
Definition: csl_cpsw.h:760
void CSL_CPSW_disableAleTxRateLimit(CSL_AleRegs *hCpswAleRegs)
Uint32 CSL_CPSW_getAleIPv6HighEntryOffset(CSL_AleRegs *hCpswAleRegs)
Uint32 unRegMcastFloodIndex
Definition: csl_cpsw.h:744
Uint32 p0RxEccErrEn
Definition: csl_cpsw.h:239
Uint32 p0HostBlksPri3
Definition: csl_cpsw.h:395
Definition: csl_cpsw.h:604
CSL_CPSW_ALE_POLICER_CONTROL_POLICING_MATCH_MODE policeMatchMode
Definition: csl_cpsw.h:1550
void CSL_CPSW_getAleVlanUnicastAddrEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_VLANUNICASTADDR_ENTRY *pVlanUcastAddrCfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 CSL_CPSW_getTxGlobalOutFlowThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri)
void CSL_CPSW_getAleOutVlanEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_OUTER_VLAN_ENTRY *pOutVlanCfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 mcastLimit
Definition: csl_cpsw.h:534
Uint32 tsLType2Enable
Definition: csl_cpsw.h:969
Uint32 p0StatEnable
Definition: csl_cpsw.h:855
Uint32 dscpIpv4Enable
Definition: csl_cpsw.h:1065
Uint32 tsRxAnnexDEnable
Definition: csl_cpsw.h:936
Holds the ALE IPv6 Address Table entry configuration.
Definition: csl_cpsw.h:805
void CSL_CPSW_setTxGlobalOutFlowThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri, Uint32 setVal)
Uint32 AleVidDrop
Definition: csl_cpsw.h:1481
void CSL_CPSW_setPortMACAddress(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint8 *pMacAddress)
Holds the ALE Unicast Address Table entry configuration.
Definition: csl_cpsw.h:659
Uint32 CSL_CPSW_getGapThreshold(CSL_Xge_cpswRegs *hCpswRegs)
void CSL_CPSW_setPort0FlowIdOffset(CSL_Xge_cpswRegs *hCpswRegs, Uint32 flowIdOffset)
void CSL_CPSW_getEmulationControlReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 *pFree, Uint32 *pSoft)
Uint32 tsMsgTypeEnable
Definition: csl_cpsw.h:925
Holds flow control register contents.
Definition: csl_cpsw.h:415
Uint32 RxAleOverrunDrop
Definition: csl_cpsw.h:1403
Int32 CSL_CPSW_getAleVlanMaskMuxEntryReg(CSL_AleRegs *hCpswAleRegs, Uint32 maskMuxIndex, Uint32 *vlanMaskMuxPtr)
Uint32 majorVer
Definition: csl_cpsw.h:454
Uint32 tsRxAnnexDEnable
Definition: csl_cpsw.h:889
Uint32 tsTxAnnexFEnable
Definition: csl_cpsw.h:910
void CSL_CPSW_setCppiTxGlobalBufThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri, Uint32 setVal)
Uint32 RxOctets
Definition: csl_cpsw.h:1406
Definition: csl_cpsw.h:844
bool trunkEnableInnerVLAN
Definition: csl_cpsw.h:1212
void CSL_CPSW_getAleUnicastAddrEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_UNICASTADDR_ENTRY *pUcastAddrCfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 ageable
Definition: csl_cpsw.h:664
Definition: csl_cpsw.h:1559
CSL_CPSW_ALE_POLICER_CONTROL_POLICING_MATCH_MODE
Definition: csl_cpsw.h:1530
void CSL_CPSW_setTxDstBasedOutFlowAddValX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint32 pri, Uint32 addVal)
bool trunkEnableSrcIP
Definition: csl_cpsw.h:1211
void CSL_CPSW_clearAleTable(CSL_AleRegs *hCpswAleRegs)
Definition: csl_cpsw.h:603
Uint32 TxExcessiveColl
Definition: csl_cpsw.h:1433
Uint32 dropUntaggedEnable
Definition: csl_cpsw.h:492
Uint32 majorVer
Definition: csl_cpsw.h:128
void CSL_CPSW_setEmulationControlReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 free, Uint32 soft)
void CSL_CPSW_setAleUnknwnVlanMemberReg(CSL_AleRegs *hCpswAleRegs, Uint32 aleUnknwnVlanMemberVal)
CSL_CPSW_ALE_ENTRYTYPE
Defines ALE Table Entry types.
Definition: csl_cpsw.h:554
Uint32 tsMcastTypeEnable
Definition: csl_cpsw.h:1017
Uint32 ts131Enable
Definition: csl_cpsw.h:1002
Uint32 tsTxHostEnable
Definition: csl_cpsw.h:966
Uint32 limitIPNxtHdr
Definition: csl_cpsw.h:763
CSL_CPSW_ALE_PORTSTATE
Defines ALE port states.
Definition: csl_cpsw.h:476
void CSL_CPSW_getAlePolicerGlobConfig(CSL_AleRegs *hCpswAleRegs, CSL_CPSW_ALE_POLICER_GLOB_CONFIG *pGlobConfig)
Uint32 CSL_CPSW_isPort1PassPriTagEnabled(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 CSL_CPSW_isAleUVLANNoLearnEnabled(CSL_AleRegs *hCpswAleRegs)
void CSL_CPSW_setAleEthertypeEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_ETHERTYPE_ENTRY *pEthertypeCfg, CSL_CPSW_ALETABLE_TYPE aleType)
void CSL_CPSW_getP0HostBlksPri(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_CPPI_P0_HOSTBLKSPRI *pCppiHostBlksPri)
Uint32 tsRxVlanLType2Enable
Definition: csl_cpsw.h:948
Uint32 tsTxVlanLType1Enable
Definition: csl_cpsw.h:960
Holds the ALE VLAN/Multicast Address Table entry configuration.
Definition: csl_cpsw.h:634
Definition: csl_cpsw.h:556
Uint32 CSL_CPSW_isAleMacAuthModeEnabled(CSL_AleRegs *hCpswAleRegs)
Uint32 RxDropTop
Definition: csl_cpsw.h:1475
Uint32 CSL_CPSW_getTxStartWords(CSL_Xge_cpswRegs *hCpswRegs)
void CSL_CPSW_setPortRxMaxLen(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 rxMaxLen)
void CSL_CPSW_clearAleEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index)
Uint32 vidIngressCheckEnable
Definition: csl_cpsw.h:495
void CSL_CPSW_getAleVlanEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_VLAN_ENTRY *pVlanCfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 tsUniEnable
Definition: csl_cpsw.h:978
void CSL_CPSW_getEEEPortConfig(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPSW_EEE_PORT_CONFIG *pPortConfig)
Uint32 p1FlowEnable
Definition: csl_cpsw.h:420
Uint32 port2PriorityTypeEscalateEnable
Definition: csl_cpsw.h:1587
Uint32 CSL_CPSW_getCppiTxGlobalBufThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri)
Definition: csl_cpsw.h:1179
void CSL_CPSW_disableAleUVLANNoLearn(CSL_AleRegs *hCpswAleRegs)
Holds the ALE IPv4 Address Table entry configuration.
Definition: csl_cpsw.h:792
Uint32 rxGapEnPri3
Definition: csl_cpsw.h:292
Uint32 polClrselAll
Definition: csl_cpsw.h:1564
void CSL_CPSW_getAleVersionInfo(CSL_AleRegs *hCpswAleRegs, CSL_CPSW_ALE_VERSION *pVersionInfo)
Uint32 rxFifoEmpty
Definition: csl_cpsw.h:1159
Uint32 escPriLoadVal
Definition: csl_cpsw.h:1615
Uint32 CSL_CPSW_getMultihost(CSL_AleRegs *hCpswAleRegs)
Uint32 ouiIdx
Definition: csl_cpsw.h:1294
void CSL_CPSW_setAleTableEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, Uint32 aleInfoWd0, Uint32 aleInfoWd1, Uint32 aleInfoWd2)
Uint32 txPriActive
Definition: csl_cpsw.h:1690
Uint32 rxGapCnt
Definition: csl_cpsw.h:277
Uint32 decrementTtl
Definition: csl_cpsw.h:1636
void CSL_CPSW_getPortTimeSyncConfig(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPSW_TSCONFIG *pTimeSyncConfig)
void CSL_CPSW_setTxHostBlksRem(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint32 txBlksRem)
void CSL_CPSW_getAleStatusVlanMask(CSL_AleRegs *hCpswAleRegs, bool *vlanMsk08, bool *vlanMsk12)
Uint32 noSaUpdateEnable
Definition: csl_cpsw.h:501
Definition: csl_cpsw.h:578
Uint32 portMask
Definition: csl_cpsw.h:623
void CSL_CPSW_disableAleBypass(CSL_AleRegs *hCpswAleRegs)
Uint32 p6PassPriTag
Definition: csl_cpsw.h:170
Uint32 CSL_CPSW_getAleIPv6LowEntryIndex(CSL_AleRegs *hCpswAleRegs, Uint32 entryIndex)
Definition: csl_cpsw.h:1224
Uint32 AleRateLimitDrop
Definition: csl_cpsw.h:1478
void CSL_CPSW_getAleAgingTimerReg(CSL_AleRegs *hCpswAleRegs, Uint32 *pAgingPrescale, Uint32 *pAgingPeriod)
Uint32 p0RxRemapDscpIpv4
Definition: csl_cpsw.h:231
Uint32 RxPauseFrames
Definition: csl_cpsw.h:1379
Uint32 TxMultiColl
Definition: csl_cpsw.h:1430
Uint32 CSL_CPSW_isAleEnabled(CSL_AleRegs *hCpswAleRegs)
Uint32 p5PassPriTag
Definition: csl_cpsw.h:167
Uint32 CSL_CPSW_isAleUUNIToHostEnabled(CSL_AleRegs *hCpswAleRegs)
Definition: csl_cpsw.h:835
void CSL_CPSW_setCppiRxPType(CSL_Xge_cpswRegs *hCpswRegs, Uint32 p0RxPtype)
Uint32 CSL_CPSW_getCppiRxPType(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 p8StatEnable
Definition: csl_cpsw.h:879
Uint32 CSL_CPSW_getAlePrescaleReg(CSL_AleRegs *hCpswAleRegs)
Uint32 p7FlowEnable
Definition: csl_cpsw.h:438
Definition: csl_cpsw.h:836
CSL_CPSW_ALE_UCASTTYPE
Defines ALE Unicast types.
Definition: csl_cpsw.h:577
void CSL_CPSW_enablePort0PassPriTag(CSL_Xge_cpswRegs *hCpswRegs)
void CSL_CPSW_getAleStatusNumPolicers(CSL_AleRegs *hCpswAleRegs, Uint32 *pNumPolicers)
Uint32 txLpi
Definition: csl_cpsw.h:1148
Uint32 id
Definition: csl_cpsw.h:134
Uint32 port7PriorityTypeEscalateEnable
Definition: csl_cpsw.h:1602
Uint32 estTsFirst
Definition: csl_cpsw.h:1738
Uint32 p0TxPriActivePri5
Definition: csl_cpsw.h:352
Uint32 prescale
Definition: csl_cpsw.h:1099
Uint32 CSL_CPSW_getAleControlReg(CSL_AleRegs *hCpswAleRegs)
void CSL_CPSW_getEEEGlobConfig(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_EEE_GLOB_CONFIG *pGlobConfig)
void CSL_CPSW_enableVlanAware(CSL_Xge_cpswRegs *hCpswRegs)
Definition: csl_cpsw.h:558
Holds the Port intervlan configuration info.
Definition: csl_cpsw.h:1622
Uint32 p0HostBlksPri0
Definition: csl_cpsw.h:407
void CSL_CPSW_enableAleUUNIToHost(CSL_AleRegs *hCpswAleRegs)
void CSL_CPSW_setAleIPv4Entry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_IPv4_ENTRY *pIPv4Cfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 tsLType2
Definition: csl_cpsw.h:1026
Uint32 Frame128t255
Definition: csl_cpsw.h:1454
Uint32 CSL_CPSW_getPort0RxMaxLen(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 AleUnKnMulti
Definition: csl_cpsw.h:1496
CPSW_THRU_RATE register.
Definition: csl_cpsw.h:204
Uint32 estBufAct
Definition: csl_cpsw.h:1664
void CSL_CPSW_setEEEPortConfig(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPSW_EEE_PORT_CONFIG *pPortConfig)
Holds CPSW EEE (Energy Efficient Ethernet) Per-Port STATUS.
Definition: csl_cpsw.h:1140
void CSL_CPSW_getCppiSourceIdReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 *pTxSrcId)
Uint32 RxMCastFrames
Definition: csl_cpsw.h:1376
Uint32 Frame256t511
Definition: csl_cpsw.h:1457
Uint32 p0TxPriActivePri7
Definition: csl_cpsw.h:366
Uint32 p8PassPriTag
Definition: csl_cpsw.h:176
CSL_CPSW_ALE_PORTSTATE portState
Definition: csl_cpsw.h:489
Uint32 ethertype
Definition: csl_cpsw.h:782
Uint32 CSL_CPSW_getCppiTxBlksPri(CSL_Xge_cpswRegs *hCpswRegs, Uint8 pri)
void CSL_CPSW_enableAleVlanAware(CSL_AleRegs *hCpswAleRegs)
void CSL_CPSW_setPortStatsEnableReg(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_PORTSTAT *pPortStatsCfg)
void CSL_CPSW_setAlePolicerTestControlReg(CSL_AleRegs *hCpswAleRegs, CSL_CPSW_ALE_POLICER_TEST_CONTROL *policerTestCntrlCfg)
Uint32 macAuthDisable
Definition: csl_cpsw.h:522
void CSL_CPSW_setPort0RxMaxLen(CSL_Xge_cpswRegs *hCpswRegs, Uint32 rxMaxLen)
Uint32 p0RxRemapVlan
Definition: csl_cpsw.h:234
void CSL_CPSW_getPort0RxPriMapReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 *pPortRxPriMap)
Uint32 p0Enable
Definition: csl_cpsw.h:149
Definition: csl_cpsw.h:600
void CSL_CPSW_enableAleVID0Mode(CSL_AleRegs *hCpswAleRegs)
void CSL_CPSW_setTxGlobalBufThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint32 pri, Uint32 setVal)
Uint32 fifoLb
Definition: csl_cpsw.h:143
void CSL_CPSW_disableAlePolicerThread(CSL_AleRegs *hCpswAleRegs, Uint32 index)
Uint32 TxOctets
Definition: csl_cpsw.h:1445
Holds Port Time Sync Configuration contents.
Definition: csl_cpsw.h:934
Uint32 TxBCastFrames
Definition: csl_cpsw.h:1412
Uint32 estPortEnable
Definition: csl_cpsw.h:1050
CSL_CPSW_ALE_UPD_BW
Defines ALE Update Bandwidth Control Value: The upd_bw_ctrl field within ALE control register specifi...
Definition: csl_cpsw.h:1178
void CSL_CPSW_enableAleLearnNoVID(CSL_AleRegs *hCpswAleRegs)
Uint32 polHit
Definition: csl_cpsw.h:1570
Uint32 p0HostBlksPri4
Definition: csl_cpsw.h:391
Uint32 tsRxVlanLType1Enable
Definition: csl_cpsw.h:898
Uint32 ageable
Definition: csl_cpsw.h:696
Uint32 validBitmap
Definition: csl_cpsw.h:1285
Uint32 p0TxCrcRemove
Definition: csl_cpsw.h:179
Uint32 superEnable
Definition: csl_cpsw.h:620
Uint32 redDropEnable
Definition: csl_cpsw.h:1553
CSL_CPSW_ALE_ADDRTYPE
Defines ALE Address types.
Definition: csl_cpsw.h:588
Uint32 rxGapEnPri7
Definition: csl_cpsw.h:280
Uint32 egressTrunkIndex
Definition: csl_cpsw.h:1345
void CSL_CPSW_getAleIPv4Entry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_IPv4_ENTRY *pIPv4Cfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 TxGoodFrames
Definition: csl_cpsw.h:1409
void CSL_CPSW_setCppiTxDstThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri, Uint32 setVal)
void CSL_CPSW_setCpswControlReg(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_CONTROL *pControlRegInfo)
void CSL_CPSW_setCpswTxGlobalBufThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri, Uint32 setVal)
Uint32 secureEnable
Definition: csl_cpsw.h:721
Uint32 port1PriorityTypeEscalateEnable
Definition: csl_cpsw.h:1584
void CSL_CPSW_setCppiPriCirEir(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri, Uint32 cir, Uint32 eir)
Uint32 cppiRxThruRate
Definition: csl_cpsw.h:219
Uint32 destPortMask
Definition: csl_cpsw.h:1356
void CSL_CPSW_disablePort0PassPriTag(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 TxPauseFrames
Definition: csl_cpsw.h:1418
Uint32 polClrallRedhit
Definition: csl_cpsw.h:1562
void CSL_CPSW_getAleOUIAddrEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_OUIADDR_ENTRY *pOUIAddrCfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 CSL_CPSW_getTxDstBasedOutFlowAddValX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint32 pri)
Holds CPSW Port Control contents.
Definition: csl_cpsw.h:1047
void CSL_CPSW_disableVlanAware(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 CSL_CPSW_extractVid(Uint32 word1, CSL_CPSW_ALETABLE_TYPE aleType)
void CSL_CPSW_getPortRxDscpMap(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pRxDscpPriMap)
Holds CPPI P0 Control register contents.
Definition: csl_cpsw.h:226
Uint32 touched
Definition: csl_cpsw.h:718
Uint32 vid
Definition: csl_cpsw.h:1651
Uint32 CSL_CPSW_getEthertypeMax(CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 txExpressMacAllow
Definition: csl_cpsw.h:1685
void CSL_CPSW_enableAle(CSL_AleRegs *hCpswAleRegs)
Uint8 CSL_CPSW_getRxPriFlowControl(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo)
Uint32 port3PriorityTypeEscalateEnable
Definition: csl_cpsw.h:1590
Uint32 estAddErr
Definition: csl_cpsw.h:1670
Uint32 RxAleDrop
Definition: csl_cpsw.h:1400
Uint32 TxMemProtectErr
Definition: csl_cpsw.h:1514
Uint32 Frame65t127
Definition: csl_cpsw.h:1451
Uint32 port5PriorityTypeEscalateEnable
Definition: csl_cpsw.h:1596
Uint32 p0DscpIpv6En
Definition: csl_cpsw.h:250
void CSL_CPSW_setAleUnknwnVlanUntagReg(CSL_AleRegs *hCpswAleRegs, Uint32 aleUnknwnVlanUntagVal)
Uint32 RxUndersized
Definition: csl_cpsw.h:1394
Uint32 portMask
Definition: csl_cpsw.h:648
Holds CPSW Policer Global Configuration.
Definition: csl_cpsw.h:1193
Uint32 TxDeferred
Definition: csl_cpsw.h:1421
Uint32 p0HostBlksPri7
Definition: csl_cpsw.h:379
Uint32 tsLType2Enable
Definition: csl_cpsw.h:922
bool trunkEnableDst
Definition: csl_cpsw.h:1215
void CSL_CPSW_getPortVlanReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pPortVID, Uint32 *pPortCFI, Uint32 *pPortPRI)
void CSL_CPSW_setTxMaxLenPerPriority(CSL_Xge_cpswRegs *hCpswRegs, Uint32 priority, Uint32 maxLen)
Uint32 replaceDaSa
Definition: csl_cpsw.h:1645
Uint32 ageable
Definition: csl_cpsw.h:715
Definition: csl_cpsw.h:478
Uint32 p0RxPad
Definition: csl_cpsw.h:187
void CSL_CPSW_enableAleUVLANNoLearn(CSL_AleRegs *hCpswAleRegs)
Uint32 CSL_CPSW_getCpswTxGlobalBufThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri)
Uint32 cirIdleIncVal
Definition: csl_cpsw.h:1330
Uint32 dropDualVlan
Definition: csl_cpsw.h:541
void CSL_CPSW_setPortTimeSyncCntlReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPSW_TSCNTL *pTimeSyncCntlCfg)
Uint32 p7StatEnable
Definition: csl_cpsw.h:876
void CSL_CPSW_getStats(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_STATS *pCpswStats)
Uint32 tsRxAnnexFEnable
Definition: csl_cpsw.h:942
void CSL_CPSW_enableAleBypass(CSL_AleRegs *hCpswAleRegs)
Uint32 defThreadEnable
Definition: csl_cpsw.h:1201
Uint32 wait_idle2lpi
Definition: csl_cpsw.h:1142
Uint32 p0TxPriActivePri3
Definition: csl_cpsw.h:338
Uint32 p3StatEnable
Definition: csl_cpsw.h:864
Uint32 CSL_CPSW_isAleBypassEnabled(CSL_AleRegs *hCpswAleRegs)
domgrp_t domain
Definition: tisci_pm_core.h:130
void CSL_CPSW_getAleStatusNumAleEntries(CSL_AleRegs *hCpswAleRegs, Uint32 *pNumEntries)
void CSL_CPSW_setAleVlanMcastAddrEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_VLANMCASTADDR_ENTRY *pVlanMcastAddrCfg, CSL_CPSW_ALETABLE_TYPE aleType)
void CSL_CPSW_setPortRxDscpMap(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pRxDscpPriMap)
void CSL_CPSW_setCppiRxGapReg(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_CPPI_P0_RXGAP *pCppiRxGap)
Uint32 ovlanIdx
Definition: csl_cpsw.h:1303
void CSL_CPSW_setAleAgingTimerReg(CSL_AleRegs *hCpswAleRegs, Uint32 agingPrescale, Uint32 agingPeriod)
Uint32 ethertypeIdx
Definition: csl_cpsw.h:1309
Uint32 p0DscpIpv4En
Definition: csl_cpsw.h:256
void CSL_CPSW_getCppiPriCirEir(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri, Uint32 *cir, Uint32 *eir)
void CSL_CPSW_getPortStatsEnableReg(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_PORTSTAT *pPortStatsCfg)
Holds the ALE submodule's version info.
Definition: csl_cpsw.h:449
void CSL_CPSW_getAlePolicerControlReg(CSL_AleRegs *hCpswAleRegs, CSL_CPSW_ALE_POLICER_CONTROL *policerCntrlCfg)
void CSL_CPSW_setPortMaxBlksReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 rxMaxBlks, Uint32 txMaxBlks)
Uint32 disableMacPortDefaultThread
Definition: csl_cpsw.h:1556
void CSL_CPSW_mapTableWord2MacAddr(uint32_t word0, uint32_t word1, uint8_t *macAddr, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 p7PassPriTag
Definition: csl_cpsw.h:173
Uint32 polClrallHit
Definition: csl_cpsw.h:1561
Uint32 Frame512t1023
Definition: csl_cpsw.h:1460
Uint32 p5FlowEnable
Definition: csl_cpsw.h:432
Uint32 tsTxAnnexEEnable
Definition: csl_cpsw.h:954
void CSL_CPSW_EEEPortStatus(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPSW_EEE_PORT_STATUS *pPortStatus)
Uint32 tsLType1
Definition: csl_cpsw.h:1023
Uint32 p0TxPriActivePri2
Definition: csl_cpsw.h:331
Uint32 p2PassPriTag
Definition: csl_cpsw.h:158
void CSL_CPSW_setPortEstConfig(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPSW_EST_CONFIG *pEstConfig)
void CSL_CPSW_setEstTsDomain(CSL_Xge_cpswRegs *hCpswRegs, Uint8 domain)
Uint32 CSL_CPSW_getCppiTxGlobalBufThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri)
Uint32 p0RxRemapDscpIpv6
Definition: csl_cpsw.h:228
Uint32 estEnable
Definition: csl_cpsw.h:196
Uint32 vlanId
Definition: csl_cpsw.h:712
void CSL_CPSW_getAleMcastAddrEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_MCASTADDR_ENTRY *pMcastAddrCfg, CSL_CPSW_ALETABLE_TYPE aleType)
void CSL_CPSW_setAleVlanMaskMuxReg(CSL_AleRegs *hCpswAleRegs, Uint32 *vlanMaskMux)
void CSL_CPSW_startAleAgeOutNow(CSL_AleRegs *hCpswAleRegs)
Holds the ALE (Inner) VLAN Table entry configuration.
Definition: csl_cpsw.h:736
Uint32 p2FlowEnable
Definition: csl_cpsw.h:423
void CSL_CPSW_getPortTimeSyncSeqIdReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pTsLtype, Uint32 *pTsSeqIdOffset)
Uint32 tsTxVlanLType1Enable
Definition: csl_cpsw.h:913
CSL_CPSW_ALE_VLAN_ENTRY CSL_CPSW_ALE_OUTER_VLAN_ENTRY
Holds the ALE Outer VLAN Table entry configuration.
Definition: csl_cpsw.h:774
void CSL_CPSW_setCppiRxPriFlowControl(CSL_Xge_cpswRegs *hCpswRegs, Uint8 pri)
void CSL_CPSW_disableAleLearnNoVID(CSL_AleRegs *hCpswAleRegs)
Uint32 CSL_CPSW_getPort0FlowIdOffset(CSL_Xge_cpswRegs *hCpswRegs)
Holds the ALE Policer Table entry configuration.
Definition: csl_cpsw.h:1283
Uint32 egressOp
Definition: csl_cpsw.h:1336
Uint32 p0HostBlksPri5
Definition: csl_cpsw.h:387
Uint32 regMcastFloodIndex
Definition: csl_cpsw.h:747
Definition: csl_cpsw.h:602
void CSL_CPSW_disableAleMacAuthMode(CSL_AleRegs *hCpswAleRegs)
Uint32 p0HostBlksPri6
Definition: csl_cpsw.h:383
void CSL_CPSW_getCppiP0Control(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_CPPI_P0_CONTROL *pCppiP0ControlCfg)
Uint32 srcMacIdx
Definition: csl_cpsw.h:1300
bool noDropSrcMcast
Definition: csl_cpsw.h:1226
Uint32 estTsEnable
Definition: csl_cpsw.h:1743
Uint32 estOneBuf
Definition: csl_cpsw.h:1759
Uint32 estFillMargin
Definition: csl_cpsw.h:1705
Uint32 noLearnModeEnable
Definition: csl_cpsw.h:498
Uint32 ts320Enable
Definition: csl_cpsw.h:1014
bool trunkEnableSrc
Definition: csl_cpsw.h:1214
void CSL_CPSW_disableAleUUNIToHost(CSL_AleRegs *hCpswAleRegs)
Holds the Enet_Pn_EST_Control register contents.
Definition: csl_cpsw.h:1697
Uint32 CSL_CPSW_getTxGlobalBufThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint32 pri)
void CSL_CPSW_getThruRateReg(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_THRURATE *pThruRateCfg)
Uint32 TxMCastFrames
Definition: csl_cpsw.h:1415
void CSL_CPSW_setTxGlobalBufThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint32 pri, Uint32 setVal)
void CSL_CPSW_getAleIPv6Entry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_IPv6_ENTRY *pIPv6Cfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 estTsOnePri
Definition: csl_cpsw.h:1730
void CSL_CPSW_setPort0RxPriMapReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 *pPortRxPriMap)
void CSL_CPSW_disableP0TxCastagnoliCRC(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 Frame64
Definition: csl_cpsw.h:1448
Uint32 vlanIdx
Definition: csl_cpsw.h:1306
Uint32 lpi2wake
Definition: csl_cpsw.h:1131
Definition: csl_cpsw.h:1186
Uint32 rxGapEnPri6
Definition: csl_cpsw.h:283
Uint32 minorVer
Definition: csl_cpsw.h:451
Uint32 CSL_CPSW_getTxGlobalBufThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint32 pri)
Uint32 AleUnKnBCastBytes
Definition: csl_cpsw.h:1505
Uint32 port
Definition: csl_cpsw.h:1288
Uint32 CSL_CPSW_isPort0Enabled(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 trunkFlag
Definition: csl_cpsw.h:682
Definition: csl_cpsw.h:601
Uint32 p0TxEccErrEn
Definition: csl_cpsw.h:244
CSL_CPSW_ALE_ADDRTYPE CSL_CPSW_getALEAddressType(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 vlanId
Definition: csl_cpsw.h:738
Uint32 minorVer
Definition: csl_cpsw.h:125
Uint32 polYellowhit
Definition: csl_cpsw.h:1572
Uint32 CSL_CPSW_isAleTxRateLimitEnabled(CSL_AleRegs *hCpswAleRegs)
Uint32 trunkFlag
Definition: csl_cpsw.h:729
Uint32 estCntErr
Definition: csl_cpsw.h:1676
Uint32 enableTTLCheck
Definition: csl_cpsw.h:1351
void CSL_CPSW_setAleOUIAddrEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_OUIADDR_ENTRY *pOUIAddrCfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 CSL_CPSW_getAleUpdateBW(CSL_AleRegs *hCpswAleRegs)
UInt32 numLSBIgnore
Definition: csl_cpsw.h:796
Definition: csl_cpsw.h:845
Uint32 rtlVer
Definition: csl_cpsw.h:457
Definition: csl_cpsw.h:1208
Uint32 CSL_CPSW_isAleLearnNoVIDEnabled(CSL_AleRegs *hCpswAleRegs)
void CSL_CPSW_getPortTimeSyncVlanLTypeReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pTsVlanLtype1, Uint32 *pTsVlanLtype2)
Definition: csl_cpsw.h:1568
Uint32 rxLpi
Definition: csl_cpsw.h:1145
Uint32 rxGapEnPri5
Definition: csl_cpsw.h:286
Definition: csl_cpsw.h:1184
Uint32 p0RxChksumEn
Definition: csl_cpsw.h:262
Uint32 tsTxAnnexDEnable
Definition: csl_cpsw.h:951
Uint32 dstIpIdx
Definition: csl_cpsw.h:1315
Uint32 txWake
Definition: csl_cpsw.h:1152
Definition: csl_cpsw.h:557
Uint32 CSL_CPSW_isAleVlanAwareEnabled(CSL_AleRegs *hCpswAleRegs)
void CSL_CPSW_disableAleRateLimit(CSL_AleRegs *hCpswAleRegs)
void CSL_CPSW_getAleVlanMaskMuxReg(CSL_AleRegs *hCpswAleRegs, Uint32 *vlanMaskMux)
Uint32 p0TxPriActivePri4
Definition: csl_cpsw.h:345
Uint32 vlanMemList
Definition: csl_cpsw.h:741
void CSL_CPSW_getPortRawStats(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPSW_STATS *pCpswStats)
Definition: csl_cpsw.h:1548
bool trunkEnablePri
Definition: csl_cpsw.h:1213
Uint32 eeeEnable
Definition: csl_cpsw.h:193
void CSL_CPSW_getPortBlockCountReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pRxBlkCnt_e, Uint32 *pRxBlkCnt_p, Uint32 *pTxBlkCnt)
void CSL_CPSW_setAlePortMirrorSouce(CSL_AleRegs *hCpswAleRegs, Uint32 portNo, bool enableMirror)
void CSL_CPSW_setAleCtrl2TrunkParams(CSL_AleRegs *hCpswAleRegs, CSL_CPSW_ALE_CTRL2_TRUNK_CONFIG *trunkCfg)
void CSL_CPSW_getPortEstConfig(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, CSL_CPSW_EST_CONFIG *pEstConfig)
Uint32 p0HostBlksPri1
Definition: csl_cpsw.h:403
Uint32 numRLimChans
Definition: csl_cpsw.h:1080
void CSL_CPSW_setAleUpdateBW(CSL_AleRegs *hCpswAleRegs, Uint32 aleUpdBW)
CSL_CPSW_ALE_POLICER_CONTROL_YELLOWTHRESH
Definition: csl_cpsw.h:1537
void CSL_CPSW_setAlePolicerEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_POLICER_ENTRY *pPolCfg)
Uint32 rxGapEnPri1
Definition: csl_cpsw.h:298
void CSL_CPSW_setAleOutVlanEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_OUTER_VLAN_ENTRY *pOutVlanCfg, CSL_CPSW_ALETABLE_TYPE aleType)
void CSL_CPSW_enablePort0(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 TxCarrierSLoss
Definition: csl_cpsw.h:1442
void CSL_CPSW_setAleVlanUnicastAddrEntry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_VLANUNICASTADDR_ENTRY *pVlanUcastAddrCfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 tsTxAnnexFEnable
Definition: csl_cpsw.h:957
void CSL_CPSW_setAleUnknwnVlanUnregMcastReg(CSL_AleRegs *hCpswAleRegs, Uint32 aleUnknwnVlanUnregMcastVal)
Uint32 ts107Enable
Definition: csl_cpsw.h:984
Definition: csl_cpsw.h:834
void CSL_CPSW_setPTypeReg(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_PTYPE *pPtypeCfg)
CSL_CPSW_ALE_POLICER_ENTRYTYPE
Defines ALE Policer Entry types.
Definition: csl_cpsw.h:599
Uint32 dropDoubleVlan
Definition: csl_cpsw.h:546
Uint8 CSL_CPSW_getEstTsDomain(CSL_Xge_cpswRegs *hCpswRegs)
Definition: csl_cpsw.h:589
void CSL_CPSW_setAleOAMLpbkControl(CSL_AleRegs *hCpswAleRegs, Uint32 lpbkEnablePortMask)
void CSL_CPSW_setAlePolicerGlobConfig(CSL_AleRegs *hCpswAleRegs, CSL_CPSW_ALE_POLICER_GLOB_CONFIG *pGlobConfig)
Holds the ALE Port control register info.
Definition: csl_cpsw.h:487
void CSL_CPSW_getPortMACAddress(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint8 *pMacAddress)
void CSL_CPSW_setTxBlksPri(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint8 pri, Uint32 blks)
void CSL_CPSW_setRxPriFlowControl(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint8 pri)
void CSL_CPSW_setP0HostBlksPri(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_CPPI_P0_HOSTBLKSPRI *pCppiHostBlksPri)
void CSL_CPSW_setAleIPNxtHdrWhitelist(CSL_AleRegs *hCpswAleRegs, Uint8 ipNxtHdr0, Uint8 ipNxtHdr1, Uint8 ipNxtHdr2, Uint8 ipNxtHdr3)
void CSL_CPSW_setPortTxPriMapReg(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 *pPortTxPriMap)
Uint32 CSL_CPSW_getTxDstThresholdClrX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNo, Uint32 pri)
Uint32 tsVlanLType1
Definition: csl_cpsw.h:1029
void CSL_CPSW_getRawStats(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_STATS *pCpswStats)
Uint32 trunkBase
Definition: csl_cpsw.h:1209
Holds CPPI_P0_FIFO_Status register contents. This is not applicable for 2 port switch.
Definition: csl_cpsw.h:310
Uint32 ts319Enable
Definition: csl_cpsw.h:1011
Uint32 estFillEnable
Definition: csl_cpsw.h:1717
Uint32 thread
Definition: csl_cpsw.h:1318
void CSL_CPSW_readEstFetchCmd(CSL_Xge_cpswRegs *hCpswRegs, Uint32 portNum, Uint32 index, Uint32 *fetchCount, Uint8 *fetchAllow)
Uint32 CSL_CPSW_isP0TxCastagnoliCRCEnabled(CSL_Xge_cpswRegs *hCpswRegs)
Uint32 CSL_CPSW_isAleAgeOutDone(CSL_AleRegs *hCpswAleRegs)
Uint32 tsTTLNonzeroEnable
Definition: csl_cpsw.h:1020
void CSL_CPSW_setEEEGlobConfig(CSL_Xge_cpswRegs *hCpswRegs, CSL_CPSW_EEE_GLOB_CONFIG *pGlobConfig)
Uint32 enablePriorityOR
Definition: csl_cpsw.h:1555
Uint32 RxGoodFrames
Definition: csl_cpsw.h:1370
void CSL_CPSW_enableAleRateLimit(CSL_AleRegs *hCpswAleRegs)
void CSL_CPSW_setAleIPv6Entry(CSL_AleRegs *hCpswAleRegs, Uint32 index, CSL_CPSW_ALE_IPv6_ENTRY *pIPv6Cfg, CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 txFifoHold
Definition: csl_cpsw.h:1156
Uint32 CSL_CPSW_getIpv4IgnBitsMax(CSL_CPSW_ALETABLE_TYPE aleType)
Uint32 tsMsgTypeEnable
Definition: csl_cpsw.h:972
Uint32 CSL_CPSW_isAleOUIDenyModeEnabled(CSL_AleRegs *hCpswAleRegs)
Uint32 regMcastFloodMask
Definition: csl_cpsw.h:752
Definition: csl_cpsw.h:1180
Uint32 mcastFwdState
Definition: csl_cpsw.h:642
void CSL_CPSW_setGapThreshold(CSL_Xge_cpswRegs *hCpswRegs, Uint32 gapThreshold)
Uint32 portNumber
Definition: csl_cpsw.h:677
Uint32 CSL_CPSW_getCppiTxDstThresholdSetX(CSL_Xge_cpswRegs *hCpswRegs, Uint32 pri)
Uint32 polTestIdx
Definition: csl_cpsw.h:1565
void CSL_CPSW_disableAleOUIDenyMode(CSL_AleRegs *hCpswAleRegs)
Uint32 p6StatEnable
Definition: csl_cpsw.h:873
Uint32 port4PriorityTypeEscalateEnable
Definition: csl_cpsw.h:1593
Uint32 PortmaskFrop
Definition: csl_cpsw.h:1472
Definition: csl_cpsw.h:479
Uint32 rxGapEnPri4
Definition: csl_cpsw.h:289
Holds the Time sync submodule's version info.
Definition: csl_cpsw.h:123
Uint32 secureEnable
Definition: csl_cpsw.h:671
void CSL_CPSW_setAlePortControlReg(CSL_AleRegs *hCpswAleRegs, Uint32 portNo, CSL_CPSW_ALE_PORTCONTROL *pPortControlInfo)
void CSL_CPSW_enableAleTxRateLimit(CSL_AleRegs *hCpswAleRegs)
Uint32 p0RxPassCrcErr
Definition: csl_cpsw.h:190
Uint32 AleUnKnUniBytes
Definition: csl_cpsw.h:1493