summaryrefslogtreecommitdiff
path: root/arch/mips/mach-octeon/include/mach/cvmx-ipd-defs.h
blob: ad860fc7db67973dcb991ad7922577134bcc5837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2020 Marvell International Ltd.
 *
 * Configuration and status register (CSR) type definitions for
 * Octeon ipd.
 */

#ifndef __CVMX_IPD_DEFS_H__
#define __CVMX_IPD_DEFS_H__

#define CVMX_IPD_1ST_MBUFF_SKIP		    (0x00014F0000000000ull)
#define CVMX_IPD_1st_NEXT_PTR_BACK	    (0x00014F0000000150ull)
#define CVMX_IPD_2nd_NEXT_PTR_BACK	    (0x00014F0000000158ull)
#define CVMX_IPD_BIST_STATUS		    (0x00014F00000007F8ull)
#define CVMX_IPD_BPIDX_MBUF_TH(offset)	    (0x00014F0000002000ull + ((offset) & 63) * 8)
#define CVMX_IPD_BPID_BP_COUNTERX(offset)   (0x00014F0000003000ull + ((offset) & 63) * 8)
#define CVMX_IPD_BP_PRT_RED_END		    (0x00014F0000000328ull)
#define CVMX_IPD_CLK_COUNT		    (0x00014F0000000338ull)
#define CVMX_IPD_CREDITS		    (0x00014F0000004410ull)
#define CVMX_IPD_CTL_STATUS		    (0x00014F0000000018ull)
#define CVMX_IPD_ECC_CTL		    (0x00014F0000004408ull)
#define CVMX_IPD_FREE_PTR_FIFO_CTL	    (0x00014F0000000780ull)
#define CVMX_IPD_FREE_PTR_VALUE		    (0x00014F0000000788ull)
#define CVMX_IPD_HOLD_PTR_FIFO_CTL	    (0x00014F0000000790ull)
#define CVMX_IPD_INT_ENB		    (0x00014F0000000160ull)
#define CVMX_IPD_INT_SUM		    (0x00014F0000000168ull)
#define CVMX_IPD_NEXT_PKT_PTR		    (0x00014F00000007A0ull)
#define CVMX_IPD_NEXT_WQE_PTR		    (0x00014F00000007A8ull)
#define CVMX_IPD_NOT_1ST_MBUFF_SKIP	    (0x00014F0000000008ull)
#define CVMX_IPD_ON_BP_DROP_PKTX(offset)    (0x00014F0000004100ull)
#define CVMX_IPD_PACKET_MBUFF_SIZE	    (0x00014F0000000010ull)
#define CVMX_IPD_PKT_ERR		    (0x00014F00000003F0ull)
#define CVMX_IPD_PKT_PTR_VALID		    (0x00014F0000000358ull)
#define CVMX_IPD_PORTX_BP_PAGE_CNT(offset)  (0x00014F0000000028ull + ((offset) & 63) * 8)
#define CVMX_IPD_PORTX_BP_PAGE_CNT2(offset) (0x00014F0000000368ull + ((offset) & 63) * 8 - 8 * 36)
#define CVMX_IPD_PORTX_BP_PAGE_CNT3(offset) (0x00014F00000003D0ull + ((offset) & 63) * 8 - 8 * 40)
#define CVMX_IPD_PORT_BP_COUNTERS2_PAIRX(offset)                                                   \
	(0x00014F0000000388ull + ((offset) & 63) * 8 - 8 * 36)
#define CVMX_IPD_PORT_BP_COUNTERS3_PAIRX(offset)                                                   \
	(0x00014F00000003B0ull + ((offset) & 63) * 8 - 8 * 40)
#define CVMX_IPD_PORT_BP_COUNTERS4_PAIRX(offset)                                                   \
	(0x00014F0000000410ull + ((offset) & 63) * 8 - 8 * 44)
#define CVMX_IPD_PORT_BP_COUNTERS_PAIRX(offset) (0x00014F00000001B8ull + ((offset) & 63) * 8)
#define CVMX_IPD_PORT_PTR_FIFO_CTL		(0x00014F0000000798ull)
#define CVMX_IPD_PORT_QOS_INTX(offset)		(0x00014F0000000808ull + ((offset) & 7) * 8)
#define CVMX_IPD_PORT_QOS_INT_ENBX(offset)	(0x00014F0000000848ull + ((offset) & 7) * 8)
#define CVMX_IPD_PORT_QOS_X_CNT(offset)		(0x00014F0000000888ull + ((offset) & 511) * 8)
#define CVMX_IPD_PORT_SOPX(offset)		(0x00014F0000004400ull)
#define CVMX_IPD_PRC_HOLD_PTR_FIFO_CTL		(0x00014F0000000348ull)
#define CVMX_IPD_PRC_PORT_PTR_FIFO_CTL		(0x00014F0000000350ull)
#define CVMX_IPD_PTR_COUNT			(0x00014F0000000320ull)
#define CVMX_IPD_PWP_PTR_FIFO_CTL		(0x00014F0000000340ull)
#define CVMX_IPD_QOS0_RED_MARKS			CVMX_IPD_QOSX_RED_MARKS(0)
#define CVMX_IPD_QOS1_RED_MARKS			CVMX_IPD_QOSX_RED_MARKS(1)
#define CVMX_IPD_QOS2_RED_MARKS			CVMX_IPD_QOSX_RED_MARKS(2)
#define CVMX_IPD_QOS3_RED_MARKS			CVMX_IPD_QOSX_RED_MARKS(3)
#define CVMX_IPD_QOS4_RED_MARKS			CVMX_IPD_QOSX_RED_MARKS(4)
#define CVMX_IPD_QOS5_RED_MARKS			CVMX_IPD_QOSX_RED_MARKS(5)
#define CVMX_IPD_QOS6_RED_MARKS			CVMX_IPD_QOSX_RED_MARKS(6)
#define CVMX_IPD_QOS7_RED_MARKS			CVMX_IPD_QOSX_RED_MARKS(7)
#define CVMX_IPD_QOSX_RED_MARKS(offset)		(0x00014F0000000178ull + ((offset) & 7) * 8)
#define CVMX_IPD_QUE0_FREE_PAGE_CNT		(0x00014F0000000330ull)
#define CVMX_IPD_RED_BPID_ENABLEX(offset)	(0x00014F0000004200ull)
#define CVMX_IPD_RED_DELAY			(0x00014F0000004300ull)
#define CVMX_IPD_RED_PORT_ENABLE		(0x00014F00000002D8ull)
#define CVMX_IPD_RED_PORT_ENABLE2		(0x00014F00000003A8ull)
#define CVMX_IPD_RED_QUE0_PARAM			CVMX_IPD_RED_QUEX_PARAM(0)
#define CVMX_IPD_RED_QUE1_PARAM			CVMX_IPD_RED_QUEX_PARAM(1)
#define CVMX_IPD_RED_QUE2_PARAM			CVMX_IPD_RED_QUEX_PARAM(2)
#define CVMX_IPD_RED_QUE3_PARAM			CVMX_IPD_RED_QUEX_PARAM(3)
#define CVMX_IPD_RED_QUE4_PARAM			CVMX_IPD_RED_QUEX_PARAM(4)
#define CVMX_IPD_RED_QUE5_PARAM			CVMX_IPD_RED_QUEX_PARAM(5)
#define CVMX_IPD_RED_QUE6_PARAM			CVMX_IPD_RED_QUEX_PARAM(6)
#define CVMX_IPD_RED_QUE7_PARAM			CVMX_IPD_RED_QUEX_PARAM(7)
#define CVMX_IPD_RED_QUEX_PARAM(offset)		(0x00014F00000002E0ull + ((offset) & 7) * 8)
#define CVMX_IPD_REQ_WGT			(0x00014F0000004418ull)
#define CVMX_IPD_SUB_PORT_BP_PAGE_CNT		(0x00014F0000000148ull)
#define CVMX_IPD_SUB_PORT_FCS			(0x00014F0000000170ull)
#define CVMX_IPD_SUB_PORT_QOS_CNT		(0x00014F0000000800ull)
#define CVMX_IPD_WQE_FPA_QUEUE			(0x00014F0000000020ull)
#define CVMX_IPD_WQE_PTR_VALID			(0x00014F0000000360ull)

/**
 * cvmx_ipd_1st_mbuff_skip
 *
 * The number of words that the IPD will skip when writing the first MBUFF.
 *
 */
union cvmx_ipd_1st_mbuff_skip {
	u64 u64;
	struct cvmx_ipd_1st_mbuff_skip_s {
		u64 reserved_6_63 : 58;
		u64 skip_sz : 6;
	} s;
	struct cvmx_ipd_1st_mbuff_skip_s cn30xx;
	struct cvmx_ipd_1st_mbuff_skip_s cn31xx;
	struct cvmx_ipd_1st_mbuff_skip_s cn38xx;
	struct cvmx_ipd_1st_mbuff_skip_s cn38xxp2;
	struct cvmx_ipd_1st_mbuff_skip_s cn50xx;
	struct cvmx_ipd_1st_mbuff_skip_s cn52xx;
	struct cvmx_ipd_1st_mbuff_skip_s cn52xxp1;
	struct cvmx_ipd_1st_mbuff_skip_s cn56xx;
	struct cvmx_ipd_1st_mbuff_skip_s cn56xxp1;
	struct cvmx_ipd_1st_mbuff_skip_s cn58xx;
	struct cvmx_ipd_1st_mbuff_skip_s cn58xxp1;
	struct cvmx_ipd_1st_mbuff_skip_s cn61xx;
	struct cvmx_ipd_1st_mbuff_skip_s cn63xx;
	struct cvmx_ipd_1st_mbuff_skip_s cn63xxp1;
	struct cvmx_ipd_1st_mbuff_skip_s cn66xx;
	struct cvmx_ipd_1st_mbuff_skip_s cn68xx;
	struct cvmx_ipd_1st_mbuff_skip_s cn68xxp1;
	struct cvmx_ipd_1st_mbuff_skip_s cn70xx;
	struct cvmx_ipd_1st_mbuff_skip_s cn70xxp1;
	struct cvmx_ipd_1st_mbuff_skip_s cnf71xx;
};

typedef union cvmx_ipd_1st_mbuff_skip cvmx_ipd_1st_mbuff_skip_t;

/**
 * cvmx_ipd_1st_next_ptr_back
 *
 * IPD_1st_NEXT_PTR_BACK = IPD First Next Pointer Back Values
 * Contains the Back Field for use in creating the Next Pointer Header for the First MBUF
 */
union cvmx_ipd_1st_next_ptr_back {
	u64 u64;
	struct cvmx_ipd_1st_next_ptr_back_s {
		u64 reserved_4_63 : 60;
		u64 back : 4;
	} s;
	struct cvmx_ipd_1st_next_ptr_back_s cn30xx;
	struct cvmx_ipd_1st_next_ptr_back_s cn31xx;
	struct cvmx_ipd_1st_next_ptr_back_s cn38xx;
	struct cvmx_ipd_1st_next_ptr_back_s cn38xxp2;
	struct cvmx_ipd_1st_next_ptr_back_s cn50xx;
	struct cvmx_ipd_1st_next_ptr_back_s cn52xx;
	struct cvmx_ipd_1st_next_ptr_back_s cn52xxp1;
	struct cvmx_ipd_1st_next_ptr_back_s cn56xx;
	struct cvmx_ipd_1st_next_ptr_back_s cn56xxp1;
	struct cvmx_ipd_1st_next_ptr_back_s cn58xx;
	struct cvmx_ipd_1st_next_ptr_back_s cn58xxp1;
	struct cvmx_ipd_1st_next_ptr_back_s cn61xx;
	struct cvmx_ipd_1st_next_ptr_back_s cn63xx;
	struct cvmx_ipd_1st_next_ptr_back_s cn63xxp1;
	struct cvmx_ipd_1st_next_ptr_back_s cn66xx;
	struct cvmx_ipd_1st_next_ptr_back_s cn68xx;
	struct cvmx_ipd_1st_next_ptr_back_s cn68xxp1;
	struct cvmx_ipd_1st_next_ptr_back_s cn70xx;
	struct cvmx_ipd_1st_next_ptr_back_s cn70xxp1;
	struct cvmx_ipd_1st_next_ptr_back_s cnf71xx;
};

typedef union cvmx_ipd_1st_next_ptr_back cvmx_ipd_1st_next_ptr_back_t;

/**
 * cvmx_ipd_2nd_next_ptr_back
 *
 * Contains the Back Field for use in creating the Next Pointer Header for the First MBUF
 *
 */
union cvmx_ipd_2nd_next_ptr_back {
	u64 u64;
	struct cvmx_ipd_2nd_next_ptr_back_s {
		u64 reserved_4_63 : 60;
		u64 back : 4;
	} s;
	struct cvmx_ipd_2nd_next_ptr_back_s cn30xx;
	struct cvmx_ipd_2nd_next_ptr_back_s cn31xx;
	struct cvmx_ipd_2nd_next_ptr_back_s cn38xx;
	struct cvmx_ipd_2nd_next_ptr_back_s cn38xxp2;
	struct cvmx_ipd_2nd_next_ptr_back_s cn50xx;
	struct cvmx_ipd_2nd_next_ptr_back_s cn52xx;
	struct cvmx_ipd_2nd_next_ptr_back_s cn52xxp1;
	struct cvmx_ipd_2nd_next_ptr_back_s cn56xx;
	struct cvmx_ipd_2nd_next_ptr_back_s cn56xxp1;
	struct cvmx_ipd_2nd_next_ptr_back_s cn58xx;
	struct cvmx_ipd_2nd_next_ptr_back_s cn58xxp1;
	struct cvmx_ipd_2nd_next_ptr_back_s cn61xx;
	struct cvmx_ipd_2nd_next_ptr_back_s cn63xx;
	struct cvmx_ipd_2nd_next_ptr_back_s cn63xxp1;
	struct cvmx_ipd_2nd_next_ptr_back_s cn66xx;
	struct cvmx_ipd_2nd_next_ptr_back_s cn68xx;
	struct cvmx_ipd_2nd_next_ptr_back_s cn68xxp1;
	struct cvmx_ipd_2nd_next_ptr_back_s cn70xx;
	struct cvmx_ipd_2nd_next_ptr_back_s cn70xxp1;
	struct cvmx_ipd_2nd_next_ptr_back_s cnf71xx;
};

typedef union cvmx_ipd_2nd_next_ptr_back cvmx_ipd_2nd_next_ptr_back_t;

/**
 * cvmx_ipd_bist_status
 *
 * BIST Status for IPD's Memories.
 *
 */
union cvmx_ipd_bist_status {
	u64 u64;
	struct cvmx_ipd_bist_status_s {
		u64 reserved_23_63 : 41;
		u64 iiwo1 : 1;
		u64 iiwo0 : 1;
		u64 iio1 : 1;
		u64 iio0 : 1;
		u64 pbm4 : 1;
		u64 csr_mem : 1;
		u64 csr_ncmd : 1;
		u64 pwq_wqed : 1;
		u64 pwq_wp1 : 1;
		u64 pwq_pow : 1;
		u64 ipq_pbe1 : 1;
		u64 ipq_pbe0 : 1;
		u64 pbm3 : 1;
		u64 pbm2 : 1;
		u64 pbm1 : 1;
		u64 pbm0 : 1;
		u64 pbm_word : 1;
		u64 pwq1 : 1;
		u64 pwq0 : 1;
		u64 prc_off : 1;
		u64 ipd_old : 1;
		u64 ipd_new : 1;
		u64 pwp : 1;
	} s;
	struct cvmx_ipd_bist_status_cn30xx {
		u64 reserved_16_63 : 48;
		u64 pwq_wqed : 1;
		u64 pwq_wp1 : 1;
		u64 pwq_pow : 1;
		u64 ipq_pbe1 : 1;
		u64 ipq_pbe0 : 1;
		u64 pbm3 : 1;
		u64 pbm2 : 1;
		u64 pbm1 : 1;
		u64 pbm0 : 1;
		u64 pbm_word : 1;
		u64 pwq1 : 1;
		u64 pwq0 : 1;
		u64 prc_off : 1;
		u64 ipd_old : 1;
		u64 ipd_new : 1;
		u64 pwp : 1;
	} cn30xx;
	struct cvmx_ipd_bist_status_cn30xx cn31xx;
	struct cvmx_ipd_bist_status_cn30xx cn38xx;
	struct cvmx_ipd_bist_status_cn30xx cn38xxp2;
	struct cvmx_ipd_bist_status_cn30xx cn50xx;
	struct cvmx_ipd_bist_status_cn52xx {
		u64 reserved_18_63 : 46;
		u64 csr_mem : 1;
		u64 csr_ncmd : 1;
		u64 pwq_wqed : 1;
		u64 pwq_wp1 : 1;
		u64 pwq_pow : 1;
		u64 ipq_pbe1 : 1;
		u64 ipq_pbe0 : 1;
		u64 pbm3 : 1;
		u64 pbm2 : 1;
		u64 pbm1 : 1;
		u64 pbm0 : 1;
		u64 pbm_word : 1;
		u64 pwq1 : 1;
		u64 pwq0 : 1;
		u64 prc_off : 1;
		u64 ipd_old : 1;
		u64 ipd_new : 1;
		u64 pwp : 1;
	} cn52xx;
	struct cvmx_ipd_bist_status_cn52xx cn52xxp1;
	struct cvmx_ipd_bist_status_cn52xx cn56xx;
	struct cvmx_ipd_bist_status_cn52xx cn56xxp1;
	struct cvmx_ipd_bist_status_cn30xx cn58xx;
	struct cvmx_ipd_bist_status_cn30xx cn58xxp1;
	struct cvmx_ipd_bist_status_cn52xx cn61xx;
	struct cvmx_ipd_bist_status_cn52xx cn63xx;
	struct cvmx_ipd_bist_status_cn52xx cn63xxp1;
	struct cvmx_ipd_bist_status_cn52xx cn66xx;
	struct cvmx_ipd_bist_status_s cn68xx;
	struct cvmx_ipd_bist_status_s cn68xxp1;
	struct cvmx_ipd_bist_status_cn52xx cn70xx;
	struct cvmx_ipd_bist_status_cn52xx cn70xxp1;
	struct cvmx_ipd_bist_status_cn52xx cnf71xx;
};

typedef union cvmx_ipd_bist_status cvmx_ipd_bist_status_t;

/**
 * cvmx_ipd_bp_prt_red_end
 *
 * When IPD applies backpressure to a PORT and the corresponding bit in this register is set,
 * the RED Unit will drop packets for that port.
 */
union cvmx_ipd_bp_prt_red_end {
	u64 u64;
	struct cvmx_ipd_bp_prt_red_end_s {
		u64 reserved_48_63 : 16;
		u64 prt_enb : 48;
	} s;
	struct cvmx_ipd_bp_prt_red_end_cn30xx {
		u64 reserved_36_63 : 28;
		u64 prt_enb : 36;
	} cn30xx;
	struct cvmx_ipd_bp_prt_red_end_cn30xx cn31xx;
	struct cvmx_ipd_bp_prt_red_end_cn30xx cn38xx;
	struct cvmx_ipd_bp_prt_red_end_cn30xx cn38xxp2;
	struct cvmx_ipd_bp_prt_red_end_cn30xx cn50xx;
	struct cvmx_ipd_bp_prt_red_end_cn52xx {
		u64 reserved_40_63 : 24;
		u64 prt_enb : 40;
	} cn52xx;
	struct cvmx_ipd_bp_prt_red_end_cn52xx cn52xxp1;
	struct cvmx_ipd_bp_prt_red_end_cn52xx cn56xx;
	struct cvmx_ipd_bp_prt_red_end_cn52xx cn56xxp1;
	struct cvmx_ipd_bp_prt_red_end_cn30xx cn58xx;
	struct cvmx_ipd_bp_prt_red_end_cn30xx cn58xxp1;
	struct cvmx_ipd_bp_prt_red_end_s cn61xx;
	struct cvmx_ipd_bp_prt_red_end_cn63xx {
		u64 reserved_44_63 : 20;
		u64 prt_enb : 44;
	} cn63xx;
	struct cvmx_ipd_bp_prt_red_end_cn63xx cn63xxp1;
	struct cvmx_ipd_bp_prt_red_end_s cn66xx;
	struct cvmx_ipd_bp_prt_red_end_s cn70xx;
	struct cvmx_ipd_bp_prt_red_end_s cn70xxp1;
	struct cvmx_ipd_bp_prt_red_end_s cnf71xx;
};

typedef union cvmx_ipd_bp_prt_red_end cvmx_ipd_bp_prt_red_end_t;

/**
 * cvmx_ipd_bpid#_mbuf_th
 *
 * 0x2000 2FFF
 *
 *                  IPD_BPIDX_MBUF_TH = IPD BPID  MBUFF Threshold
 *
 * The number of MBUFFs in use by the BPID, that when exceeded, backpressure will be applied to the BPID.
 */
union cvmx_ipd_bpidx_mbuf_th {
	u64 u64;
	struct cvmx_ipd_bpidx_mbuf_th_s {
		u64 reserved_18_63 : 46;
		u64 bp_enb : 1;
		u64 page_cnt : 17;
	} s;
	struct cvmx_ipd_bpidx_mbuf_th_s cn68xx;
	struct cvmx_ipd_bpidx_mbuf_th_s cn68xxp1;
};

typedef union cvmx_ipd_bpidx_mbuf_th cvmx_ipd_bpidx_mbuf_th_t;

/**
 * cvmx_ipd_bpid_bp_counter#
 *
 * RESERVE SPACE UPTO 0x2FFF
 *
 * 0x3000 0x3ffff
 *
 * IPD_BPID_BP_COUNTERX = MBUF BPID Counters used to generate Back Pressure Per BPID.
 */
union cvmx_ipd_bpid_bp_counterx {
	u64 u64;
	struct cvmx_ipd_bpid_bp_counterx_s {
		u64 reserved_25_63 : 39;
		u64 cnt_val : 25;
	} s;
	struct cvmx_ipd_bpid_bp_counterx_s cn68xx;
	struct cvmx_ipd_bpid_bp_counterx_s cn68xxp1;
};

typedef union cvmx_ipd_bpid_bp_counterx cvmx_ipd_bpid_bp_counterx_t;

/**
 * cvmx_ipd_clk_count
 *
 * Counts the number of core clocks periods since the de-asserition of reset.
 *
 */
union cvmx_ipd_clk_count {
	u64 u64;
	struct cvmx_ipd_clk_count_s {
		u64 clk_cnt : 64;
	} s;
	struct cvmx_ipd_clk_count_s cn30xx;
	struct cvmx_ipd_clk_count_s cn31xx;
	struct cvmx_ipd_clk_count_s cn38xx;
	struct cvmx_ipd_clk_count_s cn38xxp2;
	struct cvmx_ipd_clk_count_s cn50xx;
	struct cvmx_ipd_clk_count_s cn52xx;
	struct cvmx_ipd_clk_count_s cn52xxp1;
	struct cvmx_ipd_clk_count_s cn56xx;
	struct cvmx_ipd_clk_count_s cn56xxp1;
	struct cvmx_ipd_clk_count_s cn58xx;
	struct cvmx_ipd_clk_count_s cn58xxp1;
	struct cvmx_ipd_clk_count_s cn61xx;
	struct cvmx_ipd_clk_count_s cn63xx;
	struct cvmx_ipd_clk_count_s cn63xxp1;
	struct cvmx_ipd_clk_count_s cn66xx;
	struct cvmx_ipd_clk_count_s cn68xx;
	struct cvmx_ipd_clk_count_s cn68xxp1;
	struct cvmx_ipd_clk_count_s cn70xx;
	struct cvmx_ipd_clk_count_s cn70xxp1;
	struct cvmx_ipd_clk_count_s cnf71xx;
};

typedef union cvmx_ipd_clk_count cvmx_ipd_clk_count_t;

/**
 * cvmx_ipd_credits
 *
 * IPD_CREDITS = IPD Credits
 *
 * The credits allowed for IPD.
 */
union cvmx_ipd_credits {
	u64 u64;
	struct cvmx_ipd_credits_s {
		u64 reserved_16_63 : 48;
		u64 iob_wrc : 8;
		u64 iob_wr : 8;
	} s;
	struct cvmx_ipd_credits_s cn68xx;
	struct cvmx_ipd_credits_s cn68xxp1;
};

typedef union cvmx_ipd_credits cvmx_ipd_credits_t;

/**
 * cvmx_ipd_ctl_status
 *
 * The number of words in a MBUFF used for packet data store.
 *
 */
union cvmx_ipd_ctl_status {
	u64 u64;
	struct cvmx_ipd_ctl_status_s {
		u64 reserved_18_63 : 46;
		u64 use_sop : 1;
		u64 rst_done : 1;
		u64 clken : 1;
		u64 no_wptr : 1;
		u64 pq_apkt : 1;
		u64 pq_nabuf : 1;
		u64 ipd_full : 1;
		u64 pkt_off : 1;
		u64 len_m8 : 1;
		u64 reset : 1;
		u64 addpkt : 1;
		u64 naddbuf : 1;
		u64 pkt_lend : 1;
		u64 wqe_lend : 1;
		u64 pbp_en : 1;
		cvmx_ipd_mode_t opc_mode : 2;
		u64 ipd_en : 1;
	} s;
	struct cvmx_ipd_ctl_status_cn30xx {
		u64 reserved_10_63 : 54;
		u64 len_m8 : 1;
		u64 reset : 1;
		u64 addpkt : 1;
		u64 naddbuf : 1;
		u64 pkt_lend : 1;
		u64 wqe_lend : 1;
		u64 pbp_en : 1;
		cvmx_ipd_mode_t opc_mode : 2;
		u64 ipd_en : 1;
	} cn30xx;
	struct cvmx_ipd_ctl_status_cn30xx cn31xx;
	struct cvmx_ipd_ctl_status_cn30xx cn38xx;
	struct cvmx_ipd_ctl_status_cn38xxp2 {
		u64 reserved_9_63 : 55;
		u64 reset : 1;
		u64 addpkt : 1;
		u64 naddbuf : 1;
		u64 pkt_lend : 1;
		u64 wqe_lend : 1;
		u64 pbp_en : 1;
		cvmx_ipd_mode_t opc_mode : 2;
		u64 ipd_en : 1;
	} cn38xxp2;
	struct cvmx_ipd_ctl_status_cn50xx {
		u64 reserved_15_63 : 49;
		u64 no_wptr : 1;
		u64 pq_apkt : 1;
		u64 pq_nabuf : 1;
		u64 ipd_full : 1;
		u64 pkt_off : 1;
		u64 len_m8 : 1;
		u64 reset : 1;
		u64 addpkt : 1;
		u64 naddbuf : 1;
		u64 pkt_lend : 1;
		u64 wqe_lend : 1;
		u64 pbp_en : 1;
		cvmx_ipd_mode_t opc_mode : 2;
		u64 ipd_en : 1;
	} cn50xx;
	struct cvmx_ipd_ctl_status_cn50xx cn52xx;
	struct cvmx_ipd_ctl_status_cn50xx cn52xxp1;
	struct cvmx_ipd_ctl_status_cn50xx cn56xx;
	struct cvmx_ipd_ctl_status_cn50xx cn56xxp1;
	struct cvmx_ipd_ctl_status_cn58xx {
		u64 reserved_12_63 : 52;
		u64 ipd_full : 1;
		u64 pkt_off : 1;
		u64 len_m8 : 1;
		u64 reset : 1;
		u64 addpkt : 1;
		u64 naddbuf : 1;
		u64 pkt_lend : 1;
		u64 wqe_lend : 1;
		u64 pbp_en : 1;
		cvmx_ipd_mode_t opc_mode : 2;
		u64 ipd_en : 1;
	} cn58xx;
	struct cvmx_ipd_ctl_status_cn58xx cn58xxp1;
	struct cvmx_ipd_ctl_status_s cn61xx;
	struct cvmx_ipd_ctl_status_s cn63xx;
	struct cvmx_ipd_ctl_status_cn63xxp1 {
		u64 reserved_16_63 : 48;
		u64 clken : 1;
		u64 no_wptr : 1;
		u64 pq_apkt : 1;
		u64 pq_nabuf : 1;
		u64 ipd_full : 1;
		u64 pkt_off : 1;
		u64 len_m8 : 1;
		u64 reset : 1;
		u64 addpkt : 1;
		u64 naddbuf : 1;
		u64 pkt_lend : 1;
		u64 wqe_lend : 1;
		u64 pbp_en : 1;
		cvmx_ipd_mode_t opc_mode : 2;
		u64 ipd_en : 1;
	} cn63xxp1;
	struct cvmx_ipd_ctl_status_s cn66xx;
	struct cvmx_ipd_ctl_status_s cn68xx;
	struct cvmx_ipd_ctl_status_s cn68xxp1;
	struct cvmx_ipd_ctl_status_s cn70xx;
	struct cvmx_ipd_ctl_status_s cn70xxp1;
	struct cvmx_ipd_ctl_status_s cnf71xx;
};

typedef union cvmx_ipd_ctl_status cvmx_ipd_ctl_status_t;

/**
 * cvmx_ipd_ecc_ctl
 *
 * IPD_ECC_CTL = IPD ECC Control
 *
 * Allows inserting ECC errors for testing.
 */
union cvmx_ipd_ecc_ctl {
	u64 u64;
	struct cvmx_ipd_ecc_ctl_s {
		u64 reserved_8_63 : 56;
		u64 pm3_syn : 2;
		u64 pm2_syn : 2;
		u64 pm1_syn : 2;
		u64 pm0_syn : 2;
	} s;
	struct cvmx_ipd_ecc_ctl_s cn68xx;
	struct cvmx_ipd_ecc_ctl_s cn68xxp1;
};

typedef union cvmx_ipd_ecc_ctl cvmx_ipd_ecc_ctl_t;

/**
 * cvmx_ipd_free_ptr_fifo_ctl
 *
 * IPD_FREE_PTR_FIFO_CTL = IPD's FREE Pointer FIFO Control
 *
 * Allows reading of the Page-Pointers stored in the IPD's FREE Fifo.
 * See also the IPD_FREE_PTR_VALUE
 */
union cvmx_ipd_free_ptr_fifo_ctl {
	u64 u64;
	struct cvmx_ipd_free_ptr_fifo_ctl_s {
		u64 reserved_32_63 : 32;
		u64 max_cnts : 7;
		u64 wraddr : 8;
		u64 praddr : 8;
		u64 cena : 1;
		u64 raddr : 8;
	} s;
	struct cvmx_ipd_free_ptr_fifo_ctl_s cn68xx;
	struct cvmx_ipd_free_ptr_fifo_ctl_s cn68xxp1;
};

typedef union cvmx_ipd_free_ptr_fifo_ctl cvmx_ipd_free_ptr_fifo_ctl_t;

/**
 * cvmx_ipd_free_ptr_value
 *
 * IPD_FREE_PTR_VALUE = IPD's FREE Pointer Value
 *
 * The value of the pointer selected through the IPD_FREE_PTR_FIFO_CTL
 */
union cvmx_ipd_free_ptr_value {
	u64 u64;
	struct cvmx_ipd_free_ptr_value_s {
		u64 reserved_33_63 : 31;
		u64 ptr : 33;
	} s;
	struct cvmx_ipd_free_ptr_value_s cn68xx;
	struct cvmx_ipd_free_ptr_value_s cn68xxp1;
};

typedef union cvmx_ipd_free_ptr_value cvmx_ipd_free_ptr_value_t;

/**
 * cvmx_ipd_hold_ptr_fifo_ctl
 *
 * IPD_HOLD_PTR_FIFO_CTL = IPD's Holding Pointer FIFO Control
 *
 * Allows reading of the Page-Pointers stored in the IPD's Holding Fifo.
 */
union cvmx_ipd_hold_ptr_fifo_ctl {
	u64 u64;
	struct cvmx_ipd_hold_ptr_fifo_ctl_s {
		u64 reserved_43_63 : 21;
		u64 ptr : 33;
		u64 max_pkt : 3;
		u64 praddr : 3;
		u64 cena : 1;
		u64 raddr : 3;
	} s;
	struct cvmx_ipd_hold_ptr_fifo_ctl_s cn68xx;
	struct cvmx_ipd_hold_ptr_fifo_ctl_s cn68xxp1;
};

typedef union cvmx_ipd_hold_ptr_fifo_ctl cvmx_ipd_hold_ptr_fifo_ctl_t;

/**
 * cvmx_ipd_int_enb
 *
 * IPD_INTERRUPT_ENB = IPD Interrupt Enable Register
 * Used to enable the various interrupting conditions of IPD
 */
union cvmx_ipd_int_enb {
	u64 u64;
	struct cvmx_ipd_int_enb_s {
		u64 reserved_23_63 : 41;
		u64 pw3_dbe : 1;
		u64 pw3_sbe : 1;
		u64 pw2_dbe : 1;
		u64 pw2_sbe : 1;
		u64 pw1_dbe : 1;
		u64 pw1_sbe : 1;
		u64 pw0_dbe : 1;
		u64 pw0_sbe : 1;
		u64 dat : 1;
		u64 eop : 1;
		u64 sop : 1;
		u64 pq_sub : 1;
		u64 pq_add : 1;
		u64 bc_ovr : 1;
		u64 d_coll : 1;
		u64 c_coll : 1;
		u64 cc_ovr : 1;
		u64 dc_ovr : 1;
		u64 bp_sub : 1;
		u64 prc_par3 : 1;
		u64 prc_par2 : 1;
		u64 prc_par1 : 1;
		u64 prc_par0 : 1;
	} s;
	struct cvmx_ipd_int_enb_cn30xx {
		u64 reserved_5_63 : 59;
		u64 bp_sub : 1;
		u64 prc_par3 : 1;
		u64 prc_par2 : 1;
		u64 prc_par1 : 1;
		u64 prc_par0 : 1;
	} cn30xx;
	struct cvmx_ipd_int_enb_cn30xx cn31xx;
	struct cvmx_ipd_int_enb_cn38xx {
		u64 reserved_10_63 : 54;
		u64 bc_ovr : 1;
		u64 d_coll : 1;
		u64 c_coll : 1;
		u64 cc_ovr : 1;
		u64 dc_ovr : 1;
		u64 bp_sub : 1;
		u64 prc_par3 : 1;
		u64 prc_par2 : 1;
		u64 prc_par1 : 1;
		u64 prc_par0 : 1;
	} cn38xx;
	struct cvmx_ipd_int_enb_cn30xx cn38xxp2;
	struct cvmx_ipd_int_enb_cn38xx cn50xx;
	struct cvmx_ipd_int_enb_cn52xx {
		u64 reserved_12_63 : 52;
		u64 pq_sub : 1;
		u64 pq_add : 1;
		u64 bc_ovr : 1;
		u64 d_coll : 1;
		u64 c_coll : 1;
		u64 cc_ovr : 1;
		u64 dc_ovr : 1;
		u64 bp_sub : 1;
		u64 prc_par3 : 1;
		u64 prc_par2 : 1;
		u64 prc_par1 : 1;
		u64 prc_par0 : 1;
	} cn52xx;
	struct cvmx_ipd_int_enb_cn52xx cn52xxp1;
	struct cvmx_ipd_int_enb_cn52xx cn56xx;
	struct cvmx_ipd_int_enb_cn52xx cn56xxp1;
	struct cvmx_ipd_int_enb_cn38xx cn58xx;
	struct cvmx_ipd_int_enb_cn38xx cn58xxp1;
	struct cvmx_ipd_int_enb_cn52xx cn61xx;
	struct cvmx_ipd_int_enb_cn52xx cn63xx;
	struct cvmx_ipd_int_enb_cn52xx cn63xxp1;
	struct cvmx_ipd_int_enb_cn52xx cn66xx;
	struct cvmx_ipd_int_enb_s cn68xx;
	struct cvmx_ipd_int_enb_s cn68xxp1;
	struct cvmx_ipd_int_enb_cn52xx cn70xx;
	struct cvmx_ipd_int_enb_cn52xx cn70xxp1;
	struct cvmx_ipd_int_enb_cn52xx cnf71xx;
};

typedef union cvmx_ipd_int_enb cvmx_ipd_int_enb_t;

/**
 * cvmx_ipd_int_sum
 *
 * IPD_INTERRUPT_SUM = IPD Interrupt Summary Register
 * Set when an interrupt condition occurs, write '1' to clear.
 */
union cvmx_ipd_int_sum {
	u64 u64;
	struct cvmx_ipd_int_sum_s {
		u64 reserved_23_63 : 41;
		u64 pw3_dbe : 1;
		u64 pw3_sbe : 1;
		u64 pw2_dbe : 1;
		u64 pw2_sbe : 1;
		u64 pw1_dbe : 1;
		u64 pw1_sbe : 1;
		u64 pw0_dbe : 1;
		u64 pw0_sbe : 1;
		u64 dat : 1;
		u64 eop : 1;
		u64 sop : 1;
		u64 pq_sub : 1;
		u64 pq_add : 1;
		u64 bc_ovr : 1;
		u64 d_coll : 1;
		u64 c_coll : 1;
		u64 cc_ovr : 1;
		u64 dc_ovr : 1;
		u64 bp_sub : 1;
		u64 prc_par3 : 1;
		u64 prc_par2 : 1;
		u64 prc_par1 : 1;
		u64 prc_par0 : 1;
	} s;
	struct cvmx_ipd_int_sum_cn30xx {
		u64 reserved_5_63 : 59;
		u64 bp_sub : 1;
		u64 prc_par3 : 1;
		u64 prc_par2 : 1;
		u64 prc_par1 : 1;
		u64 prc_par0 : 1;
	} cn30xx;
	struct cvmx_ipd_int_sum_cn30xx cn31xx;
	struct cvmx_ipd_int_sum_cn38xx {
		u64 reserved_10_63 : 54;
		u64 bc_ovr : 1;
		u64 d_coll : 1;
		u64 c_coll : 1;
		u64 cc_ovr : 1;
		u64 dc_ovr : 1;
		u64 bp_sub : 1;
		u64 prc_par3 : 1;
		u64 prc_par2 : 1;
		u64 prc_par1 : 1;
		u64 prc_par0 : 1;
	} cn38xx;
	struct cvmx_ipd_int_sum_cn30xx cn38xxp2;
	struct cvmx_ipd_int_sum_cn38xx cn50xx;
	struct cvmx_ipd_int_sum_cn52xx {
		u64 reserved_12_63 : 52;
		u64 pq_sub : 1;
		u64 pq_add : 1;
		u64 bc_ovr : 1;
		u64 d_coll : 1;
		u64 c_coll : 1;
		u64 cc_ovr : 1;
		u64 dc_ovr : 1;
		u64 bp_sub : 1;
		u64 prc_par3 : 1;
		u64 prc_par2 : 1;
		u64 prc_par1 : 1;
		u64 prc_par0 : 1;
	} cn52xx;
	struct cvmx_ipd_int_sum_cn52xx cn52xxp1;
	struct cvmx_ipd_int_sum_cn52xx cn56xx;
	struct cvmx_ipd_int_sum_cn52xx cn56xxp1;
	struct cvmx_ipd_int_sum_cn38xx cn58xx;
	struct cvmx_ipd_int_sum_cn38xx cn58xxp1;
	struct cvmx_ipd_int_sum_cn52xx cn61xx;
	struct cvmx_ipd_int_sum_cn52xx cn63xx;
	struct cvmx_ipd_int_sum_cn52xx cn63xxp1;
	struct cvmx_ipd_int_sum_cn52xx cn66xx;
	struct cvmx_ipd_int_sum_s cn68xx;
	struct cvmx_ipd_int_sum_s cn68xxp1;
	struct cvmx_ipd_int_sum_cn52xx cn70xx;
	struct cvmx_ipd_int_sum_cn52xx cn70xxp1;
	struct cvmx_ipd_int_sum_cn52xx cnf71xx;
};

typedef union cvmx_ipd_int_sum cvmx_ipd_int_sum_t;

/**
 * cvmx_ipd_next_pkt_ptr
 *
 * IPD_NEXT_PKT_PTR = IPD's Next Packet Pointer
 *
 * The value of the packet-pointer fetched and in the valid register.
 */
union cvmx_ipd_next_pkt_ptr {
	u64 u64;
	struct cvmx_ipd_next_pkt_ptr_s {
		u64 reserved_33_63 : 31;
		u64 ptr : 33;
	} s;
	struct cvmx_ipd_next_pkt_ptr_s cn68xx;
	struct cvmx_ipd_next_pkt_ptr_s cn68xxp1;
};

typedef union cvmx_ipd_next_pkt_ptr cvmx_ipd_next_pkt_ptr_t;

/**
 * cvmx_ipd_next_wqe_ptr
 *
 * IPD_NEXT_WQE_PTR = IPD's NEXT_WQE Pointer
 *
 * The value of the WQE-pointer fetched and in the valid register.
 */
union cvmx_ipd_next_wqe_ptr {
	u64 u64;
	struct cvmx_ipd_next_wqe_ptr_s {
		u64 reserved_33_63 : 31;
		u64 ptr : 33;
	} s;
	struct cvmx_ipd_next_wqe_ptr_s cn68xx;
	struct cvmx_ipd_next_wqe_ptr_s cn68xxp1;
};

typedef union cvmx_ipd_next_wqe_ptr cvmx_ipd_next_wqe_ptr_t;

/**
 * cvmx_ipd_not_1st_mbuff_skip
 *
 * The number of words that the IPD will skip when writing any MBUFF that is not the first.
 *
 */
union cvmx_ipd_not_1st_mbuff_skip {
	u64 u64;
	struct cvmx_ipd_not_1st_mbuff_skip_s {
		u64 reserved_6_63 : 58;
		u64 skip_sz : 6;
	} s;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn30xx;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn31xx;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn38xx;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn38xxp2;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn50xx;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn52xx;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn52xxp1;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn56xx;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn56xxp1;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn58xx;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn58xxp1;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn61xx;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn63xx;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn63xxp1;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn66xx;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn68xx;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn68xxp1;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn70xx;
	struct cvmx_ipd_not_1st_mbuff_skip_s cn70xxp1;
	struct cvmx_ipd_not_1st_mbuff_skip_s cnf71xx;
};

typedef union cvmx_ipd_not_1st_mbuff_skip cvmx_ipd_not_1st_mbuff_skip_t;

/**
 * cvmx_ipd_on_bp_drop_pkt#
 *
 * RESERVE SPACE UPTO 0x3FFF
 *
 *
 * RESERVED FOR FORMER IPD_SUB_PKIND_FCS - MOVED TO PIP
 *
 * RESERVE 4008 - 40FF
 *
 *
 *                  IPD_ON_BP_DROP_PKT = IPD On Backpressure Drop Packet
 *
 * When IPD applies backpressure to a BPID and the corresponding bit in this register is set,
 * then previously received packets will be dropped when processed.
 */
union cvmx_ipd_on_bp_drop_pktx {
	u64 u64;
	struct cvmx_ipd_on_bp_drop_pktx_s {
		u64 prt_enb : 64;
	} s;
	struct cvmx_ipd_on_bp_drop_pktx_s cn68xx;
	struct cvmx_ipd_on_bp_drop_pktx_s cn68xxp1;
};

typedef union cvmx_ipd_on_bp_drop_pktx cvmx_ipd_on_bp_drop_pktx_t;

/**
 * cvmx_ipd_packet_mbuff_size
 *
 * The number of words in a MBUFF used for packet data store.
 *
 */
union cvmx_ipd_packet_mbuff_size {
	u64 u64;
	struct cvmx_ipd_packet_mbuff_size_s {
		u64 reserved_12_63 : 52;
		u64 mb_size : 12;
	} s;
	struct cvmx_ipd_packet_mbuff_size_s cn30xx;
	struct cvmx_ipd_packet_mbuff_size_s cn31xx;
	struct cvmx_ipd_packet_mbuff_size_s cn38xx;
	struct cvmx_ipd_packet_mbuff_size_s cn38xxp2;
	struct cvmx_ipd_packet_mbuff_size_s cn50xx;
	struct cvmx_ipd_packet_mbuff_size_s cn52xx;
	struct cvmx_ipd_packet_mbuff_size_s cn52xxp1;
	struct cvmx_ipd_packet_mbuff_size_s cn56xx;
	struct cvmx_ipd_packet_mbuff_size_s cn56xxp1;
	struct cvmx_ipd_packet_mbuff_size_s cn58xx;
	struct cvmx_ipd_packet_mbuff_size_s cn58xxp1;
	struct cvmx_ipd_packet_mbuff_size_s cn61xx;
	struct cvmx_ipd_packet_mbuff_size_s cn63xx;
	struct cvmx_ipd_packet_mbuff_size_s cn63xxp1;
	struct cvmx_ipd_packet_mbuff_size_s cn66xx;
	struct cvmx_ipd_packet_mbuff_size_s cn68xx;
	struct cvmx_ipd_packet_mbuff_size_s cn68xxp1;
	struct cvmx_ipd_packet_mbuff_size_s cn70xx;
	struct cvmx_ipd_packet_mbuff_size_s cn70xxp1;
	struct cvmx_ipd_packet_mbuff_size_s cnf71xx;
};

typedef union cvmx_ipd_packet_mbuff_size cvmx_ipd_packet_mbuff_size_t;

/**
 * cvmx_ipd_pkt_err
 *
 * IPD_PKT_ERR = IPD Packet Error Register
 *
 * Provides status about the failing packet recevie error.
 */
union cvmx_ipd_pkt_err {
	u64 u64;
	struct cvmx_ipd_pkt_err_s {
		u64 reserved_6_63 : 58;
		u64 reasm : 6;
	} s;
	struct cvmx_ipd_pkt_err_s cn68xx;
	struct cvmx_ipd_pkt_err_s cn68xxp1;
};

typedef union cvmx_ipd_pkt_err cvmx_ipd_pkt_err_t;

/**
 * cvmx_ipd_pkt_ptr_valid
 *
 * The value of the packet-pointer fetched and in the valid register.
 *
 */
union cvmx_ipd_pkt_ptr_valid {
	u64 u64;
	struct cvmx_ipd_pkt_ptr_valid_s {
		u64 reserved_29_63 : 35;
		u64 ptr : 29;
	} s;
	struct cvmx_ipd_pkt_ptr_valid_s cn30xx;
	struct cvmx_ipd_pkt_ptr_valid_s cn31xx;
	struct cvmx_ipd_pkt_ptr_valid_s cn38xx;
	struct cvmx_ipd_pkt_ptr_valid_s cn50xx;
	struct cvmx_ipd_pkt_ptr_valid_s cn52xx;
	struct cvmx_ipd_pkt_ptr_valid_s cn52xxp1;
	struct cvmx_ipd_pkt_ptr_valid_s cn56xx;
	struct cvmx_ipd_pkt_ptr_valid_s cn56xxp1;
	struct cvmx_ipd_pkt_ptr_valid_s cn58xx;
	struct cvmx_ipd_pkt_ptr_valid_s cn58xxp1;
	struct cvmx_ipd_pkt_ptr_valid_s cn61xx;
	struct cvmx_ipd_pkt_ptr_valid_s cn63xx;
	struct cvmx_ipd_pkt_ptr_valid_s cn63xxp1;
	struct cvmx_ipd_pkt_ptr_valid_s cn66xx;
	struct cvmx_ipd_pkt_ptr_valid_s cn70xx;
	struct cvmx_ipd_pkt_ptr_valid_s cn70xxp1;
	struct cvmx_ipd_pkt_ptr_valid_s cnf71xx;
};

typedef union cvmx_ipd_pkt_ptr_valid cvmx_ipd_pkt_ptr_valid_t;

/**
 * cvmx_ipd_port#_bp_page_cnt
 *
 * IPD_PORTX_BP_PAGE_CNT = IPD Port Backpressure Page Count
 * The number of pages in use by the port that when exceeded, backpressure will be applied to the
 * port.
 * See also IPD_PORTX_BP_PAGE_CNT2
 * See also IPD_PORTX_BP_PAGE_CNT3
 */
union cvmx_ipd_portx_bp_page_cnt {
	u64 u64;
	struct cvmx_ipd_portx_bp_page_cnt_s {
		u64 reserved_18_63 : 46;
		u64 bp_enb : 1;
		u64 page_cnt : 17;
	} s;
	struct cvmx_ipd_portx_bp_page_cnt_s cn30xx;
	struct cvmx_ipd_portx_bp_page_cnt_s cn31xx;
	struct cvmx_ipd_portx_bp_page_cnt_s cn38xx;
	struct cvmx_ipd_portx_bp_page_cnt_s cn38xxp2;
	struct cvmx_ipd_portx_bp_page_cnt_s cn50xx;
	struct cvmx_ipd_portx_bp_page_cnt_s cn52xx;
	struct cvmx_ipd_portx_bp_page_cnt_s cn52xxp1;
	struct cvmx_ipd_portx_bp_page_cnt_s cn56xx;
	struct cvmx_ipd_portx_bp_page_cnt_s cn56xxp1;
	struct cvmx_ipd_portx_bp_page_cnt_s cn58xx;
	struct cvmx_ipd_portx_bp_page_cnt_s cn58xxp1;
	struct cvmx_ipd_portx_bp_page_cnt_s cn61xx;
	struct cvmx_ipd_portx_bp_page_cnt_s cn63xx;
	struct cvmx_ipd_portx_bp_page_cnt_s cn63xxp1;
	struct cvmx_ipd_portx_bp_page_cnt_s cn66xx;
	struct cvmx_ipd_portx_bp_page_cnt_s cn70xx;
	struct cvmx_ipd_portx_bp_page_cnt_s cn70xxp1;
	struct cvmx_ipd_portx_bp_page_cnt_s cnf71xx;
};

typedef union cvmx_ipd_portx_bp_page_cnt cvmx_ipd_portx_bp_page_cnt_t;

/**
 * cvmx_ipd_port#_bp_page_cnt2
 *
 * IPD_PORTX_BP_PAGE_CNT2 = IPD Port Backpressure Page Count
 * The number of pages in use by the port that when exceeded, backpressure will be applied to the
 * port.
 * See also IPD_PORTX_BP_PAGE_CNT
 * See also IPD_PORTX_BP_PAGE_CNT3
 * 0x368-0x380
 */
union cvmx_ipd_portx_bp_page_cnt2 {
	u64 u64;
	struct cvmx_ipd_portx_bp_page_cnt2_s {
		u64 reserved_18_63 : 46;
		u64 bp_enb : 1;
		u64 page_cnt : 17;
	} s;
	struct cvmx_ipd_portx_bp_page_cnt2_s cn52xx;
	struct cvmx_ipd_portx_bp_page_cnt2_s cn52xxp1;
	struct cvmx_ipd_portx_bp_page_cnt2_s cn56xx;
	struct cvmx_ipd_portx_bp_page_cnt2_s cn56xxp1;
	struct cvmx_ipd_portx_bp_page_cnt2_s cn61xx;
	struct cvmx_ipd_portx_bp_page_cnt2_s cn63xx;
	struct cvmx_ipd_portx_bp_page_cnt2_s cn63xxp1;
	struct cvmx_ipd_portx_bp_page_cnt2_s cn66xx;
	struct cvmx_ipd_portx_bp_page_cnt2_s cn70xx;
	struct cvmx_ipd_portx_bp_page_cnt2_s cn70xxp1;
	struct cvmx_ipd_portx_bp_page_cnt2_s cnf71xx;
};

typedef union cvmx_ipd_portx_bp_page_cnt2 cvmx_ipd_portx_bp_page_cnt2_t;

/**
 * cvmx_ipd_port#_bp_page_cnt3
 *
 * IPD_PORTX_BP_PAGE_CNT3 = IPD Port Backpressure Page Count
 * The number of pages in use by the port that when exceeded, backpressure will be applied to the
 * port.
 * See also IPD_PORTX_BP_PAGE_CNT
 * See also IPD_PORTX_BP_PAGE_CNT2
 * 0x3d0-408
 */
union cvmx_ipd_portx_bp_page_cnt3 {
	u64 u64;
	struct cvmx_ipd_portx_bp_page_cnt3_s {
		u64 reserved_18_63 : 46;
		u64 bp_enb : 1;
		u64 page_cnt : 17;
	} s;
	struct cvmx_ipd_portx_bp_page_cnt3_s cn61xx;
	struct cvmx_ipd_portx_bp_page_cnt3_s cn63xx;
	struct cvmx_ipd_portx_bp_page_cnt3_s cn63xxp1;
	struct cvmx_ipd_portx_bp_page_cnt3_s cn66xx;
	struct cvmx_ipd_portx_bp_page_cnt3_s cn70xx;
	struct cvmx_ipd_portx_bp_page_cnt3_s cn70xxp1;
	struct cvmx_ipd_portx_bp_page_cnt3_s cnf71xx;
};

typedef union cvmx_ipd_portx_bp_page_cnt3 cvmx_ipd_portx_bp_page_cnt3_t;

/**
 * cvmx_ipd_port_bp_counters2_pair#
 *
 * See also IPD_PORT_BP_COUNTERS_PAIRX
 * See also IPD_PORT_BP_COUNTERS3_PAIRX
 * 0x388-0x3a0
 */
union cvmx_ipd_port_bp_counters2_pairx {
	u64 u64;
	struct cvmx_ipd_port_bp_counters2_pairx_s {
		u64 reserved_25_63 : 39;
		u64 cnt_val : 25;
	} s;
	struct cvmx_ipd_port_bp_counters2_pairx_s cn52xx;
	struct cvmx_ipd_port_bp_counters2_pairx_s cn52xxp1;
	struct cvmx_ipd_port_bp_counters2_pairx_s cn56xx;
	struct cvmx_ipd_port_bp_counters2_pairx_s cn56xxp1;
	struct cvmx_ipd_port_bp_counters2_pairx_s cn61xx;
	struct cvmx_ipd_port_bp_counters2_pairx_s cn63xx;
	struct cvmx_ipd_port_bp_counters2_pairx_s cn63xxp1;
	struct cvmx_ipd_port_bp_counters2_pairx_s cn66xx;
	struct cvmx_ipd_port_bp_counters2_pairx_s cn70xx;
	struct cvmx_ipd_port_bp_counters2_pairx_s cn70xxp1;
	struct cvmx_ipd_port_bp_counters2_pairx_s cnf71xx;
};

typedef union cvmx_ipd_port_bp_counters2_pairx cvmx_ipd_port_bp_counters2_pairx_t;

/**
 * cvmx_ipd_port_bp_counters3_pair#
 *
 * See also IPD_PORT_BP_COUNTERS_PAIRX
 * See also IPD_PORT_BP_COUNTERS2_PAIRX
 * 0x3b0-0x3c8
 */
union cvmx_ipd_port_bp_counters3_pairx {
	u64 u64;
	struct cvmx_ipd_port_bp_counters3_pairx_s {
		u64 reserved_25_63 : 39;
		u64 cnt_val : 25;
	} s;
	struct cvmx_ipd_port_bp_counters3_pairx_s cn61xx;
	struct cvmx_ipd_port_bp_counters3_pairx_s cn63xx;
	struct cvmx_ipd_port_bp_counters3_pairx_s cn63xxp1;
	struct cvmx_ipd_port_bp_counters3_pairx_s cn66xx;
	struct cvmx_ipd_port_bp_counters3_pairx_s cn70xx;
	struct cvmx_ipd_port_bp_counters3_pairx_s cn70xxp1;
	struct cvmx_ipd_port_bp_counters3_pairx_s cnf71xx;
};

typedef union cvmx_ipd_port_bp_counters3_pairx cvmx_ipd_port_bp_counters3_pairx_t;

/**
 * cvmx_ipd_port_bp_counters4_pair#
 *
 * See also IPD_PORT_BP_COUNTERS_PAIRX
 * See also IPD_PORT_BP_COUNTERS2_PAIRX
 * 0x410-0x3c8
 */
union cvmx_ipd_port_bp_counters4_pairx {
	u64 u64;
	struct cvmx_ipd_port_bp_counters4_pairx_s {
		u64 reserved_25_63 : 39;
		u64 cnt_val : 25;
	} s;
	struct cvmx_ipd_port_bp_counters4_pairx_s cn61xx;
	struct cvmx_ipd_port_bp_counters4_pairx_s cn66xx;
	struct cvmx_ipd_port_bp_counters4_pairx_s cn70xx;
	struct cvmx_ipd_port_bp_counters4_pairx_s cn70xxp1;
	struct cvmx_ipd_port_bp_counters4_pairx_s cnf71xx;
};

typedef union cvmx_ipd_port_bp_counters4_pairx cvmx_ipd_port_bp_counters4_pairx_t;

/**
 * cvmx_ipd_port_bp_counters_pair#
 *
 * See also IPD_PORT_BP_COUNTERS2_PAIRX
 * See also IPD_PORT_BP_COUNTERS3_PAIRX
 * 0x1b8-0x2d0
 */
union cvmx_ipd_port_bp_counters_pairx {
	u64 u64;
	struct cvmx_ipd_port_bp_counters_pairx_s {
		u64 reserved_25_63 : 39;
		u64 cnt_val : 25;
	} s;
	struct cvmx_ipd_port_bp_counters_pairx_s cn30xx;
	struct cvmx_ipd_port_bp_counters_pairx_s cn31xx;
	struct cvmx_ipd_port_bp_counters_pairx_s cn38xx;
	struct cvmx_ipd_port_bp_counters_pairx_s cn38xxp2;
	struct cvmx_ipd_port_bp_counters_pairx_s cn50xx;
	struct cvmx_ipd_port_bp_counters_pairx_s cn52xx;
	struct cvmx_ipd_port_bp_counters_pairx_s cn52xxp1;
	struct cvmx_ipd_port_bp_counters_pairx_s cn56xx;
	struct cvmx_ipd_port_bp_counters_pairx_s cn56xxp1;
	struct cvmx_ipd_port_bp_counters_pairx_s cn58xx;
	struct cvmx_ipd_port_bp_counters_pairx_s cn58xxp1;
	struct cvmx_ipd_port_bp_counters_pairx_s cn61xx;
	struct cvmx_ipd_port_bp_counters_pairx_s cn63xx;
	struct cvmx_ipd_port_bp_counters_pairx_s cn63xxp1;
	struct cvmx_ipd_port_bp_counters_pairx_s cn66xx;
	struct cvmx_ipd_port_bp_counters_pairx_s cn70xx;
	struct cvmx_ipd_port_bp_counters_pairx_s cn70xxp1;
	struct cvmx_ipd_port_bp_counters_pairx_s cnf71xx;
};

typedef union cvmx_ipd_port_bp_counters_pairx cvmx_ipd_port_bp_counters_pairx_t;

/**
 * cvmx_ipd_port_ptr_fifo_ctl
 *
 * IPD_PORT_PTR_FIFO_CTL = IPD's Reasm-Id Pointer FIFO Control
 *
 * Allows reading of the Page-Pointers stored in the IPD's Reasm-Id Fifo.
 */
union cvmx_ipd_port_ptr_fifo_ctl {
	u64 u64;
	struct cvmx_ipd_port_ptr_fifo_ctl_s {
		u64 reserved_48_63 : 16;
		u64 ptr : 33;
		u64 max_pkt : 7;
		u64 cena : 1;
		u64 raddr : 7;
	} s;
	struct cvmx_ipd_port_ptr_fifo_ctl_s cn68xx;
	struct cvmx_ipd_port_ptr_fifo_ctl_s cn68xxp1;
};

typedef union cvmx_ipd_port_ptr_fifo_ctl cvmx_ipd_port_ptr_fifo_ctl_t;

/**
 * cvmx_ipd_port_qos_#_cnt
 *
 * IPD_PORT_QOS_X_CNT = IPD PortX QOS-0 Count
 * A counter per port/qos. Counter are originzed in sequence where the first 8 counter (0-7)
 * belong to Port-0
 * QOS 0-7 respectively followed by port 1 at (8-15), etc
 * Ports 0-3, 32-43
 */
union cvmx_ipd_port_qos_x_cnt {
	u64 u64;
	struct cvmx_ipd_port_qos_x_cnt_s {
		u64 wmark : 32;
		u64 cnt : 32;
	} s;
	struct cvmx_ipd_port_qos_x_cnt_s cn52xx;
	struct cvmx_ipd_port_qos_x_cnt_s cn52xxp1;
	struct cvmx_ipd_port_qos_x_cnt_s cn56xx;
	struct cvmx_ipd_port_qos_x_cnt_s cn56xxp1;
	struct cvmx_ipd_port_qos_x_cnt_s cn61xx;
	struct cvmx_ipd_port_qos_x_cnt_s cn63xx;
	struct cvmx_ipd_port_qos_x_cnt_s cn63xxp1;
	struct cvmx_ipd_port_qos_x_cnt_s cn66xx;
	struct cvmx_ipd_port_qos_x_cnt_s cn68xx;
	struct cvmx_ipd_port_qos_x_cnt_s cn68xxp1;
	struct cvmx_ipd_port_qos_x_cnt_s cn70xx;
	struct cvmx_ipd_port_qos_x_cnt_s cn70xxp1;
	struct cvmx_ipd_port_qos_x_cnt_s cnf71xx;
};

typedef union cvmx_ipd_port_qos_x_cnt cvmx_ipd_port_qos_x_cnt_t;

/**
 * cvmx_ipd_port_qos_int#
 *
 * See the description for IPD_PORT_QOS_X_CNT
 * 0=P0-7; 1=P8-15; 2=P16-23; 3=P24-31; 4=P32-39; 5=P40-47; 6=P48-55; 7=P56-63
 * Only ports used are: P0-3, p16-19, P24, P32-39. Therefore only IPD_PORT_QOS_INT0 ([63:32] ==
 * Reserved), IPD_PORT_QOS_INT2 ([63:32] == Reserved), IPD_PORT_QOS_INT3 ([63:8] == Reserved),
 * IPD_PORT_QOS_INT4
 */
union cvmx_ipd_port_qos_intx {
	u64 u64;
	struct cvmx_ipd_port_qos_intx_s {
		u64 intr : 64;
	} s;
	struct cvmx_ipd_port_qos_intx_s cn52xx;
	struct cvmx_ipd_port_qos_intx_s cn52xxp1;
	struct cvmx_ipd_port_qos_intx_s cn56xx;
	struct cvmx_ipd_port_qos_intx_s cn56xxp1;
	struct cvmx_ipd_port_qos_intx_s cn61xx;
	struct cvmx_ipd_port_qos_intx_s cn63xx;
	struct cvmx_ipd_port_qos_intx_s cn63xxp1;
	struct cvmx_ipd_port_qos_intx_s cn66xx;
	struct cvmx_ipd_port_qos_intx_s cn68xx;
	struct cvmx_ipd_port_qos_intx_s cn68xxp1;
	struct cvmx_ipd_port_qos_intx_s cn70xx;
	struct cvmx_ipd_port_qos_intx_s cn70xxp1;
	struct cvmx_ipd_port_qos_intx_s cnf71xx;
};

typedef union cvmx_ipd_port_qos_intx cvmx_ipd_port_qos_intx_t;

/**
 * cvmx_ipd_port_qos_int_enb#
 *
 * "When the IPD_PORT_QOS_INTX[\#] is '1' and IPD_PORT_QOS_INT_ENBX[\#] is '1' a interrupt will be
 * generated."
 */
union cvmx_ipd_port_qos_int_enbx {
	u64 u64;
	struct cvmx_ipd_port_qos_int_enbx_s {
		u64 enb : 64;
	} s;
	struct cvmx_ipd_port_qos_int_enbx_s cn52xx;
	struct cvmx_ipd_port_qos_int_enbx_s cn52xxp1;
	struct cvmx_ipd_port_qos_int_enbx_s cn56xx;
	struct cvmx_ipd_port_qos_int_enbx_s cn56xxp1;
	struct cvmx_ipd_port_qos_int_enbx_s cn61xx;
	struct cvmx_ipd_port_qos_int_enbx_s cn63xx;
	struct cvmx_ipd_port_qos_int_enbx_s cn63xxp1;
	struct cvmx_ipd_port_qos_int_enbx_s cn66xx;
	struct cvmx_ipd_port_qos_int_enbx_s cn68xx;
	struct cvmx_ipd_port_qos_int_enbx_s cn68xxp1;
	struct cvmx_ipd_port_qos_int_enbx_s cn70xx;
	struct cvmx_ipd_port_qos_int_enbx_s cn70xxp1;
	struct cvmx_ipd_port_qos_int_enbx_s cnf71xx;
};

typedef union cvmx_ipd_port_qos_int_enbx cvmx_ipd_port_qos_int_enbx_t;

/**
 * cvmx_ipd_port_sop#
 *
 * IPD_PORT_SOP = IPD Reasm-Id SOP
 *
 * Set when a SOP is detected on a reasm-num. Where the reasm-num value set the bit vector of this register.
 */
union cvmx_ipd_port_sopx {
	u64 u64;
	struct cvmx_ipd_port_sopx_s {
		u64 sop : 64;
	} s;
	struct cvmx_ipd_port_sopx_s cn68xx;
	struct cvmx_ipd_port_sopx_s cn68xxp1;
};

typedef union cvmx_ipd_port_sopx cvmx_ipd_port_sopx_t;

/**
 * cvmx_ipd_prc_hold_ptr_fifo_ctl
 *
 * Allows reading of the Page-Pointers stored in the IPD's PRC Holding Fifo.
 *
 */
union cvmx_ipd_prc_hold_ptr_fifo_ctl {
	u64 u64;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s {
		u64 reserved_39_63 : 25;
		u64 max_pkt : 3;
		u64 praddr : 3;
		u64 ptr : 29;
		u64 cena : 1;
		u64 raddr : 3;
	} s;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn30xx;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn31xx;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn38xx;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn50xx;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn52xx;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn52xxp1;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn56xx;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn56xxp1;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn58xx;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn58xxp1;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn61xx;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn63xx;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn63xxp1;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn66xx;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn70xx;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cn70xxp1;
	struct cvmx_ipd_prc_hold_ptr_fifo_ctl_s cnf71xx;
};

typedef union cvmx_ipd_prc_hold_ptr_fifo_ctl cvmx_ipd_prc_hold_ptr_fifo_ctl_t;

/**
 * cvmx_ipd_prc_port_ptr_fifo_ctl
 *
 * Allows reading of the Page-Pointers stored in the IPD's PRC PORT Fifo.
 *
 */
union cvmx_ipd_prc_port_ptr_fifo_ctl {
	u64 u64;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s {
		u64 reserved_44_63 : 20;
		u64 max_pkt : 7;
		u64 ptr : 29;
		u64 cena : 1;
		u64 raddr : 7;
	} s;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn30xx;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn31xx;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn38xx;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn50xx;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn52xx;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn52xxp1;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn56xx;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn56xxp1;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn58xx;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn58xxp1;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn61xx;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn63xx;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn63xxp1;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn66xx;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn70xx;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cn70xxp1;
	struct cvmx_ipd_prc_port_ptr_fifo_ctl_s cnf71xx;
};

typedef union cvmx_ipd_prc_port_ptr_fifo_ctl cvmx_ipd_prc_port_ptr_fifo_ctl_t;

/**
 * cvmx_ipd_ptr_count
 *
 * Shows the number of WQE and Packet Page Pointers stored in the IPD.
 *
 */
union cvmx_ipd_ptr_count {
	u64 u64;
	struct cvmx_ipd_ptr_count_s {
		u64 reserved_19_63 : 45;
		u64 pktv_cnt : 1;
		u64 wqev_cnt : 1;
		u64 pfif_cnt : 3;
		u64 pkt_pcnt : 7;
		u64 wqe_pcnt : 7;
	} s;
	struct cvmx_ipd_ptr_count_s cn30xx;
	struct cvmx_ipd_ptr_count_s cn31xx;
	struct cvmx_ipd_ptr_count_s cn38xx;
	struct cvmx_ipd_ptr_count_s cn38xxp2;
	struct cvmx_ipd_ptr_count_s cn50xx;
	struct cvmx_ipd_ptr_count_s cn52xx;
	struct cvmx_ipd_ptr_count_s cn52xxp1;
	struct cvmx_ipd_ptr_count_s cn56xx;
	struct cvmx_ipd_ptr_count_s cn56xxp1;
	struct cvmx_ipd_ptr_count_s cn58xx;
	struct cvmx_ipd_ptr_count_s cn58xxp1;
	struct cvmx_ipd_ptr_count_s cn61xx;
	struct cvmx_ipd_ptr_count_s cn63xx;
	struct cvmx_ipd_ptr_count_s cn63xxp1;
	struct cvmx_ipd_ptr_count_s cn66xx;
	struct cvmx_ipd_ptr_count_s cn68xx;
	struct cvmx_ipd_ptr_count_s cn68xxp1;
	struct cvmx_ipd_ptr_count_s cn70xx;
	struct cvmx_ipd_ptr_count_s cn70xxp1;
	struct cvmx_ipd_ptr_count_s cnf71xx;
};

typedef union cvmx_ipd_ptr_count cvmx_ipd_ptr_count_t;

/**
 * cvmx_ipd_pwp_ptr_fifo_ctl
 *
 * Allows reading of the Page-Pointers stored in the IPD's PWP Fifo.
 *
 */
union cvmx_ipd_pwp_ptr_fifo_ctl {
	u64 u64;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s {
		u64 reserved_61_63 : 3;
		u64 max_cnts : 7;
		u64 wraddr : 8;
		u64 praddr : 8;
		u64 ptr : 29;
		u64 cena : 1;
		u64 raddr : 8;
	} s;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn30xx;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn31xx;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn38xx;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn50xx;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn52xx;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn52xxp1;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn56xx;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn56xxp1;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn58xx;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn58xxp1;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn61xx;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn63xx;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn63xxp1;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn66xx;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn70xx;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cn70xxp1;
	struct cvmx_ipd_pwp_ptr_fifo_ctl_s cnf71xx;
};

typedef union cvmx_ipd_pwp_ptr_fifo_ctl cvmx_ipd_pwp_ptr_fifo_ctl_t;

/**
 * cvmx_ipd_qos#_red_marks
 *
 * Set the pass-drop marks for qos level.
 *
 */
union cvmx_ipd_qosx_red_marks {
	u64 u64;
	struct cvmx_ipd_qosx_red_marks_s {
		u64 drop : 32;
		u64 pass : 32;
	} s;
	struct cvmx_ipd_qosx_red_marks_s cn30xx;
	struct cvmx_ipd_qosx_red_marks_s cn31xx;
	struct cvmx_ipd_qosx_red_marks_s cn38xx;
	struct cvmx_ipd_qosx_red_marks_s cn38xxp2;
	struct cvmx_ipd_qosx_red_marks_s cn50xx;
	struct cvmx_ipd_qosx_red_marks_s cn52xx;
	struct cvmx_ipd_qosx_red_marks_s cn52xxp1;
	struct cvmx_ipd_qosx_red_marks_s cn56xx;
	struct cvmx_ipd_qosx_red_marks_s cn56xxp1;
	struct cvmx_ipd_qosx_red_marks_s cn58xx;
	struct cvmx_ipd_qosx_red_marks_s cn58xxp1;
	struct cvmx_ipd_qosx_red_marks_s cn61xx;
	struct cvmx_ipd_qosx_red_marks_s cn63xx;
	struct cvmx_ipd_qosx_red_marks_s cn63xxp1;
	struct cvmx_ipd_qosx_red_marks_s cn66xx;
	struct cvmx_ipd_qosx_red_marks_s cn68xx;
	struct cvmx_ipd_qosx_red_marks_s cn68xxp1;
	struct cvmx_ipd_qosx_red_marks_s cn70xx;
	struct cvmx_ipd_qosx_red_marks_s cn70xxp1;
	struct cvmx_ipd_qosx_red_marks_s cnf71xx;
};

typedef union cvmx_ipd_qosx_red_marks cvmx_ipd_qosx_red_marks_t;

/**
 * cvmx_ipd_que0_free_page_cnt
 *
 * Number of Free-Page Pointer that are available for use in the FPA for Queue-0.
 *
 */
union cvmx_ipd_que0_free_page_cnt {
	u64 u64;
	struct cvmx_ipd_que0_free_page_cnt_s {
		u64 reserved_32_63 : 32;
		u64 q0_pcnt : 32;
	} s;
	struct cvmx_ipd_que0_free_page_cnt_s cn30xx;
	struct cvmx_ipd_que0_free_page_cnt_s cn31xx;
	struct cvmx_ipd_que0_free_page_cnt_s cn38xx;
	struct cvmx_ipd_que0_free_page_cnt_s cn38xxp2;
	struct cvmx_ipd_que0_free_page_cnt_s cn50xx;
	struct cvmx_ipd_que0_free_page_cnt_s cn52xx;
	struct cvmx_ipd_que0_free_page_cnt_s cn52xxp1;
	struct cvmx_ipd_que0_free_page_cnt_s cn56xx;
	struct cvmx_ipd_que0_free_page_cnt_s cn56xxp1;
	struct cvmx_ipd_que0_free_page_cnt_s cn58xx;
	struct cvmx_ipd_que0_free_page_cnt_s cn58xxp1;
	struct cvmx_ipd_que0_free_page_cnt_s cn61xx;
	struct cvmx_ipd_que0_free_page_cnt_s cn63xx;
	struct cvmx_ipd_que0_free_page_cnt_s cn63xxp1;
	struct cvmx_ipd_que0_free_page_cnt_s cn66xx;
	struct cvmx_ipd_que0_free_page_cnt_s cn68xx;
	struct cvmx_ipd_que0_free_page_cnt_s cn68xxp1;
	struct cvmx_ipd_que0_free_page_cnt_s cn70xx;
	struct cvmx_ipd_que0_free_page_cnt_s cn70xxp1;
	struct cvmx_ipd_que0_free_page_cnt_s cnf71xx;
};

typedef union cvmx_ipd_que0_free_page_cnt cvmx_ipd_que0_free_page_cnt_t;

/**
 * cvmx_ipd_red_bpid_enable#
 *
 * IPD_RED_BPID_ENABLE = IPD RED BPID Enable
 *
 * Set the pass-drop marks for qos level.
 */
union cvmx_ipd_red_bpid_enablex {
	u64 u64;
	struct cvmx_ipd_red_bpid_enablex_s {
		u64 prt_enb : 64;
	} s;
	struct cvmx_ipd_red_bpid_enablex_s cn68xx;
	struct cvmx_ipd_red_bpid_enablex_s cn68xxp1;
};

typedef union cvmx_ipd_red_bpid_enablex cvmx_ipd_red_bpid_enablex_t;

/**
 * cvmx_ipd_red_delay
 *
 * IPD_RED_DELAY = IPD RED BPID Enable
 *
 * Set the pass-drop marks for qos level.
 */
union cvmx_ipd_red_delay {
	u64 u64;
	struct cvmx_ipd_red_delay_s {
		u64 reserved_28_63 : 36;
		u64 prb_dly : 14;
		u64 avg_dly : 14;
	} s;
	struct cvmx_ipd_red_delay_s cn68xx;
	struct cvmx_ipd_red_delay_s cn68xxp1;
};

typedef union cvmx_ipd_red_delay cvmx_ipd_red_delay_t;

/**
 * cvmx_ipd_red_port_enable
 *
 * Set the pass-drop marks for qos level.
 *
 */
union cvmx_ipd_red_port_enable {
	u64 u64;
	struct cvmx_ipd_red_port_enable_s {
		u64 prb_dly : 14;
		u64 avg_dly : 14;
		u64 prt_enb : 36;
	} s;
	struct cvmx_ipd_red_port_enable_s cn30xx;
	struct cvmx_ipd_red_port_enable_s cn31xx;
	struct cvmx_ipd_red_port_enable_s cn38xx;
	struct cvmx_ipd_red_port_enable_s cn38xxp2;
	struct cvmx_ipd_red_port_enable_s cn50xx;
	struct cvmx_ipd_red_port_enable_s cn52xx;
	struct cvmx_ipd_red_port_enable_s cn52xxp1;
	struct cvmx_ipd_red_port_enable_s cn56xx;
	struct cvmx_ipd_red_port_enable_s cn56xxp1;
	struct cvmx_ipd_red_port_enable_s cn58xx;
	struct cvmx_ipd_red_port_enable_s cn58xxp1;
	struct cvmx_ipd_red_port_enable_s cn61xx;
	struct cvmx_ipd_red_port_enable_s cn63xx;
	struct cvmx_ipd_red_port_enable_s cn63xxp1;
	struct cvmx_ipd_red_port_enable_s cn66xx;
	struct cvmx_ipd_red_port_enable_s cn70xx;
	struct cvmx_ipd_red_port_enable_s cn70xxp1;
	struct cvmx_ipd_red_port_enable_s cnf71xx;
};

typedef union cvmx_ipd_red_port_enable cvmx_ipd_red_port_enable_t;

/**
 * cvmx_ipd_red_port_enable2
 *
 * Set the pass-drop marks for qos level.
 *
 */
union cvmx_ipd_red_port_enable2 {
	u64 u64;
	struct cvmx_ipd_red_port_enable2_s {
		u64 reserved_12_63 : 52;
		u64 prt_enb : 12;
	} s;
	struct cvmx_ipd_red_port_enable2_cn52xx {
		u64 reserved_4_63 : 60;
		u64 prt_enb : 4;
	} cn52xx;
	struct cvmx_ipd_red_port_enable2_cn52xx cn52xxp1;
	struct cvmx_ipd_red_port_enable2_cn52xx cn56xx;
	struct cvmx_ipd_red_port_enable2_cn52xx cn56xxp1;
	struct cvmx_ipd_red_port_enable2_s cn61xx;
	struct cvmx_ipd_red_port_enable2_cn63xx {
		u64 reserved_8_63 : 56;
		u64 prt_enb : 8;
	} cn63xx;
	struct cvmx_ipd_red_port_enable2_cn63xx cn63xxp1;
	struct cvmx_ipd_red_port_enable2_s cn66xx;
	struct cvmx_ipd_red_port_enable2_s cn70xx;
	struct cvmx_ipd_red_port_enable2_s cn70xxp1;
	struct cvmx_ipd_red_port_enable2_s cnf71xx;
};

typedef union cvmx_ipd_red_port_enable2 cvmx_ipd_red_port_enable2_t;

/**
 * cvmx_ipd_red_que#_param
 *
 * Value control the Passing and Dropping of packets by the red engine for QOS Level-0.
 *
 */
union cvmx_ipd_red_quex_param {
	u64 u64;
	struct cvmx_ipd_red_quex_param_s {
		u64 reserved_49_63 : 15;
		u64 use_pcnt : 1;
		u64 new_con : 8;
		u64 avg_con : 8;
		u64 prb_con : 32;
	} s;
	struct cvmx_ipd_red_quex_param_s cn30xx;
	struct cvmx_ipd_red_quex_param_s cn31xx;
	struct cvmx_ipd_red_quex_param_s cn38xx;
	struct cvmx_ipd_red_quex_param_s cn38xxp2;
	struct cvmx_ipd_red_quex_param_s cn50xx;
	struct cvmx_ipd_red_quex_param_s cn52xx;
	struct cvmx_ipd_red_quex_param_s cn52xxp1;
	struct cvmx_ipd_red_quex_param_s cn56xx;
	struct cvmx_ipd_red_quex_param_s cn56xxp1;
	struct cvmx_ipd_red_quex_param_s cn58xx;
	struct cvmx_ipd_red_quex_param_s cn58xxp1;
	struct cvmx_ipd_red_quex_param_s cn61xx;
	struct cvmx_ipd_red_quex_param_s cn63xx;
	struct cvmx_ipd_red_quex_param_s cn63xxp1;
	struct cvmx_ipd_red_quex_param_s cn66xx;
	struct cvmx_ipd_red_quex_param_s cn68xx;
	struct cvmx_ipd_red_quex_param_s cn68xxp1;
	struct cvmx_ipd_red_quex_param_s cn70xx;
	struct cvmx_ipd_red_quex_param_s cn70xxp1;
	struct cvmx_ipd_red_quex_param_s cnf71xx;
};

typedef union cvmx_ipd_red_quex_param cvmx_ipd_red_quex_param_t;

/**
 * cvmx_ipd_req_wgt
 *
 * IPD_REQ_WGT = IPD REQ weights
 *
 * There are 8 devices that can request to send packet traffic to the IPD. These weights are used for the Weighted Round Robin
 * grant generated by the IPD to requestors.
 */
union cvmx_ipd_req_wgt {
	u64 u64;
	struct cvmx_ipd_req_wgt_s {
		u64 wgt7 : 8;
		u64 wgt6 : 8;
		u64 wgt5 : 8;
		u64 wgt4 : 8;
		u64 wgt3 : 8;
		u64 wgt2 : 8;
		u64 wgt1 : 8;
		u64 wgt0 : 8;
	} s;
	struct cvmx_ipd_req_wgt_s cn68xx;
};

typedef union cvmx_ipd_req_wgt cvmx_ipd_req_wgt_t;

/**
 * cvmx_ipd_sub_port_bp_page_cnt
 *
 * Will add the value to the indicated port count register, the number of pages supplied. The
 * value added should
 * be the 2's complement of the value that needs to be subtracted. Users add 2's complement
 * values to the
 * port-mbuf-count register to return (lower the count) mbufs to the counter in order to avoid
 * port-level
 * backpressure being applied to the port. Backpressure is applied when the MBUF used count of a
 * port exceeds the
 * value in the IPD_PORTX_BP_PAGE_CNT, IPD_PORTX_BP_PAGE_CNT2, and IPD_PORTX_BP_PAGE_CNT3.
 * This register can't be written from the PCI via a window write.
 */
union cvmx_ipd_sub_port_bp_page_cnt {
	u64 u64;
	struct cvmx_ipd_sub_port_bp_page_cnt_s {
		u64 reserved_31_63 : 33;
		u64 port : 6;
		u64 page_cnt : 25;
	} s;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn30xx;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn31xx;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn38xx;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn38xxp2;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn50xx;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn52xx;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn52xxp1;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn56xx;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn56xxp1;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn58xx;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn58xxp1;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn61xx;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn63xx;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn63xxp1;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn66xx;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn68xx;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn68xxp1;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn70xx;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cn70xxp1;
	struct cvmx_ipd_sub_port_bp_page_cnt_s cnf71xx;
};

typedef union cvmx_ipd_sub_port_bp_page_cnt cvmx_ipd_sub_port_bp_page_cnt_t;

/**
 * cvmx_ipd_sub_port_fcs
 *
 * When set '1' the port corresponding to the bit set will subtract 4 bytes from the end of
 * the packet.
 */
union cvmx_ipd_sub_port_fcs {
	u64 u64;
	struct cvmx_ipd_sub_port_fcs_s {
		u64 reserved_40_63 : 24;
		u64 port_bit2 : 4;
		u64 reserved_32_35 : 4;
		u64 port_bit : 32;
	} s;
	struct cvmx_ipd_sub_port_fcs_cn30xx {
		u64 reserved_3_63 : 61;
		u64 port_bit : 3;
	} cn30xx;
	struct cvmx_ipd_sub_port_fcs_cn30xx cn31xx;
	struct cvmx_ipd_sub_port_fcs_cn38xx {
		u64 reserved_32_63 : 32;
		u64 port_bit : 32;
	} cn38xx;
	struct cvmx_ipd_sub_port_fcs_cn38xx cn38xxp2;
	struct cvmx_ipd_sub_port_fcs_cn30xx cn50xx;
	struct cvmx_ipd_sub_port_fcs_s cn52xx;
	struct cvmx_ipd_sub_port_fcs_s cn52xxp1;
	struct cvmx_ipd_sub_port_fcs_s cn56xx;
	struct cvmx_ipd_sub_port_fcs_s cn56xxp1;
	struct cvmx_ipd_sub_port_fcs_cn38xx cn58xx;
	struct cvmx_ipd_sub_port_fcs_cn38xx cn58xxp1;
	struct cvmx_ipd_sub_port_fcs_s cn61xx;
	struct cvmx_ipd_sub_port_fcs_s cn63xx;
	struct cvmx_ipd_sub_port_fcs_s cn63xxp1;
	struct cvmx_ipd_sub_port_fcs_s cn66xx;
	struct cvmx_ipd_sub_port_fcs_s cn70xx;
	struct cvmx_ipd_sub_port_fcs_s cn70xxp1;
	struct cvmx_ipd_sub_port_fcs_s cnf71xx;
};

typedef union cvmx_ipd_sub_port_fcs cvmx_ipd_sub_port_fcs_t;

/**
 * cvmx_ipd_sub_port_qos_cnt
 *
 * Will add the value (CNT) to the indicated Port-QOS register (PORT_QOS). The value added must
 * be
 * be the 2's complement of the value that needs to be subtracted.
 */
union cvmx_ipd_sub_port_qos_cnt {
	u64 u64;
	struct cvmx_ipd_sub_port_qos_cnt_s {
		u64 reserved_41_63 : 23;
		u64 port_qos : 9;
		u64 cnt : 32;
	} s;
	struct cvmx_ipd_sub_port_qos_cnt_s cn52xx;
	struct cvmx_ipd_sub_port_qos_cnt_s cn52xxp1;
	struct cvmx_ipd_sub_port_qos_cnt_s cn56xx;
	struct cvmx_ipd_sub_port_qos_cnt_s cn56xxp1;
	struct cvmx_ipd_sub_port_qos_cnt_s cn61xx;
	struct cvmx_ipd_sub_port_qos_cnt_s cn63xx;
	struct cvmx_ipd_sub_port_qos_cnt_s cn63xxp1;
	struct cvmx_ipd_sub_port_qos_cnt_s cn66xx;
	struct cvmx_ipd_sub_port_qos_cnt_s cn68xx;
	struct cvmx_ipd_sub_port_qos_cnt_s cn68xxp1;
	struct cvmx_ipd_sub_port_qos_cnt_s cn70xx;
	struct cvmx_ipd_sub_port_qos_cnt_s cn70xxp1;
	struct cvmx_ipd_sub_port_qos_cnt_s cnf71xx;
};

typedef union cvmx_ipd_sub_port_qos_cnt cvmx_ipd_sub_port_qos_cnt_t;

/**
 * cvmx_ipd_wqe_fpa_queue
 *
 * Which FPA Queue (0-7) to fetch page-pointers from for WQE's
 *
 */
union cvmx_ipd_wqe_fpa_queue {
	u64 u64;
	struct cvmx_ipd_wqe_fpa_queue_s {
		u64 reserved_3_63 : 61;
		u64 wqe_pool : 3;
	} s;
	struct cvmx_ipd_wqe_fpa_queue_s cn30xx;
	struct cvmx_ipd_wqe_fpa_queue_s cn31xx;
	struct cvmx_ipd_wqe_fpa_queue_s cn38xx;
	struct cvmx_ipd_wqe_fpa_queue_s cn38xxp2;
	struct cvmx_ipd_wqe_fpa_queue_s cn50xx;
	struct cvmx_ipd_wqe_fpa_queue_s cn52xx;
	struct cvmx_ipd_wqe_fpa_queue_s cn52xxp1;
	struct cvmx_ipd_wqe_fpa_queue_s cn56xx;
	struct cvmx_ipd_wqe_fpa_queue_s cn56xxp1;
	struct cvmx_ipd_wqe_fpa_queue_s cn58xx;
	struct cvmx_ipd_wqe_fpa_queue_s cn58xxp1;
	struct cvmx_ipd_wqe_fpa_queue_s cn61xx;
	struct cvmx_ipd_wqe_fpa_queue_s cn63xx;
	struct cvmx_ipd_wqe_fpa_queue_s cn63xxp1;
	struct cvmx_ipd_wqe_fpa_queue_s cn66xx;
	struct cvmx_ipd_wqe_fpa_queue_s cn68xx;
	struct cvmx_ipd_wqe_fpa_queue_s cn68xxp1;
	struct cvmx_ipd_wqe_fpa_queue_s cn70xx;
	struct cvmx_ipd_wqe_fpa_queue_s cn70xxp1;
	struct cvmx_ipd_wqe_fpa_queue_s cnf71xx;
};

typedef union cvmx_ipd_wqe_fpa_queue cvmx_ipd_wqe_fpa_queue_t;

/**
 * cvmx_ipd_wqe_ptr_valid
 *
 * The value of the WQE-pointer fetched and in the valid register.
 *
 */
union cvmx_ipd_wqe_ptr_valid {
	u64 u64;
	struct cvmx_ipd_wqe_ptr_valid_s {
		u64 reserved_29_63 : 35;
		u64 ptr : 29;
	} s;
	struct cvmx_ipd_wqe_ptr_valid_s cn30xx;
	struct cvmx_ipd_wqe_ptr_valid_s cn31xx;
	struct cvmx_ipd_wqe_ptr_valid_s cn38xx;
	struct cvmx_ipd_wqe_ptr_valid_s cn50xx;
	struct cvmx_ipd_wqe_ptr_valid_s cn52xx;
	struct cvmx_ipd_wqe_ptr_valid_s cn52xxp1;
	struct cvmx_ipd_wqe_ptr_valid_s cn56xx;
	struct cvmx_ipd_wqe_ptr_valid_s cn56xxp1;
	struct cvmx_ipd_wqe_ptr_valid_s cn58xx;
	struct cvmx_ipd_wqe_ptr_valid_s cn58xxp1;
	struct cvmx_ipd_wqe_ptr_valid_s cn61xx;
	struct cvmx_ipd_wqe_ptr_valid_s cn63xx;
	struct cvmx_ipd_wqe_ptr_valid_s cn63xxp1;
	struct cvmx_ipd_wqe_ptr_valid_s cn66xx;
	struct cvmx_ipd_wqe_ptr_valid_s cn70xx;
	struct cvmx_ipd_wqe_ptr_valid_s cn70xxp1;
	struct cvmx_ipd_wqe_ptr_valid_s cnf71xx;
};

typedef union cvmx_ipd_wqe_ptr_valid cvmx_ipd_wqe_ptr_valid_t;

#endif