Go to the documentation of this file.
28 #ifndef __CVMX_IPD_DEFS_H__
29 #define __CVMX_IPD_DEFS_H__
31 #define CVMX_IPD_1ST_MBUFF_SKIP (CVMX_ADD_IO_SEG(0x00014F0000000000ull))
32 #define CVMX_IPD_1st_NEXT_PTR_BACK (CVMX_ADD_IO_SEG(0x00014F0000000150ull))
33 #define CVMX_IPD_2nd_NEXT_PTR_BACK (CVMX_ADD_IO_SEG(0x00014F0000000158ull))
34 #define CVMX_IPD_BIST_STATUS (CVMX_ADD_IO_SEG(0x00014F00000007F8ull))
35 #define CVMX_IPD_BPIDX_MBUF_TH(offset) (CVMX_ADD_IO_SEG(0x00014F0000002000ull) + ((offset) & 63) * 8)
36 #define CVMX_IPD_BPID_BP_COUNTERX(offset) (CVMX_ADD_IO_SEG(0x00014F0000003000ull) + ((offset) & 63) * 8)
37 #define CVMX_IPD_BP_PRT_RED_END (CVMX_ADD_IO_SEG(0x00014F0000000328ull))
38 #define CVMX_IPD_CLK_COUNT (CVMX_ADD_IO_SEG(0x00014F0000000338ull))
39 #define CVMX_IPD_CREDITS (CVMX_ADD_IO_SEG(0x00014F0000004410ull))
40 #define CVMX_IPD_CTL_STATUS (CVMX_ADD_IO_SEG(0x00014F0000000018ull))
41 #define CVMX_IPD_ECC_CTL (CVMX_ADD_IO_SEG(0x00014F0000004408ull))
42 #define CVMX_IPD_FREE_PTR_FIFO_CTL (CVMX_ADD_IO_SEG(0x00014F0000000780ull))
43 #define CVMX_IPD_FREE_PTR_VALUE (CVMX_ADD_IO_SEG(0x00014F0000000788ull))
44 #define CVMX_IPD_HOLD_PTR_FIFO_CTL (CVMX_ADD_IO_SEG(0x00014F0000000790ull))
45 #define CVMX_IPD_INT_ENB (CVMX_ADD_IO_SEG(0x00014F0000000160ull))
46 #define CVMX_IPD_INT_SUM (CVMX_ADD_IO_SEG(0x00014F0000000168ull))
47 #define CVMX_IPD_NEXT_PKT_PTR (CVMX_ADD_IO_SEG(0x00014F00000007A0ull))
48 #define CVMX_IPD_NEXT_WQE_PTR (CVMX_ADD_IO_SEG(0x00014F00000007A8ull))
49 #define CVMX_IPD_NOT_1ST_MBUFF_SKIP (CVMX_ADD_IO_SEG(0x00014F0000000008ull))
50 #define CVMX_IPD_ON_BP_DROP_PKTX(block_id) (CVMX_ADD_IO_SEG(0x00014F0000004100ull))
51 #define CVMX_IPD_PACKET_MBUFF_SIZE (CVMX_ADD_IO_SEG(0x00014F0000000010ull))
52 #define CVMX_IPD_PKT_ERR (CVMX_ADD_IO_SEG(0x00014F00000003F0ull))
53 #define CVMX_IPD_PKT_PTR_VALID (CVMX_ADD_IO_SEG(0x00014F0000000358ull))
54 #define CVMX_IPD_PORTX_BP_PAGE_CNT(offset) (CVMX_ADD_IO_SEG(0x00014F0000000028ull) + ((offset) & 63) * 8)
55 #define CVMX_IPD_PORTX_BP_PAGE_CNT2(offset) (CVMX_ADD_IO_SEG(0x00014F0000000368ull) + ((offset) & 63) * 8 - 8*36)
56 #define CVMX_IPD_PORTX_BP_PAGE_CNT3(offset) (CVMX_ADD_IO_SEG(0x00014F00000003D0ull) + ((offset) & 63) * 8 - 8*40)
57 #define CVMX_IPD_PORT_BP_COUNTERS2_PAIRX(offset) (CVMX_ADD_IO_SEG(0x00014F0000000388ull) + ((offset) & 63) * 8 - 8*36)
58 #define CVMX_IPD_PORT_BP_COUNTERS3_PAIRX(offset) (CVMX_ADD_IO_SEG(0x00014F00000003B0ull) + ((offset) & 63) * 8 - 8*40)
59 #define CVMX_IPD_PORT_BP_COUNTERS4_PAIRX(offset) (CVMX_ADD_IO_SEG(0x00014F0000000410ull) + ((offset) & 63) * 8 - 8*44)
60 #define CVMX_IPD_PORT_BP_COUNTERS_PAIRX(offset) (CVMX_ADD_IO_SEG(0x00014F00000001B8ull) + ((offset) & 63) * 8)
61 #define CVMX_IPD_PORT_PTR_FIFO_CTL (CVMX_ADD_IO_SEG(0x00014F0000000798ull))
62 #define CVMX_IPD_PORT_QOS_INTX(offset) (CVMX_ADD_IO_SEG(0x00014F0000000808ull) + ((offset) & 7) * 8)
63 #define CVMX_IPD_PORT_QOS_INT_ENBX(offset) (CVMX_ADD_IO_SEG(0x00014F0000000848ull) + ((offset) & 7) * 8)
64 #define CVMX_IPD_PORT_QOS_X_CNT(offset) (CVMX_ADD_IO_SEG(0x00014F0000000888ull) + ((offset) & 511) * 8)
65 #define CVMX_IPD_PORT_SOPX(block_id) (CVMX_ADD_IO_SEG(0x00014F0000004400ull))
66 #define CVMX_IPD_PRC_HOLD_PTR_FIFO_CTL (CVMX_ADD_IO_SEG(0x00014F0000000348ull))
67 #define CVMX_IPD_PRC_PORT_PTR_FIFO_CTL (CVMX_ADD_IO_SEG(0x00014F0000000350ull))
68 #define CVMX_IPD_PTR_COUNT (CVMX_ADD_IO_SEG(0x00014F0000000320ull))
69 #define CVMX_IPD_PWP_PTR_FIFO_CTL (CVMX_ADD_IO_SEG(0x00014F0000000340ull))
70 #define CVMX_IPD_QOS0_RED_MARKS CVMX_IPD_QOSX_RED_MARKS(0)
71 #define CVMX_IPD_QOS1_RED_MARKS CVMX_IPD_QOSX_RED_MARKS(1)
72 #define CVMX_IPD_QOS2_RED_MARKS CVMX_IPD_QOSX_RED_MARKS(2)
73 #define CVMX_IPD_QOS3_RED_MARKS CVMX_IPD_QOSX_RED_MARKS(3)
74 #define CVMX_IPD_QOS4_RED_MARKS CVMX_IPD_QOSX_RED_MARKS(4)
75 #define CVMX_IPD_QOS5_RED_MARKS CVMX_IPD_QOSX_RED_MARKS(5)
76 #define CVMX_IPD_QOS6_RED_MARKS CVMX_IPD_QOSX_RED_MARKS(6)
77 #define CVMX_IPD_QOS7_RED_MARKS CVMX_IPD_QOSX_RED_MARKS(7)
78 #define CVMX_IPD_QOSX_RED_MARKS(offset) (CVMX_ADD_IO_SEG(0x00014F0000000178ull) + ((offset) & 7) * 8)
79 #define CVMX_IPD_QUE0_FREE_PAGE_CNT (CVMX_ADD_IO_SEG(0x00014F0000000330ull))
80 #define CVMX_IPD_RED_BPID_ENABLEX(block_id) (CVMX_ADD_IO_SEG(0x00014F0000004200ull))
81 #define CVMX_IPD_RED_DELAY (CVMX_ADD_IO_SEG(0x00014F0000004300ull))
82 #define CVMX_IPD_RED_PORT_ENABLE (CVMX_ADD_IO_SEG(0x00014F00000002D8ull))
83 #define CVMX_IPD_RED_PORT_ENABLE2 (CVMX_ADD_IO_SEG(0x00014F00000003A8ull))
84 #define CVMX_IPD_RED_QUE0_PARAM CVMX_IPD_RED_QUEX_PARAM(0)
85 #define CVMX_IPD_RED_QUE1_PARAM CVMX_IPD_RED_QUEX_PARAM(1)
86 #define CVMX_IPD_RED_QUE2_PARAM CVMX_IPD_RED_QUEX_PARAM(2)
87 #define CVMX_IPD_RED_QUE3_PARAM CVMX_IPD_RED_QUEX_PARAM(3)
88 #define CVMX_IPD_RED_QUE4_PARAM CVMX_IPD_RED_QUEX_PARAM(4)
89 #define CVMX_IPD_RED_QUE5_PARAM CVMX_IPD_RED_QUEX_PARAM(5)
90 #define CVMX_IPD_RED_QUE6_PARAM CVMX_IPD_RED_QUEX_PARAM(6)
91 #define CVMX_IPD_RED_QUE7_PARAM CVMX_IPD_RED_QUEX_PARAM(7)
92 #define CVMX_IPD_RED_QUEX_PARAM(offset) (CVMX_ADD_IO_SEG(0x00014F00000002E0ull) + ((offset) & 7) * 8)
93 #define CVMX_IPD_REQ_WGT (CVMX_ADD_IO_SEG(0x00014F0000004418ull))
94 #define CVMX_IPD_SUB_PORT_BP_PAGE_CNT (CVMX_ADD_IO_SEG(0x00014F0000000148ull))
95 #define CVMX_IPD_SUB_PORT_FCS (CVMX_ADD_IO_SEG(0x00014F0000000170ull))
96 #define CVMX_IPD_SUB_PORT_QOS_CNT (CVMX_ADD_IO_SEG(0x00014F0000000800ull))
97 #define CVMX_IPD_WQE_FPA_QUEUE (CVMX_ADD_IO_SEG(0x00014F0000000020ull))
98 #define CVMX_IPD_WQE_PTR_VALID (CVMX_ADD_IO_SEG(0x00014F0000000360ull))
103 #ifdef __BIG_ENDIAN_BITFIELD
134 #ifdef __BIG_ENDIAN_BITFIELD
165 #ifdef __BIG_ENDIAN_BITFIELD
196 #ifdef __BIG_ENDIAN_BITFIELD
249 #ifdef __BIG_ENDIAN_BITFIELD
292 #ifdef __BIG_ENDIAN_BITFIELD
351 #ifdef __BIG_ENDIAN_BITFIELD
360 #ifdef __BIG_ENDIAN_BITFIELD
373 #ifdef __BIG_ENDIAN_BITFIELD
388 #ifdef __BIG_ENDIAN_BITFIELD
404 #ifdef __BIG_ENDIAN_BITFIELD
421 #ifdef __BIG_ENDIAN_BITFIELD
436 #ifdef __BIG_ENDIAN_BITFIELD
465 #ifdef __BIG_ENDIAN_BITFIELD
482 #ifdef __BIG_ENDIAN_BITFIELD
523 #ifdef __BIG_ENDIAN_BITFIELD
550 #ifdef __BIG_ENDIAN_BITFIELD
573 #ifdef __BIG_ENDIAN_BITFIELD
612 #ifdef __BIG_ENDIAN_BITFIELD
644 #ifdef __BIG_ENDIAN_BITFIELD
689 #ifdef __BIG_ENDIAN_BITFIELD
710 #ifdef __BIG_ENDIAN_BITFIELD
733 #ifdef __BIG_ENDIAN_BITFIELD
748 #ifdef __BIG_ENDIAN_BITFIELD
771 #ifdef __BIG_ENDIAN_BITFIELD
824 #ifdef __BIG_ENDIAN_BITFIELD
842 #ifdef __BIG_ENDIAN_BITFIELD
871 #ifdef __BIG_ENDIAN_BITFIELD
918 #ifdef __BIG_ENDIAN_BITFIELD
971 #ifdef __BIG_ENDIAN_BITFIELD
989 #ifdef __BIG_ENDIAN_BITFIELD
1018 #ifdef __BIG_ENDIAN_BITFIELD
1065 #ifdef __BIG_ENDIAN_BITFIELD
1080 #ifdef __BIG_ENDIAN_BITFIELD
1095 #ifdef __BIG_ENDIAN_BITFIELD
1126 #ifdef __BIG_ENDIAN_BITFIELD
1139 #ifdef __BIG_ENDIAN_BITFIELD
1170 #ifdef __BIG_ENDIAN_BITFIELD
1185 #ifdef __BIG_ENDIAN_BITFIELD
1213 #ifdef __BIG_ENDIAN_BITFIELD
1244 #ifdef __BIG_ENDIAN_BITFIELD
1268 #ifdef __BIG_ENDIAN_BITFIELD
1288 #ifdef __BIG_ENDIAN_BITFIELD
1310 #ifdef __BIG_ENDIAN_BITFIELD
1328 #ifdef __BIG_ENDIAN_BITFIELD
1344 #ifdef __BIG_ENDIAN_BITFIELD
1373 #ifdef __BIG_ENDIAN_BITFIELD
1394 #ifdef __BIG_ENDIAN_BITFIELD
1418 #ifdef __BIG_ENDIAN_BITFIELD
1440 #ifdef __BIG_ENDIAN_BITFIELD
1462 #ifdef __BIG_ENDIAN_BITFIELD
1475 #ifdef __BIG_ENDIAN_BITFIELD
1511 #ifdef __BIG_ENDIAN_BITFIELD
1545 #ifdef __BIG_ENDIAN_BITFIELD
1584 #ifdef __BIG_ENDIAN_BITFIELD
1622 #ifdef __BIG_ENDIAN_BITFIELD
1653 #ifdef __BIG_ENDIAN_BITFIELD
1684 #ifdef __BIG_ENDIAN_BITFIELD
1697 #ifdef __BIG_ENDIAN_BITFIELD
1714 #ifdef __BIG_ENDIAN_BITFIELD
1745 #ifdef __BIG_ENDIAN_BITFIELD
1754 #ifdef __BIG_ENDIAN_BITFIELD
1767 #ifdef __BIG_ENDIAN_BITFIELD
1783 #ifdef __BIG_ENDIAN_BITFIELD
1820 #ifdef __BIG_ENDIAN_BITFIELD
1846 #ifdef __BIG_ENDIAN_BITFIELD
1879 #ifdef __BIG_ENDIAN_BITFIELD
1892 #ifdef __BIG_ENDIAN_BITFIELD
1902 #ifdef __BIG_ENDIAN_BITFIELD
1928 #ifdef __BIG_ENDIAN_BITFIELD
1954 #ifdef __BIG_ENDIAN_BITFIELD
1985 #ifdef __BIG_ENDIAN_BITFIELD