18c2ecf20Sopenharmony_ci/***********************license start***************
28c2ecf20Sopenharmony_ci * Author: Cavium Networks
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci * Contact: support@caviumnetworks.com
58c2ecf20Sopenharmony_ci * This file is part of the OCTEON SDK
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * Copyright (c) 2003-2012 Cavium Networks
88c2ecf20Sopenharmony_ci *
98c2ecf20Sopenharmony_ci * This file is free software; you can redistribute it and/or modify
108c2ecf20Sopenharmony_ci * it under the terms of the GNU General Public License, Version 2, as
118c2ecf20Sopenharmony_ci * published by the Free Software Foundation.
128c2ecf20Sopenharmony_ci *
138c2ecf20Sopenharmony_ci * This file is distributed in the hope that it will be useful, but
148c2ecf20Sopenharmony_ci * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
158c2ecf20Sopenharmony_ci * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or
168c2ecf20Sopenharmony_ci * NONINFRINGEMENT.  See the GNU General Public License for more
178c2ecf20Sopenharmony_ci * details.
188c2ecf20Sopenharmony_ci *
198c2ecf20Sopenharmony_ci * You should have received a copy of the GNU General Public License
208c2ecf20Sopenharmony_ci * along with this file; if not, write to the Free Software
218c2ecf20Sopenharmony_ci * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
228c2ecf20Sopenharmony_ci * or visit http://www.gnu.org/licenses/.
238c2ecf20Sopenharmony_ci *
248c2ecf20Sopenharmony_ci * This file may also be available under a different license from Cavium.
258c2ecf20Sopenharmony_ci * Contact Cavium Networks for more information
268c2ecf20Sopenharmony_ci ***********************license end**************************************/
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci#ifndef __CVMX_PIP_DEFS_H__
298c2ecf20Sopenharmony_ci#define __CVMX_PIP_DEFS_H__
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci/*
328c2ecf20Sopenharmony_ci * Enumeration representing the amount of packet processing
338c2ecf20Sopenharmony_ci * and validation performed by the input hardware.
348c2ecf20Sopenharmony_ci */
358c2ecf20Sopenharmony_cienum cvmx_pip_port_parse_mode {
368c2ecf20Sopenharmony_ci	/*
378c2ecf20Sopenharmony_ci	 * Packet input doesn't perform any processing of the input
388c2ecf20Sopenharmony_ci	 * packet.
398c2ecf20Sopenharmony_ci	 */
408c2ecf20Sopenharmony_ci	CVMX_PIP_PORT_CFG_MODE_NONE = 0ull,
418c2ecf20Sopenharmony_ci	/*
428c2ecf20Sopenharmony_ci	 * Full packet processing is performed with pointer starting
438c2ecf20Sopenharmony_ci	 * at the L2 (ethernet MAC) header.
448c2ecf20Sopenharmony_ci	 */
458c2ecf20Sopenharmony_ci	CVMX_PIP_PORT_CFG_MODE_SKIPL2 = 1ull,
468c2ecf20Sopenharmony_ci	/*
478c2ecf20Sopenharmony_ci	 * Input packets are assumed to be IP.	Results from non IP
488c2ecf20Sopenharmony_ci	 * packets is undefined. Pointers reference the beginning of
498c2ecf20Sopenharmony_ci	 * the IP header.
508c2ecf20Sopenharmony_ci	 */
518c2ecf20Sopenharmony_ci	CVMX_PIP_PORT_CFG_MODE_SKIPIP = 2ull
528c2ecf20Sopenharmony_ci};
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ci#define CVMX_PIP_ALT_SKIP_CFGX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002A00ull) + ((offset) & 3) * 8)
558c2ecf20Sopenharmony_ci#define CVMX_PIP_BCK_PRS (CVMX_ADD_IO_SEG(0x00011800A0000038ull))
568c2ecf20Sopenharmony_ci#define CVMX_PIP_BIST_STATUS (CVMX_ADD_IO_SEG(0x00011800A0000000ull))
578c2ecf20Sopenharmony_ci#define CVMX_PIP_BSEL_EXT_CFGX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002800ull) + ((offset) & 3) * 16)
588c2ecf20Sopenharmony_ci#define CVMX_PIP_BSEL_EXT_POSX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002808ull) + ((offset) & 3) * 16)
598c2ecf20Sopenharmony_ci#define CVMX_PIP_BSEL_TBL_ENTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0003000ull) + ((offset) & 511) * 8)
608c2ecf20Sopenharmony_ci#define CVMX_PIP_CLKEN (CVMX_ADD_IO_SEG(0x00011800A0000040ull))
618c2ecf20Sopenharmony_ci#define CVMX_PIP_CRC_CTLX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000040ull) + ((offset) & 1) * 8)
628c2ecf20Sopenharmony_ci#define CVMX_PIP_CRC_IVX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000050ull) + ((offset) & 1) * 8)
638c2ecf20Sopenharmony_ci#define CVMX_PIP_DEC_IPSECX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000080ull) + ((offset) & 3) * 8)
648c2ecf20Sopenharmony_ci#define CVMX_PIP_DSA_SRC_GRP (CVMX_ADD_IO_SEG(0x00011800A0000190ull))
658c2ecf20Sopenharmony_ci#define CVMX_PIP_DSA_VID_GRP (CVMX_ADD_IO_SEG(0x00011800A0000198ull))
668c2ecf20Sopenharmony_ci#define CVMX_PIP_FRM_LEN_CHKX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000180ull) + ((offset) & 1) * 8)
678c2ecf20Sopenharmony_ci#define CVMX_PIP_GBL_CFG (CVMX_ADD_IO_SEG(0x00011800A0000028ull))
688c2ecf20Sopenharmony_ci#define CVMX_PIP_GBL_CTL (CVMX_ADD_IO_SEG(0x00011800A0000020ull))
698c2ecf20Sopenharmony_ci#define CVMX_PIP_HG_PRI_QOS (CVMX_ADD_IO_SEG(0x00011800A00001A0ull))
708c2ecf20Sopenharmony_ci#define CVMX_PIP_INT_EN (CVMX_ADD_IO_SEG(0x00011800A0000010ull))
718c2ecf20Sopenharmony_ci#define CVMX_PIP_INT_REG (CVMX_ADD_IO_SEG(0x00011800A0000008ull))
728c2ecf20Sopenharmony_ci#define CVMX_PIP_IP_OFFSET (CVMX_ADD_IO_SEG(0x00011800A0000060ull))
738c2ecf20Sopenharmony_ci#define CVMX_PIP_PRI_TBLX(offset) (CVMX_ADD_IO_SEG(0x00011800A0004000ull) + ((offset) & 255) * 8)
748c2ecf20Sopenharmony_ci#define CVMX_PIP_PRT_CFGBX(offset) (CVMX_ADD_IO_SEG(0x00011800A0008000ull) + ((offset) & 63) * 8)
758c2ecf20Sopenharmony_ci#define CVMX_PIP_PRT_CFGX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000200ull) + ((offset) & 63) * 8)
768c2ecf20Sopenharmony_ci#define CVMX_PIP_PRT_TAGX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000400ull) + ((offset) & 63) * 8)
778c2ecf20Sopenharmony_ci#define CVMX_PIP_QOS_DIFFX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000600ull) + ((offset) & 63) * 8)
788c2ecf20Sopenharmony_ci#define CVMX_PIP_QOS_VLANX(offset) (CVMX_ADD_IO_SEG(0x00011800A00000C0ull) + ((offset) & 7) * 8)
798c2ecf20Sopenharmony_ci#define CVMX_PIP_QOS_WATCHX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000100ull) + ((offset) & 7) * 8)
808c2ecf20Sopenharmony_ci#define CVMX_PIP_RAW_WORD (CVMX_ADD_IO_SEG(0x00011800A00000B0ull))
818c2ecf20Sopenharmony_ci#define CVMX_PIP_SFT_RST (CVMX_ADD_IO_SEG(0x00011800A0000030ull))
828c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT0_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000800ull) + ((offset) & 63) * 80)
838c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT0_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040000ull) + ((offset) & 63) * 128)
848c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT10_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001480ull) + ((offset) & 63) * 16)
858c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT10_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040050ull) + ((offset) & 63) * 128)
868c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT11_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001488ull) + ((offset) & 63) * 16)
878c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT11_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040058ull) + ((offset) & 63) * 128)
888c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT1_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000808ull) + ((offset) & 63) * 80)
898c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT1_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040008ull) + ((offset) & 63) * 128)
908c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT2_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000810ull) + ((offset) & 63) * 80)
918c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT2_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040010ull) + ((offset) & 63) * 128)
928c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT3_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000818ull) + ((offset) & 63) * 80)
938c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT3_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040018ull) + ((offset) & 63) * 128)
948c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT4_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000820ull) + ((offset) & 63) * 80)
958c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT4_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040020ull) + ((offset) & 63) * 128)
968c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT5_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000828ull) + ((offset) & 63) * 80)
978c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT5_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040028ull) + ((offset) & 63) * 128)
988c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT6_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000830ull) + ((offset) & 63) * 80)
998c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT6_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040030ull) + ((offset) & 63) * 128)
1008c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT7_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000838ull) + ((offset) & 63) * 80)
1018c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT7_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040038ull) + ((offset) & 63) * 128)
1028c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT8_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000840ull) + ((offset) & 63) * 80)
1038c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT8_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040040ull) + ((offset) & 63) * 128)
1048c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT9_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000848ull) + ((offset) & 63) * 80)
1058c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT9_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040048ull) + ((offset) & 63) * 128)
1068c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT_CTL (CVMX_ADD_IO_SEG(0x00011800A0000018ull))
1078c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT_INB_ERRSX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001A10ull) + ((offset) & 63) * 32)
1088c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT_INB_ERRS_PKNDX(offset) (CVMX_ADD_IO_SEG(0x00011800A0020010ull) + ((offset) & 63) * 32)
1098c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT_INB_OCTSX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001A08ull) + ((offset) & 63) * 32)
1108c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT_INB_OCTS_PKNDX(offset) (CVMX_ADD_IO_SEG(0x00011800A0020008ull) + ((offset) & 63) * 32)
1118c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT_INB_PKTSX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001A00ull) + ((offset) & 63) * 32)
1128c2ecf20Sopenharmony_ci#define CVMX_PIP_STAT_INB_PKTS_PKNDX(offset) (CVMX_ADD_IO_SEG(0x00011800A0020000ull) + ((offset) & 63) * 32)
1138c2ecf20Sopenharmony_ci#define CVMX_PIP_SUB_PKIND_FCSX(block_id) (CVMX_ADD_IO_SEG(0x00011800A0080000ull))
1148c2ecf20Sopenharmony_ci#define CVMX_PIP_TAG_INCX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001800ull) + ((offset) & 63) * 8)
1158c2ecf20Sopenharmony_ci#define CVMX_PIP_TAG_MASK (CVMX_ADD_IO_SEG(0x00011800A0000070ull))
1168c2ecf20Sopenharmony_ci#define CVMX_PIP_TAG_SECRET (CVMX_ADD_IO_SEG(0x00011800A0000068ull))
1178c2ecf20Sopenharmony_ci#define CVMX_PIP_TODO_ENTRY (CVMX_ADD_IO_SEG(0x00011800A0000078ull))
1188c2ecf20Sopenharmony_ci#define CVMX_PIP_VLAN_ETYPESX(offset) (CVMX_ADD_IO_SEG(0x00011800A00001C0ull) + ((offset) & 1) * 8)
1198c2ecf20Sopenharmony_ci#define CVMX_PIP_XSTAT0_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002000ull) + ((offset) & 63) * 80 - 80*40)
1208c2ecf20Sopenharmony_ci#define CVMX_PIP_XSTAT10_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001700ull) + ((offset) & 63) * 16 - 16*40)
1218c2ecf20Sopenharmony_ci#define CVMX_PIP_XSTAT11_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001708ull) + ((offset) & 63) * 16 - 16*40)
1228c2ecf20Sopenharmony_ci#define CVMX_PIP_XSTAT1_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002008ull) + ((offset) & 63) * 80 - 80*40)
1238c2ecf20Sopenharmony_ci#define CVMX_PIP_XSTAT2_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002010ull) + ((offset) & 63) * 80 - 80*40)
1248c2ecf20Sopenharmony_ci#define CVMX_PIP_XSTAT3_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002018ull) + ((offset) & 63) * 80 - 80*40)
1258c2ecf20Sopenharmony_ci#define CVMX_PIP_XSTAT4_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002020ull) + ((offset) & 63) * 80 - 80*40)
1268c2ecf20Sopenharmony_ci#define CVMX_PIP_XSTAT5_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002028ull) + ((offset) & 63) * 80 - 80*40)
1278c2ecf20Sopenharmony_ci#define CVMX_PIP_XSTAT6_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002030ull) + ((offset) & 63) * 80 - 80*40)
1288c2ecf20Sopenharmony_ci#define CVMX_PIP_XSTAT7_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002038ull) + ((offset) & 63) * 80 - 80*40)
1298c2ecf20Sopenharmony_ci#define CVMX_PIP_XSTAT8_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002040ull) + ((offset) & 63) * 80 - 80*40)
1308c2ecf20Sopenharmony_ci#define CVMX_PIP_XSTAT9_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002048ull) + ((offset) & 63) * 80 - 80*40)
1318c2ecf20Sopenharmony_ci
1328c2ecf20Sopenharmony_ciunion cvmx_pip_alt_skip_cfgx {
1338c2ecf20Sopenharmony_ci	uint64_t u64;
1348c2ecf20Sopenharmony_ci	struct cvmx_pip_alt_skip_cfgx_s {
1358c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
1368c2ecf20Sopenharmony_ci		uint64_t reserved_57_63:7;
1378c2ecf20Sopenharmony_ci		uint64_t len:1;
1388c2ecf20Sopenharmony_ci		uint64_t reserved_46_55:10;
1398c2ecf20Sopenharmony_ci		uint64_t bit1:6;
1408c2ecf20Sopenharmony_ci		uint64_t reserved_38_39:2;
1418c2ecf20Sopenharmony_ci		uint64_t bit0:6;
1428c2ecf20Sopenharmony_ci		uint64_t reserved_23_31:9;
1438c2ecf20Sopenharmony_ci		uint64_t skip3:7;
1448c2ecf20Sopenharmony_ci		uint64_t reserved_15_15:1;
1458c2ecf20Sopenharmony_ci		uint64_t skip2:7;
1468c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
1478c2ecf20Sopenharmony_ci		uint64_t skip1:7;
1488c2ecf20Sopenharmony_ci#else
1498c2ecf20Sopenharmony_ci		uint64_t skip1:7;
1508c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
1518c2ecf20Sopenharmony_ci		uint64_t skip2:7;
1528c2ecf20Sopenharmony_ci		uint64_t reserved_15_15:1;
1538c2ecf20Sopenharmony_ci		uint64_t skip3:7;
1548c2ecf20Sopenharmony_ci		uint64_t reserved_23_31:9;
1558c2ecf20Sopenharmony_ci		uint64_t bit0:6;
1568c2ecf20Sopenharmony_ci		uint64_t reserved_38_39:2;
1578c2ecf20Sopenharmony_ci		uint64_t bit1:6;
1588c2ecf20Sopenharmony_ci		uint64_t reserved_46_55:10;
1598c2ecf20Sopenharmony_ci		uint64_t len:1;
1608c2ecf20Sopenharmony_ci		uint64_t reserved_57_63:7;
1618c2ecf20Sopenharmony_ci#endif
1628c2ecf20Sopenharmony_ci	} s;
1638c2ecf20Sopenharmony_ci};
1648c2ecf20Sopenharmony_ci
1658c2ecf20Sopenharmony_ciunion cvmx_pip_bck_prs {
1668c2ecf20Sopenharmony_ci	uint64_t u64;
1678c2ecf20Sopenharmony_ci	struct cvmx_pip_bck_prs_s {
1688c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
1698c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
1708c2ecf20Sopenharmony_ci		uint64_t reserved_13_62:50;
1718c2ecf20Sopenharmony_ci		uint64_t hiwater:5;
1728c2ecf20Sopenharmony_ci		uint64_t reserved_5_7:3;
1738c2ecf20Sopenharmony_ci		uint64_t lowater:5;
1748c2ecf20Sopenharmony_ci#else
1758c2ecf20Sopenharmony_ci		uint64_t lowater:5;
1768c2ecf20Sopenharmony_ci		uint64_t reserved_5_7:3;
1778c2ecf20Sopenharmony_ci		uint64_t hiwater:5;
1788c2ecf20Sopenharmony_ci		uint64_t reserved_13_62:50;
1798c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
1808c2ecf20Sopenharmony_ci#endif
1818c2ecf20Sopenharmony_ci	} s;
1828c2ecf20Sopenharmony_ci};
1838c2ecf20Sopenharmony_ci
1848c2ecf20Sopenharmony_ciunion cvmx_pip_bist_status {
1858c2ecf20Sopenharmony_ci	uint64_t u64;
1868c2ecf20Sopenharmony_ci	struct cvmx_pip_bist_status_s {
1878c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
1888c2ecf20Sopenharmony_ci		uint64_t reserved_22_63:42;
1898c2ecf20Sopenharmony_ci		uint64_t bist:22;
1908c2ecf20Sopenharmony_ci#else
1918c2ecf20Sopenharmony_ci		uint64_t bist:22;
1928c2ecf20Sopenharmony_ci		uint64_t reserved_22_63:42;
1938c2ecf20Sopenharmony_ci#endif
1948c2ecf20Sopenharmony_ci	} s;
1958c2ecf20Sopenharmony_ci	struct cvmx_pip_bist_status_cn30xx {
1968c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
1978c2ecf20Sopenharmony_ci		uint64_t reserved_18_63:46;
1988c2ecf20Sopenharmony_ci		uint64_t bist:18;
1998c2ecf20Sopenharmony_ci#else
2008c2ecf20Sopenharmony_ci		uint64_t bist:18;
2018c2ecf20Sopenharmony_ci		uint64_t reserved_18_63:46;
2028c2ecf20Sopenharmony_ci#endif
2038c2ecf20Sopenharmony_ci	} cn30xx;
2048c2ecf20Sopenharmony_ci	struct cvmx_pip_bist_status_cn50xx {
2058c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
2068c2ecf20Sopenharmony_ci		uint64_t reserved_17_63:47;
2078c2ecf20Sopenharmony_ci		uint64_t bist:17;
2088c2ecf20Sopenharmony_ci#else
2098c2ecf20Sopenharmony_ci		uint64_t bist:17;
2108c2ecf20Sopenharmony_ci		uint64_t reserved_17_63:47;
2118c2ecf20Sopenharmony_ci#endif
2128c2ecf20Sopenharmony_ci	} cn50xx;
2138c2ecf20Sopenharmony_ci	struct cvmx_pip_bist_status_cn61xx {
2148c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
2158c2ecf20Sopenharmony_ci		uint64_t reserved_20_63:44;
2168c2ecf20Sopenharmony_ci		uint64_t bist:20;
2178c2ecf20Sopenharmony_ci#else
2188c2ecf20Sopenharmony_ci		uint64_t bist:20;
2198c2ecf20Sopenharmony_ci		uint64_t reserved_20_63:44;
2208c2ecf20Sopenharmony_ci#endif
2218c2ecf20Sopenharmony_ci	} cn61xx;
2228c2ecf20Sopenharmony_ci};
2238c2ecf20Sopenharmony_ci
2248c2ecf20Sopenharmony_ciunion cvmx_pip_bsel_ext_cfgx {
2258c2ecf20Sopenharmony_ci	uint64_t u64;
2268c2ecf20Sopenharmony_ci	struct cvmx_pip_bsel_ext_cfgx_s {
2278c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
2288c2ecf20Sopenharmony_ci		uint64_t reserved_56_63:8;
2298c2ecf20Sopenharmony_ci		uint64_t upper_tag:16;
2308c2ecf20Sopenharmony_ci		uint64_t tag:8;
2318c2ecf20Sopenharmony_ci		uint64_t reserved_25_31:7;
2328c2ecf20Sopenharmony_ci		uint64_t offset:9;
2338c2ecf20Sopenharmony_ci		uint64_t reserved_7_15:9;
2348c2ecf20Sopenharmony_ci		uint64_t skip:7;
2358c2ecf20Sopenharmony_ci#else
2368c2ecf20Sopenharmony_ci		uint64_t skip:7;
2378c2ecf20Sopenharmony_ci		uint64_t reserved_7_15:9;
2388c2ecf20Sopenharmony_ci		uint64_t offset:9;
2398c2ecf20Sopenharmony_ci		uint64_t reserved_25_31:7;
2408c2ecf20Sopenharmony_ci		uint64_t tag:8;
2418c2ecf20Sopenharmony_ci		uint64_t upper_tag:16;
2428c2ecf20Sopenharmony_ci		uint64_t reserved_56_63:8;
2438c2ecf20Sopenharmony_ci#endif
2448c2ecf20Sopenharmony_ci	} s;
2458c2ecf20Sopenharmony_ci};
2468c2ecf20Sopenharmony_ci
2478c2ecf20Sopenharmony_ciunion cvmx_pip_bsel_ext_posx {
2488c2ecf20Sopenharmony_ci	uint64_t u64;
2498c2ecf20Sopenharmony_ci	struct cvmx_pip_bsel_ext_posx_s {
2508c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
2518c2ecf20Sopenharmony_ci		uint64_t pos7_val:1;
2528c2ecf20Sopenharmony_ci		uint64_t pos7:7;
2538c2ecf20Sopenharmony_ci		uint64_t pos6_val:1;
2548c2ecf20Sopenharmony_ci		uint64_t pos6:7;
2558c2ecf20Sopenharmony_ci		uint64_t pos5_val:1;
2568c2ecf20Sopenharmony_ci		uint64_t pos5:7;
2578c2ecf20Sopenharmony_ci		uint64_t pos4_val:1;
2588c2ecf20Sopenharmony_ci		uint64_t pos4:7;
2598c2ecf20Sopenharmony_ci		uint64_t pos3_val:1;
2608c2ecf20Sopenharmony_ci		uint64_t pos3:7;
2618c2ecf20Sopenharmony_ci		uint64_t pos2_val:1;
2628c2ecf20Sopenharmony_ci		uint64_t pos2:7;
2638c2ecf20Sopenharmony_ci		uint64_t pos1_val:1;
2648c2ecf20Sopenharmony_ci		uint64_t pos1:7;
2658c2ecf20Sopenharmony_ci		uint64_t pos0_val:1;
2668c2ecf20Sopenharmony_ci		uint64_t pos0:7;
2678c2ecf20Sopenharmony_ci#else
2688c2ecf20Sopenharmony_ci		uint64_t pos0:7;
2698c2ecf20Sopenharmony_ci		uint64_t pos0_val:1;
2708c2ecf20Sopenharmony_ci		uint64_t pos1:7;
2718c2ecf20Sopenharmony_ci		uint64_t pos1_val:1;
2728c2ecf20Sopenharmony_ci		uint64_t pos2:7;
2738c2ecf20Sopenharmony_ci		uint64_t pos2_val:1;
2748c2ecf20Sopenharmony_ci		uint64_t pos3:7;
2758c2ecf20Sopenharmony_ci		uint64_t pos3_val:1;
2768c2ecf20Sopenharmony_ci		uint64_t pos4:7;
2778c2ecf20Sopenharmony_ci		uint64_t pos4_val:1;
2788c2ecf20Sopenharmony_ci		uint64_t pos5:7;
2798c2ecf20Sopenharmony_ci		uint64_t pos5_val:1;
2808c2ecf20Sopenharmony_ci		uint64_t pos6:7;
2818c2ecf20Sopenharmony_ci		uint64_t pos6_val:1;
2828c2ecf20Sopenharmony_ci		uint64_t pos7:7;
2838c2ecf20Sopenharmony_ci		uint64_t pos7_val:1;
2848c2ecf20Sopenharmony_ci#endif
2858c2ecf20Sopenharmony_ci	} s;
2868c2ecf20Sopenharmony_ci};
2878c2ecf20Sopenharmony_ci
2888c2ecf20Sopenharmony_ciunion cvmx_pip_bsel_tbl_entx {
2898c2ecf20Sopenharmony_ci	uint64_t u64;
2908c2ecf20Sopenharmony_ci	struct cvmx_pip_bsel_tbl_entx_s {
2918c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
2928c2ecf20Sopenharmony_ci		uint64_t tag_en:1;
2938c2ecf20Sopenharmony_ci		uint64_t grp_en:1;
2948c2ecf20Sopenharmony_ci		uint64_t tt_en:1;
2958c2ecf20Sopenharmony_ci		uint64_t qos_en:1;
2968c2ecf20Sopenharmony_ci		uint64_t reserved_40_59:20;
2978c2ecf20Sopenharmony_ci		uint64_t tag:8;
2988c2ecf20Sopenharmony_ci		uint64_t reserved_22_31:10;
2998c2ecf20Sopenharmony_ci		uint64_t grp:6;
3008c2ecf20Sopenharmony_ci		uint64_t reserved_10_15:6;
3018c2ecf20Sopenharmony_ci		uint64_t tt:2;
3028c2ecf20Sopenharmony_ci		uint64_t reserved_3_7:5;
3038c2ecf20Sopenharmony_ci		uint64_t qos:3;
3048c2ecf20Sopenharmony_ci#else
3058c2ecf20Sopenharmony_ci		uint64_t qos:3;
3068c2ecf20Sopenharmony_ci		uint64_t reserved_3_7:5;
3078c2ecf20Sopenharmony_ci		uint64_t tt:2;
3088c2ecf20Sopenharmony_ci		uint64_t reserved_10_15:6;
3098c2ecf20Sopenharmony_ci		uint64_t grp:6;
3108c2ecf20Sopenharmony_ci		uint64_t reserved_22_31:10;
3118c2ecf20Sopenharmony_ci		uint64_t tag:8;
3128c2ecf20Sopenharmony_ci		uint64_t reserved_40_59:20;
3138c2ecf20Sopenharmony_ci		uint64_t qos_en:1;
3148c2ecf20Sopenharmony_ci		uint64_t tt_en:1;
3158c2ecf20Sopenharmony_ci		uint64_t grp_en:1;
3168c2ecf20Sopenharmony_ci		uint64_t tag_en:1;
3178c2ecf20Sopenharmony_ci#endif
3188c2ecf20Sopenharmony_ci	} s;
3198c2ecf20Sopenharmony_ci	struct cvmx_pip_bsel_tbl_entx_cn61xx {
3208c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
3218c2ecf20Sopenharmony_ci		uint64_t tag_en:1;
3228c2ecf20Sopenharmony_ci		uint64_t grp_en:1;
3238c2ecf20Sopenharmony_ci		uint64_t tt_en:1;
3248c2ecf20Sopenharmony_ci		uint64_t qos_en:1;
3258c2ecf20Sopenharmony_ci		uint64_t reserved_40_59:20;
3268c2ecf20Sopenharmony_ci		uint64_t tag:8;
3278c2ecf20Sopenharmony_ci		uint64_t reserved_20_31:12;
3288c2ecf20Sopenharmony_ci		uint64_t grp:4;
3298c2ecf20Sopenharmony_ci		uint64_t reserved_10_15:6;
3308c2ecf20Sopenharmony_ci		uint64_t tt:2;
3318c2ecf20Sopenharmony_ci		uint64_t reserved_3_7:5;
3328c2ecf20Sopenharmony_ci		uint64_t qos:3;
3338c2ecf20Sopenharmony_ci#else
3348c2ecf20Sopenharmony_ci		uint64_t qos:3;
3358c2ecf20Sopenharmony_ci		uint64_t reserved_3_7:5;
3368c2ecf20Sopenharmony_ci		uint64_t tt:2;
3378c2ecf20Sopenharmony_ci		uint64_t reserved_10_15:6;
3388c2ecf20Sopenharmony_ci		uint64_t grp:4;
3398c2ecf20Sopenharmony_ci		uint64_t reserved_20_31:12;
3408c2ecf20Sopenharmony_ci		uint64_t tag:8;
3418c2ecf20Sopenharmony_ci		uint64_t reserved_40_59:20;
3428c2ecf20Sopenharmony_ci		uint64_t qos_en:1;
3438c2ecf20Sopenharmony_ci		uint64_t tt_en:1;
3448c2ecf20Sopenharmony_ci		uint64_t grp_en:1;
3458c2ecf20Sopenharmony_ci		uint64_t tag_en:1;
3468c2ecf20Sopenharmony_ci#endif
3478c2ecf20Sopenharmony_ci	} cn61xx;
3488c2ecf20Sopenharmony_ci};
3498c2ecf20Sopenharmony_ci
3508c2ecf20Sopenharmony_ciunion cvmx_pip_clken {
3518c2ecf20Sopenharmony_ci	uint64_t u64;
3528c2ecf20Sopenharmony_ci	struct cvmx_pip_clken_s {
3538c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
3548c2ecf20Sopenharmony_ci		uint64_t reserved_1_63:63;
3558c2ecf20Sopenharmony_ci		uint64_t clken:1;
3568c2ecf20Sopenharmony_ci#else
3578c2ecf20Sopenharmony_ci		uint64_t clken:1;
3588c2ecf20Sopenharmony_ci		uint64_t reserved_1_63:63;
3598c2ecf20Sopenharmony_ci#endif
3608c2ecf20Sopenharmony_ci	} s;
3618c2ecf20Sopenharmony_ci};
3628c2ecf20Sopenharmony_ci
3638c2ecf20Sopenharmony_ciunion cvmx_pip_crc_ctlx {
3648c2ecf20Sopenharmony_ci	uint64_t u64;
3658c2ecf20Sopenharmony_ci	struct cvmx_pip_crc_ctlx_s {
3668c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
3678c2ecf20Sopenharmony_ci		uint64_t reserved_2_63:62;
3688c2ecf20Sopenharmony_ci		uint64_t invres:1;
3698c2ecf20Sopenharmony_ci		uint64_t reflect:1;
3708c2ecf20Sopenharmony_ci#else
3718c2ecf20Sopenharmony_ci		uint64_t reflect:1;
3728c2ecf20Sopenharmony_ci		uint64_t invres:1;
3738c2ecf20Sopenharmony_ci		uint64_t reserved_2_63:62;
3748c2ecf20Sopenharmony_ci#endif
3758c2ecf20Sopenharmony_ci	} s;
3768c2ecf20Sopenharmony_ci};
3778c2ecf20Sopenharmony_ci
3788c2ecf20Sopenharmony_ciunion cvmx_pip_crc_ivx {
3798c2ecf20Sopenharmony_ci	uint64_t u64;
3808c2ecf20Sopenharmony_ci	struct cvmx_pip_crc_ivx_s {
3818c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
3828c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
3838c2ecf20Sopenharmony_ci		uint64_t iv:32;
3848c2ecf20Sopenharmony_ci#else
3858c2ecf20Sopenharmony_ci		uint64_t iv:32;
3868c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
3878c2ecf20Sopenharmony_ci#endif
3888c2ecf20Sopenharmony_ci	} s;
3898c2ecf20Sopenharmony_ci};
3908c2ecf20Sopenharmony_ci
3918c2ecf20Sopenharmony_ciunion cvmx_pip_dec_ipsecx {
3928c2ecf20Sopenharmony_ci	uint64_t u64;
3938c2ecf20Sopenharmony_ci	struct cvmx_pip_dec_ipsecx_s {
3948c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
3958c2ecf20Sopenharmony_ci		uint64_t reserved_18_63:46;
3968c2ecf20Sopenharmony_ci		uint64_t tcp:1;
3978c2ecf20Sopenharmony_ci		uint64_t udp:1;
3988c2ecf20Sopenharmony_ci		uint64_t dprt:16;
3998c2ecf20Sopenharmony_ci#else
4008c2ecf20Sopenharmony_ci		uint64_t dprt:16;
4018c2ecf20Sopenharmony_ci		uint64_t udp:1;
4028c2ecf20Sopenharmony_ci		uint64_t tcp:1;
4038c2ecf20Sopenharmony_ci		uint64_t reserved_18_63:46;
4048c2ecf20Sopenharmony_ci#endif
4058c2ecf20Sopenharmony_ci	} s;
4068c2ecf20Sopenharmony_ci};
4078c2ecf20Sopenharmony_ci
4088c2ecf20Sopenharmony_ciunion cvmx_pip_dsa_src_grp {
4098c2ecf20Sopenharmony_ci	uint64_t u64;
4108c2ecf20Sopenharmony_ci	struct cvmx_pip_dsa_src_grp_s {
4118c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
4128c2ecf20Sopenharmony_ci		uint64_t map15:4;
4138c2ecf20Sopenharmony_ci		uint64_t map14:4;
4148c2ecf20Sopenharmony_ci		uint64_t map13:4;
4158c2ecf20Sopenharmony_ci		uint64_t map12:4;
4168c2ecf20Sopenharmony_ci		uint64_t map11:4;
4178c2ecf20Sopenharmony_ci		uint64_t map10:4;
4188c2ecf20Sopenharmony_ci		uint64_t map9:4;
4198c2ecf20Sopenharmony_ci		uint64_t map8:4;
4208c2ecf20Sopenharmony_ci		uint64_t map7:4;
4218c2ecf20Sopenharmony_ci		uint64_t map6:4;
4228c2ecf20Sopenharmony_ci		uint64_t map5:4;
4238c2ecf20Sopenharmony_ci		uint64_t map4:4;
4248c2ecf20Sopenharmony_ci		uint64_t map3:4;
4258c2ecf20Sopenharmony_ci		uint64_t map2:4;
4268c2ecf20Sopenharmony_ci		uint64_t map1:4;
4278c2ecf20Sopenharmony_ci		uint64_t map0:4;
4288c2ecf20Sopenharmony_ci#else
4298c2ecf20Sopenharmony_ci		uint64_t map0:4;
4308c2ecf20Sopenharmony_ci		uint64_t map1:4;
4318c2ecf20Sopenharmony_ci		uint64_t map2:4;
4328c2ecf20Sopenharmony_ci		uint64_t map3:4;
4338c2ecf20Sopenharmony_ci		uint64_t map4:4;
4348c2ecf20Sopenharmony_ci		uint64_t map5:4;
4358c2ecf20Sopenharmony_ci		uint64_t map6:4;
4368c2ecf20Sopenharmony_ci		uint64_t map7:4;
4378c2ecf20Sopenharmony_ci		uint64_t map8:4;
4388c2ecf20Sopenharmony_ci		uint64_t map9:4;
4398c2ecf20Sopenharmony_ci		uint64_t map10:4;
4408c2ecf20Sopenharmony_ci		uint64_t map11:4;
4418c2ecf20Sopenharmony_ci		uint64_t map12:4;
4428c2ecf20Sopenharmony_ci		uint64_t map13:4;
4438c2ecf20Sopenharmony_ci		uint64_t map14:4;
4448c2ecf20Sopenharmony_ci		uint64_t map15:4;
4458c2ecf20Sopenharmony_ci#endif
4468c2ecf20Sopenharmony_ci	} s;
4478c2ecf20Sopenharmony_ci};
4488c2ecf20Sopenharmony_ci
4498c2ecf20Sopenharmony_ciunion cvmx_pip_dsa_vid_grp {
4508c2ecf20Sopenharmony_ci	uint64_t u64;
4518c2ecf20Sopenharmony_ci	struct cvmx_pip_dsa_vid_grp_s {
4528c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
4538c2ecf20Sopenharmony_ci		uint64_t map15:4;
4548c2ecf20Sopenharmony_ci		uint64_t map14:4;
4558c2ecf20Sopenharmony_ci		uint64_t map13:4;
4568c2ecf20Sopenharmony_ci		uint64_t map12:4;
4578c2ecf20Sopenharmony_ci		uint64_t map11:4;
4588c2ecf20Sopenharmony_ci		uint64_t map10:4;
4598c2ecf20Sopenharmony_ci		uint64_t map9:4;
4608c2ecf20Sopenharmony_ci		uint64_t map8:4;
4618c2ecf20Sopenharmony_ci		uint64_t map7:4;
4628c2ecf20Sopenharmony_ci		uint64_t map6:4;
4638c2ecf20Sopenharmony_ci		uint64_t map5:4;
4648c2ecf20Sopenharmony_ci		uint64_t map4:4;
4658c2ecf20Sopenharmony_ci		uint64_t map3:4;
4668c2ecf20Sopenharmony_ci		uint64_t map2:4;
4678c2ecf20Sopenharmony_ci		uint64_t map1:4;
4688c2ecf20Sopenharmony_ci		uint64_t map0:4;
4698c2ecf20Sopenharmony_ci#else
4708c2ecf20Sopenharmony_ci		uint64_t map0:4;
4718c2ecf20Sopenharmony_ci		uint64_t map1:4;
4728c2ecf20Sopenharmony_ci		uint64_t map2:4;
4738c2ecf20Sopenharmony_ci		uint64_t map3:4;
4748c2ecf20Sopenharmony_ci		uint64_t map4:4;
4758c2ecf20Sopenharmony_ci		uint64_t map5:4;
4768c2ecf20Sopenharmony_ci		uint64_t map6:4;
4778c2ecf20Sopenharmony_ci		uint64_t map7:4;
4788c2ecf20Sopenharmony_ci		uint64_t map8:4;
4798c2ecf20Sopenharmony_ci		uint64_t map9:4;
4808c2ecf20Sopenharmony_ci		uint64_t map10:4;
4818c2ecf20Sopenharmony_ci		uint64_t map11:4;
4828c2ecf20Sopenharmony_ci		uint64_t map12:4;
4838c2ecf20Sopenharmony_ci		uint64_t map13:4;
4848c2ecf20Sopenharmony_ci		uint64_t map14:4;
4858c2ecf20Sopenharmony_ci		uint64_t map15:4;
4868c2ecf20Sopenharmony_ci#endif
4878c2ecf20Sopenharmony_ci	} s;
4888c2ecf20Sopenharmony_ci};
4898c2ecf20Sopenharmony_ci
4908c2ecf20Sopenharmony_ciunion cvmx_pip_frm_len_chkx {
4918c2ecf20Sopenharmony_ci	uint64_t u64;
4928c2ecf20Sopenharmony_ci	struct cvmx_pip_frm_len_chkx_s {
4938c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
4948c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
4958c2ecf20Sopenharmony_ci		uint64_t maxlen:16;
4968c2ecf20Sopenharmony_ci		uint64_t minlen:16;
4978c2ecf20Sopenharmony_ci#else
4988c2ecf20Sopenharmony_ci		uint64_t minlen:16;
4998c2ecf20Sopenharmony_ci		uint64_t maxlen:16;
5008c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
5018c2ecf20Sopenharmony_ci#endif
5028c2ecf20Sopenharmony_ci	} s;
5038c2ecf20Sopenharmony_ci};
5048c2ecf20Sopenharmony_ci
5058c2ecf20Sopenharmony_ciunion cvmx_pip_gbl_cfg {
5068c2ecf20Sopenharmony_ci	uint64_t u64;
5078c2ecf20Sopenharmony_ci	struct cvmx_pip_gbl_cfg_s {
5088c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
5098c2ecf20Sopenharmony_ci		uint64_t reserved_19_63:45;
5108c2ecf20Sopenharmony_ci		uint64_t tag_syn:1;
5118c2ecf20Sopenharmony_ci		uint64_t ip6_udp:1;
5128c2ecf20Sopenharmony_ci		uint64_t max_l2:1;
5138c2ecf20Sopenharmony_ci		uint64_t reserved_11_15:5;
5148c2ecf20Sopenharmony_ci		uint64_t raw_shf:3;
5158c2ecf20Sopenharmony_ci		uint64_t reserved_3_7:5;
5168c2ecf20Sopenharmony_ci		uint64_t nip_shf:3;
5178c2ecf20Sopenharmony_ci#else
5188c2ecf20Sopenharmony_ci		uint64_t nip_shf:3;
5198c2ecf20Sopenharmony_ci		uint64_t reserved_3_7:5;
5208c2ecf20Sopenharmony_ci		uint64_t raw_shf:3;
5218c2ecf20Sopenharmony_ci		uint64_t reserved_11_15:5;
5228c2ecf20Sopenharmony_ci		uint64_t max_l2:1;
5238c2ecf20Sopenharmony_ci		uint64_t ip6_udp:1;
5248c2ecf20Sopenharmony_ci		uint64_t tag_syn:1;
5258c2ecf20Sopenharmony_ci		uint64_t reserved_19_63:45;
5268c2ecf20Sopenharmony_ci#endif
5278c2ecf20Sopenharmony_ci	} s;
5288c2ecf20Sopenharmony_ci};
5298c2ecf20Sopenharmony_ci
5308c2ecf20Sopenharmony_ciunion cvmx_pip_gbl_ctl {
5318c2ecf20Sopenharmony_ci	uint64_t u64;
5328c2ecf20Sopenharmony_ci	struct cvmx_pip_gbl_ctl_s {
5338c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
5348c2ecf20Sopenharmony_ci		uint64_t reserved_29_63:35;
5358c2ecf20Sopenharmony_ci		uint64_t egrp_dis:1;
5368c2ecf20Sopenharmony_ci		uint64_t ihmsk_dis:1;
5378c2ecf20Sopenharmony_ci		uint64_t dsa_grp_tvid:1;
5388c2ecf20Sopenharmony_ci		uint64_t dsa_grp_scmd:1;
5398c2ecf20Sopenharmony_ci		uint64_t dsa_grp_sid:1;
5408c2ecf20Sopenharmony_ci		uint64_t reserved_21_23:3;
5418c2ecf20Sopenharmony_ci		uint64_t ring_en:1;
5428c2ecf20Sopenharmony_ci		uint64_t reserved_17_19:3;
5438c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
5448c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
5458c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
5468c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
5478c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
5488c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
5498c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
5508c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
5518c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
5528c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
5538c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
5548c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
5558c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
5568c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
5578c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
5588c2ecf20Sopenharmony_ci#else
5598c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
5608c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
5618c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
5628c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
5638c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
5648c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
5658c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
5668c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
5678c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
5688c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
5698c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
5708c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
5718c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
5728c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
5738c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
5748c2ecf20Sopenharmony_ci		uint64_t reserved_17_19:3;
5758c2ecf20Sopenharmony_ci		uint64_t ring_en:1;
5768c2ecf20Sopenharmony_ci		uint64_t reserved_21_23:3;
5778c2ecf20Sopenharmony_ci		uint64_t dsa_grp_sid:1;
5788c2ecf20Sopenharmony_ci		uint64_t dsa_grp_scmd:1;
5798c2ecf20Sopenharmony_ci		uint64_t dsa_grp_tvid:1;
5808c2ecf20Sopenharmony_ci		uint64_t ihmsk_dis:1;
5818c2ecf20Sopenharmony_ci		uint64_t egrp_dis:1;
5828c2ecf20Sopenharmony_ci		uint64_t reserved_29_63:35;
5838c2ecf20Sopenharmony_ci#endif
5848c2ecf20Sopenharmony_ci	} s;
5858c2ecf20Sopenharmony_ci	struct cvmx_pip_gbl_ctl_cn30xx {
5868c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
5878c2ecf20Sopenharmony_ci		uint64_t reserved_17_63:47;
5888c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
5898c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
5908c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
5918c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
5928c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
5938c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
5948c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
5958c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
5968c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
5978c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
5988c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
5998c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
6008c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
6018c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
6028c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
6038c2ecf20Sopenharmony_ci#else
6048c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
6058c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
6068c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
6078c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
6088c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
6098c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
6108c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
6118c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
6128c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
6138c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
6148c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
6158c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
6168c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
6178c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
6188c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
6198c2ecf20Sopenharmony_ci		uint64_t reserved_17_63:47;
6208c2ecf20Sopenharmony_ci#endif
6218c2ecf20Sopenharmony_ci	} cn30xx;
6228c2ecf20Sopenharmony_ci	struct cvmx_pip_gbl_ctl_cn52xx {
6238c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
6248c2ecf20Sopenharmony_ci		uint64_t reserved_27_63:37;
6258c2ecf20Sopenharmony_ci		uint64_t dsa_grp_tvid:1;
6268c2ecf20Sopenharmony_ci		uint64_t dsa_grp_scmd:1;
6278c2ecf20Sopenharmony_ci		uint64_t dsa_grp_sid:1;
6288c2ecf20Sopenharmony_ci		uint64_t reserved_21_23:3;
6298c2ecf20Sopenharmony_ci		uint64_t ring_en:1;
6308c2ecf20Sopenharmony_ci		uint64_t reserved_17_19:3;
6318c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
6328c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
6338c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
6348c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
6358c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
6368c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
6378c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
6388c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
6398c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
6408c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
6418c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
6428c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
6438c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
6448c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
6458c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
6468c2ecf20Sopenharmony_ci#else
6478c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
6488c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
6498c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
6508c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
6518c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
6528c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
6538c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
6548c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
6558c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
6568c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
6578c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
6588c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
6598c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
6608c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
6618c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
6628c2ecf20Sopenharmony_ci		uint64_t reserved_17_19:3;
6638c2ecf20Sopenharmony_ci		uint64_t ring_en:1;
6648c2ecf20Sopenharmony_ci		uint64_t reserved_21_23:3;
6658c2ecf20Sopenharmony_ci		uint64_t dsa_grp_sid:1;
6668c2ecf20Sopenharmony_ci		uint64_t dsa_grp_scmd:1;
6678c2ecf20Sopenharmony_ci		uint64_t dsa_grp_tvid:1;
6688c2ecf20Sopenharmony_ci		uint64_t reserved_27_63:37;
6698c2ecf20Sopenharmony_ci#endif
6708c2ecf20Sopenharmony_ci	} cn52xx;
6718c2ecf20Sopenharmony_ci	struct cvmx_pip_gbl_ctl_cn56xxp1 {
6728c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
6738c2ecf20Sopenharmony_ci		uint64_t reserved_21_63:43;
6748c2ecf20Sopenharmony_ci		uint64_t ring_en:1;
6758c2ecf20Sopenharmony_ci		uint64_t reserved_17_19:3;
6768c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
6778c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
6788c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
6798c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
6808c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
6818c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
6828c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
6838c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
6848c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
6858c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
6868c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
6878c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
6888c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
6898c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
6908c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
6918c2ecf20Sopenharmony_ci#else
6928c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
6938c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
6948c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
6958c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
6968c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
6978c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
6988c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
6998c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
7008c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
7018c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
7028c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
7038c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
7048c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
7058c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
7068c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
7078c2ecf20Sopenharmony_ci		uint64_t reserved_17_19:3;
7088c2ecf20Sopenharmony_ci		uint64_t ring_en:1;
7098c2ecf20Sopenharmony_ci		uint64_t reserved_21_63:43;
7108c2ecf20Sopenharmony_ci#endif
7118c2ecf20Sopenharmony_ci	} cn56xxp1;
7128c2ecf20Sopenharmony_ci	struct cvmx_pip_gbl_ctl_cn61xx {
7138c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
7148c2ecf20Sopenharmony_ci		uint64_t reserved_28_63:36;
7158c2ecf20Sopenharmony_ci		uint64_t ihmsk_dis:1;
7168c2ecf20Sopenharmony_ci		uint64_t dsa_grp_tvid:1;
7178c2ecf20Sopenharmony_ci		uint64_t dsa_grp_scmd:1;
7188c2ecf20Sopenharmony_ci		uint64_t dsa_grp_sid:1;
7198c2ecf20Sopenharmony_ci		uint64_t reserved_21_23:3;
7208c2ecf20Sopenharmony_ci		uint64_t ring_en:1;
7218c2ecf20Sopenharmony_ci		uint64_t reserved_17_19:3;
7228c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
7238c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
7248c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
7258c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
7268c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
7278c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
7288c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
7298c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
7308c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
7318c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
7328c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
7338c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
7348c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
7358c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
7368c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
7378c2ecf20Sopenharmony_ci#else
7388c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
7398c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
7408c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
7418c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
7428c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
7438c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
7448c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
7458c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
7468c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
7478c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
7488c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
7498c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
7508c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
7518c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
7528c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
7538c2ecf20Sopenharmony_ci		uint64_t reserved_17_19:3;
7548c2ecf20Sopenharmony_ci		uint64_t ring_en:1;
7558c2ecf20Sopenharmony_ci		uint64_t reserved_21_23:3;
7568c2ecf20Sopenharmony_ci		uint64_t dsa_grp_sid:1;
7578c2ecf20Sopenharmony_ci		uint64_t dsa_grp_scmd:1;
7588c2ecf20Sopenharmony_ci		uint64_t dsa_grp_tvid:1;
7598c2ecf20Sopenharmony_ci		uint64_t ihmsk_dis:1;
7608c2ecf20Sopenharmony_ci		uint64_t reserved_28_63:36;
7618c2ecf20Sopenharmony_ci#endif
7628c2ecf20Sopenharmony_ci	} cn61xx;
7638c2ecf20Sopenharmony_ci	struct cvmx_pip_gbl_ctl_cn68xx {
7648c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
7658c2ecf20Sopenharmony_ci		uint64_t reserved_29_63:35;
7668c2ecf20Sopenharmony_ci		uint64_t egrp_dis:1;
7678c2ecf20Sopenharmony_ci		uint64_t ihmsk_dis:1;
7688c2ecf20Sopenharmony_ci		uint64_t dsa_grp_tvid:1;
7698c2ecf20Sopenharmony_ci		uint64_t dsa_grp_scmd:1;
7708c2ecf20Sopenharmony_ci		uint64_t dsa_grp_sid:1;
7718c2ecf20Sopenharmony_ci		uint64_t reserved_17_23:7;
7728c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
7738c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
7748c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
7758c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
7768c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
7778c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
7788c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
7798c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
7808c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
7818c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
7828c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
7838c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
7848c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
7858c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
7868c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
7878c2ecf20Sopenharmony_ci#else
7888c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
7898c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
7908c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
7918c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
7928c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
7938c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
7948c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
7958c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
7968c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
7978c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
7988c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
7998c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
8008c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
8018c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
8028c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
8038c2ecf20Sopenharmony_ci		uint64_t reserved_17_23:7;
8048c2ecf20Sopenharmony_ci		uint64_t dsa_grp_sid:1;
8058c2ecf20Sopenharmony_ci		uint64_t dsa_grp_scmd:1;
8068c2ecf20Sopenharmony_ci		uint64_t dsa_grp_tvid:1;
8078c2ecf20Sopenharmony_ci		uint64_t ihmsk_dis:1;
8088c2ecf20Sopenharmony_ci		uint64_t egrp_dis:1;
8098c2ecf20Sopenharmony_ci		uint64_t reserved_29_63:35;
8108c2ecf20Sopenharmony_ci#endif
8118c2ecf20Sopenharmony_ci	} cn68xx;
8128c2ecf20Sopenharmony_ci	struct cvmx_pip_gbl_ctl_cn68xxp1 {
8138c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
8148c2ecf20Sopenharmony_ci		uint64_t reserved_28_63:36;
8158c2ecf20Sopenharmony_ci		uint64_t ihmsk_dis:1;
8168c2ecf20Sopenharmony_ci		uint64_t dsa_grp_tvid:1;
8178c2ecf20Sopenharmony_ci		uint64_t dsa_grp_scmd:1;
8188c2ecf20Sopenharmony_ci		uint64_t dsa_grp_sid:1;
8198c2ecf20Sopenharmony_ci		uint64_t reserved_17_23:7;
8208c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
8218c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
8228c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
8238c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
8248c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
8258c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
8268c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
8278c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
8288c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
8298c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
8308c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
8318c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
8328c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
8338c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
8348c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
8358c2ecf20Sopenharmony_ci#else
8368c2ecf20Sopenharmony_ci		uint64_t ip_chk:1;
8378c2ecf20Sopenharmony_ci		uint64_t ip_mal:1;
8388c2ecf20Sopenharmony_ci		uint64_t ip_hop:1;
8398c2ecf20Sopenharmony_ci		uint64_t ip4_opts:1;
8408c2ecf20Sopenharmony_ci		uint64_t ip6_eext:2;
8418c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
8428c2ecf20Sopenharmony_ci		uint64_t l4_mal:1;
8438c2ecf20Sopenharmony_ci		uint64_t l4_prt:1;
8448c2ecf20Sopenharmony_ci		uint64_t l4_chk:1;
8458c2ecf20Sopenharmony_ci		uint64_t l4_len:1;
8468c2ecf20Sopenharmony_ci		uint64_t tcp_flag:1;
8478c2ecf20Sopenharmony_ci		uint64_t l2_mal:1;
8488c2ecf20Sopenharmony_ci		uint64_t vs_qos:1;
8498c2ecf20Sopenharmony_ci		uint64_t vs_wqe:1;
8508c2ecf20Sopenharmony_ci		uint64_t ignrs:1;
8518c2ecf20Sopenharmony_ci		uint64_t reserved_17_23:7;
8528c2ecf20Sopenharmony_ci		uint64_t dsa_grp_sid:1;
8538c2ecf20Sopenharmony_ci		uint64_t dsa_grp_scmd:1;
8548c2ecf20Sopenharmony_ci		uint64_t dsa_grp_tvid:1;
8558c2ecf20Sopenharmony_ci		uint64_t ihmsk_dis:1;
8568c2ecf20Sopenharmony_ci		uint64_t reserved_28_63:36;
8578c2ecf20Sopenharmony_ci#endif
8588c2ecf20Sopenharmony_ci	} cn68xxp1;
8598c2ecf20Sopenharmony_ci};
8608c2ecf20Sopenharmony_ci
8618c2ecf20Sopenharmony_ciunion cvmx_pip_hg_pri_qos {
8628c2ecf20Sopenharmony_ci	uint64_t u64;
8638c2ecf20Sopenharmony_ci	struct cvmx_pip_hg_pri_qos_s {
8648c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
8658c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
8668c2ecf20Sopenharmony_ci		uint64_t up_qos:1;
8678c2ecf20Sopenharmony_ci		uint64_t reserved_11_11:1;
8688c2ecf20Sopenharmony_ci		uint64_t qos:3;
8698c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
8708c2ecf20Sopenharmony_ci		uint64_t pri:6;
8718c2ecf20Sopenharmony_ci#else
8728c2ecf20Sopenharmony_ci		uint64_t pri:6;
8738c2ecf20Sopenharmony_ci		uint64_t reserved_6_7:2;
8748c2ecf20Sopenharmony_ci		uint64_t qos:3;
8758c2ecf20Sopenharmony_ci		uint64_t reserved_11_11:1;
8768c2ecf20Sopenharmony_ci		uint64_t up_qos:1;
8778c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
8788c2ecf20Sopenharmony_ci#endif
8798c2ecf20Sopenharmony_ci	} s;
8808c2ecf20Sopenharmony_ci};
8818c2ecf20Sopenharmony_ci
8828c2ecf20Sopenharmony_ciunion cvmx_pip_int_en {
8838c2ecf20Sopenharmony_ci	uint64_t u64;
8848c2ecf20Sopenharmony_ci	struct cvmx_pip_int_en_s {
8858c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
8868c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
8878c2ecf20Sopenharmony_ci		uint64_t punyerr:1;
8888c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
8898c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
8908c2ecf20Sopenharmony_ci		uint64_t minerr:1;
8918c2ecf20Sopenharmony_ci		uint64_t beperr:1;
8928c2ecf20Sopenharmony_ci		uint64_t feperr:1;
8938c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
8948c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
8958c2ecf20Sopenharmony_ci		uint64_t badtag:1;
8968c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
8978c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
8988c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
8998c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
9008c2ecf20Sopenharmony_ci#else
9018c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
9028c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
9038c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
9048c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
9058c2ecf20Sopenharmony_ci		uint64_t badtag:1;
9068c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
9078c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
9088c2ecf20Sopenharmony_ci		uint64_t feperr:1;
9098c2ecf20Sopenharmony_ci		uint64_t beperr:1;
9108c2ecf20Sopenharmony_ci		uint64_t minerr:1;
9118c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
9128c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
9138c2ecf20Sopenharmony_ci		uint64_t punyerr:1;
9148c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
9158c2ecf20Sopenharmony_ci#endif
9168c2ecf20Sopenharmony_ci	} s;
9178c2ecf20Sopenharmony_ci	struct cvmx_pip_int_en_cn30xx {
9188c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
9198c2ecf20Sopenharmony_ci		uint64_t reserved_9_63:55;
9208c2ecf20Sopenharmony_ci		uint64_t beperr:1;
9218c2ecf20Sopenharmony_ci		uint64_t feperr:1;
9228c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
9238c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
9248c2ecf20Sopenharmony_ci		uint64_t badtag:1;
9258c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
9268c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
9278c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
9288c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
9298c2ecf20Sopenharmony_ci#else
9308c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
9318c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
9328c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
9338c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
9348c2ecf20Sopenharmony_ci		uint64_t badtag:1;
9358c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
9368c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
9378c2ecf20Sopenharmony_ci		uint64_t feperr:1;
9388c2ecf20Sopenharmony_ci		uint64_t beperr:1;
9398c2ecf20Sopenharmony_ci		uint64_t reserved_9_63:55;
9408c2ecf20Sopenharmony_ci#endif
9418c2ecf20Sopenharmony_ci	} cn30xx;
9428c2ecf20Sopenharmony_ci	struct cvmx_pip_int_en_cn50xx {
9438c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
9448c2ecf20Sopenharmony_ci		uint64_t reserved_12_63:52;
9458c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
9468c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
9478c2ecf20Sopenharmony_ci		uint64_t minerr:1;
9488c2ecf20Sopenharmony_ci		uint64_t beperr:1;
9498c2ecf20Sopenharmony_ci		uint64_t feperr:1;
9508c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
9518c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
9528c2ecf20Sopenharmony_ci		uint64_t badtag:1;
9538c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
9548c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
9558c2ecf20Sopenharmony_ci		uint64_t reserved_1_1:1;
9568c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
9578c2ecf20Sopenharmony_ci#else
9588c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
9598c2ecf20Sopenharmony_ci		uint64_t reserved_1_1:1;
9608c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
9618c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
9628c2ecf20Sopenharmony_ci		uint64_t badtag:1;
9638c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
9648c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
9658c2ecf20Sopenharmony_ci		uint64_t feperr:1;
9668c2ecf20Sopenharmony_ci		uint64_t beperr:1;
9678c2ecf20Sopenharmony_ci		uint64_t minerr:1;
9688c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
9698c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
9708c2ecf20Sopenharmony_ci		uint64_t reserved_12_63:52;
9718c2ecf20Sopenharmony_ci#endif
9728c2ecf20Sopenharmony_ci	} cn50xx;
9738c2ecf20Sopenharmony_ci	struct cvmx_pip_int_en_cn52xx {
9748c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
9758c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
9768c2ecf20Sopenharmony_ci		uint64_t punyerr:1;
9778c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
9788c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
9798c2ecf20Sopenharmony_ci		uint64_t minerr:1;
9808c2ecf20Sopenharmony_ci		uint64_t beperr:1;
9818c2ecf20Sopenharmony_ci		uint64_t feperr:1;
9828c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
9838c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
9848c2ecf20Sopenharmony_ci		uint64_t badtag:1;
9858c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
9868c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
9878c2ecf20Sopenharmony_ci		uint64_t reserved_1_1:1;
9888c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
9898c2ecf20Sopenharmony_ci#else
9908c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
9918c2ecf20Sopenharmony_ci		uint64_t reserved_1_1:1;
9928c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
9938c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
9948c2ecf20Sopenharmony_ci		uint64_t badtag:1;
9958c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
9968c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
9978c2ecf20Sopenharmony_ci		uint64_t feperr:1;
9988c2ecf20Sopenharmony_ci		uint64_t beperr:1;
9998c2ecf20Sopenharmony_ci		uint64_t minerr:1;
10008c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
10018c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
10028c2ecf20Sopenharmony_ci		uint64_t punyerr:1;
10038c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
10048c2ecf20Sopenharmony_ci#endif
10058c2ecf20Sopenharmony_ci	} cn52xx;
10068c2ecf20Sopenharmony_ci	struct cvmx_pip_int_en_cn56xxp1 {
10078c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
10088c2ecf20Sopenharmony_ci		uint64_t reserved_12_63:52;
10098c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
10108c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
10118c2ecf20Sopenharmony_ci		uint64_t minerr:1;
10128c2ecf20Sopenharmony_ci		uint64_t beperr:1;
10138c2ecf20Sopenharmony_ci		uint64_t feperr:1;
10148c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
10158c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
10168c2ecf20Sopenharmony_ci		uint64_t badtag:1;
10178c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
10188c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
10198c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
10208c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
10218c2ecf20Sopenharmony_ci#else
10228c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
10238c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
10248c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
10258c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
10268c2ecf20Sopenharmony_ci		uint64_t badtag:1;
10278c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
10288c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
10298c2ecf20Sopenharmony_ci		uint64_t feperr:1;
10308c2ecf20Sopenharmony_ci		uint64_t beperr:1;
10318c2ecf20Sopenharmony_ci		uint64_t minerr:1;
10328c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
10338c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
10348c2ecf20Sopenharmony_ci		uint64_t reserved_12_63:52;
10358c2ecf20Sopenharmony_ci#endif
10368c2ecf20Sopenharmony_ci	} cn56xxp1;
10378c2ecf20Sopenharmony_ci	struct cvmx_pip_int_en_cn58xx {
10388c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
10398c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
10408c2ecf20Sopenharmony_ci		uint64_t punyerr:1;
10418c2ecf20Sopenharmony_ci		uint64_t reserved_9_11:3;
10428c2ecf20Sopenharmony_ci		uint64_t beperr:1;
10438c2ecf20Sopenharmony_ci		uint64_t feperr:1;
10448c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
10458c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
10468c2ecf20Sopenharmony_ci		uint64_t badtag:1;
10478c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
10488c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
10498c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
10508c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
10518c2ecf20Sopenharmony_ci#else
10528c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
10538c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
10548c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
10558c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
10568c2ecf20Sopenharmony_ci		uint64_t badtag:1;
10578c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
10588c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
10598c2ecf20Sopenharmony_ci		uint64_t feperr:1;
10608c2ecf20Sopenharmony_ci		uint64_t beperr:1;
10618c2ecf20Sopenharmony_ci		uint64_t reserved_9_11:3;
10628c2ecf20Sopenharmony_ci		uint64_t punyerr:1;
10638c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
10648c2ecf20Sopenharmony_ci#endif
10658c2ecf20Sopenharmony_ci	} cn58xx;
10668c2ecf20Sopenharmony_ci};
10678c2ecf20Sopenharmony_ci
10688c2ecf20Sopenharmony_ciunion cvmx_pip_int_reg {
10698c2ecf20Sopenharmony_ci	uint64_t u64;
10708c2ecf20Sopenharmony_ci	struct cvmx_pip_int_reg_s {
10718c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
10728c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
10738c2ecf20Sopenharmony_ci		uint64_t punyerr:1;
10748c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
10758c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
10768c2ecf20Sopenharmony_ci		uint64_t minerr:1;
10778c2ecf20Sopenharmony_ci		uint64_t beperr:1;
10788c2ecf20Sopenharmony_ci		uint64_t feperr:1;
10798c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
10808c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
10818c2ecf20Sopenharmony_ci		uint64_t badtag:1;
10828c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
10838c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
10848c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
10858c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
10868c2ecf20Sopenharmony_ci#else
10878c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
10888c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
10898c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
10908c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
10918c2ecf20Sopenharmony_ci		uint64_t badtag:1;
10928c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
10938c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
10948c2ecf20Sopenharmony_ci		uint64_t feperr:1;
10958c2ecf20Sopenharmony_ci		uint64_t beperr:1;
10968c2ecf20Sopenharmony_ci		uint64_t minerr:1;
10978c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
10988c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
10998c2ecf20Sopenharmony_ci		uint64_t punyerr:1;
11008c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
11018c2ecf20Sopenharmony_ci#endif
11028c2ecf20Sopenharmony_ci	} s;
11038c2ecf20Sopenharmony_ci	struct cvmx_pip_int_reg_cn30xx {
11048c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
11058c2ecf20Sopenharmony_ci		uint64_t reserved_9_63:55;
11068c2ecf20Sopenharmony_ci		uint64_t beperr:1;
11078c2ecf20Sopenharmony_ci		uint64_t feperr:1;
11088c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
11098c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
11108c2ecf20Sopenharmony_ci		uint64_t badtag:1;
11118c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
11128c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
11138c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
11148c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
11158c2ecf20Sopenharmony_ci#else
11168c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
11178c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
11188c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
11198c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
11208c2ecf20Sopenharmony_ci		uint64_t badtag:1;
11218c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
11228c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
11238c2ecf20Sopenharmony_ci		uint64_t feperr:1;
11248c2ecf20Sopenharmony_ci		uint64_t beperr:1;
11258c2ecf20Sopenharmony_ci		uint64_t reserved_9_63:55;
11268c2ecf20Sopenharmony_ci#endif
11278c2ecf20Sopenharmony_ci	} cn30xx;
11288c2ecf20Sopenharmony_ci	struct cvmx_pip_int_reg_cn50xx {
11298c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
11308c2ecf20Sopenharmony_ci		uint64_t reserved_12_63:52;
11318c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
11328c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
11338c2ecf20Sopenharmony_ci		uint64_t minerr:1;
11348c2ecf20Sopenharmony_ci		uint64_t beperr:1;
11358c2ecf20Sopenharmony_ci		uint64_t feperr:1;
11368c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
11378c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
11388c2ecf20Sopenharmony_ci		uint64_t badtag:1;
11398c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
11408c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
11418c2ecf20Sopenharmony_ci		uint64_t reserved_1_1:1;
11428c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
11438c2ecf20Sopenharmony_ci#else
11448c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
11458c2ecf20Sopenharmony_ci		uint64_t reserved_1_1:1;
11468c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
11478c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
11488c2ecf20Sopenharmony_ci		uint64_t badtag:1;
11498c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
11508c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
11518c2ecf20Sopenharmony_ci		uint64_t feperr:1;
11528c2ecf20Sopenharmony_ci		uint64_t beperr:1;
11538c2ecf20Sopenharmony_ci		uint64_t minerr:1;
11548c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
11558c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
11568c2ecf20Sopenharmony_ci		uint64_t reserved_12_63:52;
11578c2ecf20Sopenharmony_ci#endif
11588c2ecf20Sopenharmony_ci	} cn50xx;
11598c2ecf20Sopenharmony_ci	struct cvmx_pip_int_reg_cn52xx {
11608c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
11618c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
11628c2ecf20Sopenharmony_ci		uint64_t punyerr:1;
11638c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
11648c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
11658c2ecf20Sopenharmony_ci		uint64_t minerr:1;
11668c2ecf20Sopenharmony_ci		uint64_t beperr:1;
11678c2ecf20Sopenharmony_ci		uint64_t feperr:1;
11688c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
11698c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
11708c2ecf20Sopenharmony_ci		uint64_t badtag:1;
11718c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
11728c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
11738c2ecf20Sopenharmony_ci		uint64_t reserved_1_1:1;
11748c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
11758c2ecf20Sopenharmony_ci#else
11768c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
11778c2ecf20Sopenharmony_ci		uint64_t reserved_1_1:1;
11788c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
11798c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
11808c2ecf20Sopenharmony_ci		uint64_t badtag:1;
11818c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
11828c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
11838c2ecf20Sopenharmony_ci		uint64_t feperr:1;
11848c2ecf20Sopenharmony_ci		uint64_t beperr:1;
11858c2ecf20Sopenharmony_ci		uint64_t minerr:1;
11868c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
11878c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
11888c2ecf20Sopenharmony_ci		uint64_t punyerr:1;
11898c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
11908c2ecf20Sopenharmony_ci#endif
11918c2ecf20Sopenharmony_ci	} cn52xx;
11928c2ecf20Sopenharmony_ci	struct cvmx_pip_int_reg_cn56xxp1 {
11938c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
11948c2ecf20Sopenharmony_ci		uint64_t reserved_12_63:52;
11958c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
11968c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
11978c2ecf20Sopenharmony_ci		uint64_t minerr:1;
11988c2ecf20Sopenharmony_ci		uint64_t beperr:1;
11998c2ecf20Sopenharmony_ci		uint64_t feperr:1;
12008c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
12018c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
12028c2ecf20Sopenharmony_ci		uint64_t badtag:1;
12038c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
12048c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
12058c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
12068c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
12078c2ecf20Sopenharmony_ci#else
12088c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
12098c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
12108c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
12118c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
12128c2ecf20Sopenharmony_ci		uint64_t badtag:1;
12138c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
12148c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
12158c2ecf20Sopenharmony_ci		uint64_t feperr:1;
12168c2ecf20Sopenharmony_ci		uint64_t beperr:1;
12178c2ecf20Sopenharmony_ci		uint64_t minerr:1;
12188c2ecf20Sopenharmony_ci		uint64_t maxerr:1;
12198c2ecf20Sopenharmony_ci		uint64_t lenerr:1;
12208c2ecf20Sopenharmony_ci		uint64_t reserved_12_63:52;
12218c2ecf20Sopenharmony_ci#endif
12228c2ecf20Sopenharmony_ci	} cn56xxp1;
12238c2ecf20Sopenharmony_ci	struct cvmx_pip_int_reg_cn58xx {
12248c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
12258c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
12268c2ecf20Sopenharmony_ci		uint64_t punyerr:1;
12278c2ecf20Sopenharmony_ci		uint64_t reserved_9_11:3;
12288c2ecf20Sopenharmony_ci		uint64_t beperr:1;
12298c2ecf20Sopenharmony_ci		uint64_t feperr:1;
12308c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
12318c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
12328c2ecf20Sopenharmony_ci		uint64_t badtag:1;
12338c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
12348c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
12358c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
12368c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
12378c2ecf20Sopenharmony_ci#else
12388c2ecf20Sopenharmony_ci		uint64_t pktdrp:1;
12398c2ecf20Sopenharmony_ci		uint64_t crcerr:1;
12408c2ecf20Sopenharmony_ci		uint64_t bckprs:1;
12418c2ecf20Sopenharmony_ci		uint64_t prtnxa:1;
12428c2ecf20Sopenharmony_ci		uint64_t badtag:1;
12438c2ecf20Sopenharmony_ci		uint64_t skprunt:1;
12448c2ecf20Sopenharmony_ci		uint64_t todoovr:1;
12458c2ecf20Sopenharmony_ci		uint64_t feperr:1;
12468c2ecf20Sopenharmony_ci		uint64_t beperr:1;
12478c2ecf20Sopenharmony_ci		uint64_t reserved_9_11:3;
12488c2ecf20Sopenharmony_ci		uint64_t punyerr:1;
12498c2ecf20Sopenharmony_ci		uint64_t reserved_13_63:51;
12508c2ecf20Sopenharmony_ci#endif
12518c2ecf20Sopenharmony_ci	} cn58xx;
12528c2ecf20Sopenharmony_ci};
12538c2ecf20Sopenharmony_ci
12548c2ecf20Sopenharmony_ciunion cvmx_pip_ip_offset {
12558c2ecf20Sopenharmony_ci	uint64_t u64;
12568c2ecf20Sopenharmony_ci	struct cvmx_pip_ip_offset_s {
12578c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
12588c2ecf20Sopenharmony_ci		uint64_t reserved_3_63:61;
12598c2ecf20Sopenharmony_ci		uint64_t offset:3;
12608c2ecf20Sopenharmony_ci#else
12618c2ecf20Sopenharmony_ci		uint64_t offset:3;
12628c2ecf20Sopenharmony_ci		uint64_t reserved_3_63:61;
12638c2ecf20Sopenharmony_ci#endif
12648c2ecf20Sopenharmony_ci	} s;
12658c2ecf20Sopenharmony_ci};
12668c2ecf20Sopenharmony_ci
12678c2ecf20Sopenharmony_ciunion cvmx_pip_pri_tblx {
12688c2ecf20Sopenharmony_ci	uint64_t u64;
12698c2ecf20Sopenharmony_ci	struct cvmx_pip_pri_tblx_s {
12708c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
12718c2ecf20Sopenharmony_ci		uint64_t diff2_padd:8;
12728c2ecf20Sopenharmony_ci		uint64_t hg2_padd:8;
12738c2ecf20Sopenharmony_ci		uint64_t vlan2_padd:8;
12748c2ecf20Sopenharmony_ci		uint64_t reserved_38_39:2;
12758c2ecf20Sopenharmony_ci		uint64_t diff2_bpid:6;
12768c2ecf20Sopenharmony_ci		uint64_t reserved_30_31:2;
12778c2ecf20Sopenharmony_ci		uint64_t hg2_bpid:6;
12788c2ecf20Sopenharmony_ci		uint64_t reserved_22_23:2;
12798c2ecf20Sopenharmony_ci		uint64_t vlan2_bpid:6;
12808c2ecf20Sopenharmony_ci		uint64_t reserved_11_15:5;
12818c2ecf20Sopenharmony_ci		uint64_t diff2_qos:3;
12828c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
12838c2ecf20Sopenharmony_ci		uint64_t hg2_qos:3;
12848c2ecf20Sopenharmony_ci		uint64_t reserved_3_3:1;
12858c2ecf20Sopenharmony_ci		uint64_t vlan2_qos:3;
12868c2ecf20Sopenharmony_ci#else
12878c2ecf20Sopenharmony_ci		uint64_t vlan2_qos:3;
12888c2ecf20Sopenharmony_ci		uint64_t reserved_3_3:1;
12898c2ecf20Sopenharmony_ci		uint64_t hg2_qos:3;
12908c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
12918c2ecf20Sopenharmony_ci		uint64_t diff2_qos:3;
12928c2ecf20Sopenharmony_ci		uint64_t reserved_11_15:5;
12938c2ecf20Sopenharmony_ci		uint64_t vlan2_bpid:6;
12948c2ecf20Sopenharmony_ci		uint64_t reserved_22_23:2;
12958c2ecf20Sopenharmony_ci		uint64_t hg2_bpid:6;
12968c2ecf20Sopenharmony_ci		uint64_t reserved_30_31:2;
12978c2ecf20Sopenharmony_ci		uint64_t diff2_bpid:6;
12988c2ecf20Sopenharmony_ci		uint64_t reserved_38_39:2;
12998c2ecf20Sopenharmony_ci		uint64_t vlan2_padd:8;
13008c2ecf20Sopenharmony_ci		uint64_t hg2_padd:8;
13018c2ecf20Sopenharmony_ci		uint64_t diff2_padd:8;
13028c2ecf20Sopenharmony_ci#endif
13038c2ecf20Sopenharmony_ci	} s;
13048c2ecf20Sopenharmony_ci};
13058c2ecf20Sopenharmony_ci
13068c2ecf20Sopenharmony_ciunion cvmx_pip_prt_cfgx {
13078c2ecf20Sopenharmony_ci	uint64_t u64;
13088c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_cfgx_s {
13098c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
13108c2ecf20Sopenharmony_ci		uint64_t reserved_55_63:9;
13118c2ecf20Sopenharmony_ci		uint64_t ih_pri:1;
13128c2ecf20Sopenharmony_ci		uint64_t len_chk_sel:1;
13138c2ecf20Sopenharmony_ci		uint64_t pad_len:1;
13148c2ecf20Sopenharmony_ci		uint64_t vlan_len:1;
13158c2ecf20Sopenharmony_ci		uint64_t lenerr_en:1;
13168c2ecf20Sopenharmony_ci		uint64_t maxerr_en:1;
13178c2ecf20Sopenharmony_ci		uint64_t minerr_en:1;
13188c2ecf20Sopenharmony_ci		uint64_t grp_wat_47:4;
13198c2ecf20Sopenharmony_ci		uint64_t qos_wat_47:4;
13208c2ecf20Sopenharmony_ci		uint64_t reserved_37_39:3;
13218c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
13228c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
13238c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
13248c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
13258c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
13268c2ecf20Sopenharmony_ci		uint64_t hg_qos:1;
13278c2ecf20Sopenharmony_ci		uint64_t qos:3;
13288c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
13298c2ecf20Sopenharmony_ci		uint64_t qos_vsel:1;
13308c2ecf20Sopenharmony_ci		uint64_t qos_vod:1;
13318c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
13328c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
13338c2ecf20Sopenharmony_ci		uint64_t reserved_13_15:3;
13348c2ecf20Sopenharmony_ci		uint64_t crc_en:1;
13358c2ecf20Sopenharmony_ci		uint64_t higig_en:1;
13368c2ecf20Sopenharmony_ci		uint64_t dsa_en:1;
13378c2ecf20Sopenharmony_ci		uint64_t mode:2;
13388c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
13398c2ecf20Sopenharmony_ci		uint64_t skip:7;
13408c2ecf20Sopenharmony_ci#else
13418c2ecf20Sopenharmony_ci		uint64_t skip:7;
13428c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
13438c2ecf20Sopenharmony_ci		uint64_t mode:2;
13448c2ecf20Sopenharmony_ci		uint64_t dsa_en:1;
13458c2ecf20Sopenharmony_ci		uint64_t higig_en:1;
13468c2ecf20Sopenharmony_ci		uint64_t crc_en:1;
13478c2ecf20Sopenharmony_ci		uint64_t reserved_13_15:3;
13488c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
13498c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
13508c2ecf20Sopenharmony_ci		uint64_t qos_vod:1;
13518c2ecf20Sopenharmony_ci		uint64_t qos_vsel:1;
13528c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
13538c2ecf20Sopenharmony_ci		uint64_t qos:3;
13548c2ecf20Sopenharmony_ci		uint64_t hg_qos:1;
13558c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
13568c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
13578c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
13588c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
13598c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
13608c2ecf20Sopenharmony_ci		uint64_t reserved_37_39:3;
13618c2ecf20Sopenharmony_ci		uint64_t qos_wat_47:4;
13628c2ecf20Sopenharmony_ci		uint64_t grp_wat_47:4;
13638c2ecf20Sopenharmony_ci		uint64_t minerr_en:1;
13648c2ecf20Sopenharmony_ci		uint64_t maxerr_en:1;
13658c2ecf20Sopenharmony_ci		uint64_t lenerr_en:1;
13668c2ecf20Sopenharmony_ci		uint64_t vlan_len:1;
13678c2ecf20Sopenharmony_ci		uint64_t pad_len:1;
13688c2ecf20Sopenharmony_ci		uint64_t len_chk_sel:1;
13698c2ecf20Sopenharmony_ci		uint64_t ih_pri:1;
13708c2ecf20Sopenharmony_ci		uint64_t reserved_55_63:9;
13718c2ecf20Sopenharmony_ci#endif
13728c2ecf20Sopenharmony_ci	} s;
13738c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_cfgx_cn30xx {
13748c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
13758c2ecf20Sopenharmony_ci		uint64_t reserved_37_63:27;
13768c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
13778c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
13788c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
13798c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
13808c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
13818c2ecf20Sopenharmony_ci		uint64_t reserved_27_27:1;
13828c2ecf20Sopenharmony_ci		uint64_t qos:3;
13838c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
13848c2ecf20Sopenharmony_ci		uint64_t reserved_18_19:2;
13858c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
13868c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
13878c2ecf20Sopenharmony_ci		uint64_t reserved_10_15:6;
13888c2ecf20Sopenharmony_ci		uint64_t mode:2;
13898c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
13908c2ecf20Sopenharmony_ci		uint64_t skip:7;
13918c2ecf20Sopenharmony_ci#else
13928c2ecf20Sopenharmony_ci		uint64_t skip:7;
13938c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
13948c2ecf20Sopenharmony_ci		uint64_t mode:2;
13958c2ecf20Sopenharmony_ci		uint64_t reserved_10_15:6;
13968c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
13978c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
13988c2ecf20Sopenharmony_ci		uint64_t reserved_18_19:2;
13998c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
14008c2ecf20Sopenharmony_ci		uint64_t qos:3;
14018c2ecf20Sopenharmony_ci		uint64_t reserved_27_27:1;
14028c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
14038c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
14048c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
14058c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
14068c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
14078c2ecf20Sopenharmony_ci		uint64_t reserved_37_63:27;
14088c2ecf20Sopenharmony_ci#endif
14098c2ecf20Sopenharmony_ci	} cn30xx;
14108c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_cfgx_cn38xx {
14118c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
14128c2ecf20Sopenharmony_ci		uint64_t reserved_37_63:27;
14138c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
14148c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
14158c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
14168c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
14178c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
14188c2ecf20Sopenharmony_ci		uint64_t reserved_27_27:1;
14198c2ecf20Sopenharmony_ci		uint64_t qos:3;
14208c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
14218c2ecf20Sopenharmony_ci		uint64_t reserved_18_19:2;
14228c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
14238c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
14248c2ecf20Sopenharmony_ci		uint64_t reserved_13_15:3;
14258c2ecf20Sopenharmony_ci		uint64_t crc_en:1;
14268c2ecf20Sopenharmony_ci		uint64_t reserved_10_11:2;
14278c2ecf20Sopenharmony_ci		uint64_t mode:2;
14288c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
14298c2ecf20Sopenharmony_ci		uint64_t skip:7;
14308c2ecf20Sopenharmony_ci#else
14318c2ecf20Sopenharmony_ci		uint64_t skip:7;
14328c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
14338c2ecf20Sopenharmony_ci		uint64_t mode:2;
14348c2ecf20Sopenharmony_ci		uint64_t reserved_10_11:2;
14358c2ecf20Sopenharmony_ci		uint64_t crc_en:1;
14368c2ecf20Sopenharmony_ci		uint64_t reserved_13_15:3;
14378c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
14388c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
14398c2ecf20Sopenharmony_ci		uint64_t reserved_18_19:2;
14408c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
14418c2ecf20Sopenharmony_ci		uint64_t qos:3;
14428c2ecf20Sopenharmony_ci		uint64_t reserved_27_27:1;
14438c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
14448c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
14458c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
14468c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
14478c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
14488c2ecf20Sopenharmony_ci		uint64_t reserved_37_63:27;
14498c2ecf20Sopenharmony_ci#endif
14508c2ecf20Sopenharmony_ci	} cn38xx;
14518c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_cfgx_cn50xx {
14528c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
14538c2ecf20Sopenharmony_ci		uint64_t reserved_53_63:11;
14548c2ecf20Sopenharmony_ci		uint64_t pad_len:1;
14558c2ecf20Sopenharmony_ci		uint64_t vlan_len:1;
14568c2ecf20Sopenharmony_ci		uint64_t lenerr_en:1;
14578c2ecf20Sopenharmony_ci		uint64_t maxerr_en:1;
14588c2ecf20Sopenharmony_ci		uint64_t minerr_en:1;
14598c2ecf20Sopenharmony_ci		uint64_t grp_wat_47:4;
14608c2ecf20Sopenharmony_ci		uint64_t qos_wat_47:4;
14618c2ecf20Sopenharmony_ci		uint64_t reserved_37_39:3;
14628c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
14638c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
14648c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
14658c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
14668c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
14678c2ecf20Sopenharmony_ci		uint64_t reserved_27_27:1;
14688c2ecf20Sopenharmony_ci		uint64_t qos:3;
14698c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
14708c2ecf20Sopenharmony_ci		uint64_t reserved_19_19:1;
14718c2ecf20Sopenharmony_ci		uint64_t qos_vod:1;
14728c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
14738c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
14748c2ecf20Sopenharmony_ci		uint64_t reserved_13_15:3;
14758c2ecf20Sopenharmony_ci		uint64_t crc_en:1;
14768c2ecf20Sopenharmony_ci		uint64_t reserved_10_11:2;
14778c2ecf20Sopenharmony_ci		uint64_t mode:2;
14788c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
14798c2ecf20Sopenharmony_ci		uint64_t skip:7;
14808c2ecf20Sopenharmony_ci#else
14818c2ecf20Sopenharmony_ci		uint64_t skip:7;
14828c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
14838c2ecf20Sopenharmony_ci		uint64_t mode:2;
14848c2ecf20Sopenharmony_ci		uint64_t reserved_10_11:2;
14858c2ecf20Sopenharmony_ci		uint64_t crc_en:1;
14868c2ecf20Sopenharmony_ci		uint64_t reserved_13_15:3;
14878c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
14888c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
14898c2ecf20Sopenharmony_ci		uint64_t qos_vod:1;
14908c2ecf20Sopenharmony_ci		uint64_t reserved_19_19:1;
14918c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
14928c2ecf20Sopenharmony_ci		uint64_t qos:3;
14938c2ecf20Sopenharmony_ci		uint64_t reserved_27_27:1;
14948c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
14958c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
14968c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
14978c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
14988c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
14998c2ecf20Sopenharmony_ci		uint64_t reserved_37_39:3;
15008c2ecf20Sopenharmony_ci		uint64_t qos_wat_47:4;
15018c2ecf20Sopenharmony_ci		uint64_t grp_wat_47:4;
15028c2ecf20Sopenharmony_ci		uint64_t minerr_en:1;
15038c2ecf20Sopenharmony_ci		uint64_t maxerr_en:1;
15048c2ecf20Sopenharmony_ci		uint64_t lenerr_en:1;
15058c2ecf20Sopenharmony_ci		uint64_t vlan_len:1;
15068c2ecf20Sopenharmony_ci		uint64_t pad_len:1;
15078c2ecf20Sopenharmony_ci		uint64_t reserved_53_63:11;
15088c2ecf20Sopenharmony_ci#endif
15098c2ecf20Sopenharmony_ci	} cn50xx;
15108c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_cfgx_cn52xx {
15118c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
15128c2ecf20Sopenharmony_ci		uint64_t reserved_53_63:11;
15138c2ecf20Sopenharmony_ci		uint64_t pad_len:1;
15148c2ecf20Sopenharmony_ci		uint64_t vlan_len:1;
15158c2ecf20Sopenharmony_ci		uint64_t lenerr_en:1;
15168c2ecf20Sopenharmony_ci		uint64_t maxerr_en:1;
15178c2ecf20Sopenharmony_ci		uint64_t minerr_en:1;
15188c2ecf20Sopenharmony_ci		uint64_t grp_wat_47:4;
15198c2ecf20Sopenharmony_ci		uint64_t qos_wat_47:4;
15208c2ecf20Sopenharmony_ci		uint64_t reserved_37_39:3;
15218c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
15228c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
15238c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
15248c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
15258c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
15268c2ecf20Sopenharmony_ci		uint64_t hg_qos:1;
15278c2ecf20Sopenharmony_ci		uint64_t qos:3;
15288c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
15298c2ecf20Sopenharmony_ci		uint64_t qos_vsel:1;
15308c2ecf20Sopenharmony_ci		uint64_t qos_vod:1;
15318c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
15328c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
15338c2ecf20Sopenharmony_ci		uint64_t reserved_13_15:3;
15348c2ecf20Sopenharmony_ci		uint64_t crc_en:1;
15358c2ecf20Sopenharmony_ci		uint64_t higig_en:1;
15368c2ecf20Sopenharmony_ci		uint64_t dsa_en:1;
15378c2ecf20Sopenharmony_ci		uint64_t mode:2;
15388c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
15398c2ecf20Sopenharmony_ci		uint64_t skip:7;
15408c2ecf20Sopenharmony_ci#else
15418c2ecf20Sopenharmony_ci		uint64_t skip:7;
15428c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
15438c2ecf20Sopenharmony_ci		uint64_t mode:2;
15448c2ecf20Sopenharmony_ci		uint64_t dsa_en:1;
15458c2ecf20Sopenharmony_ci		uint64_t higig_en:1;
15468c2ecf20Sopenharmony_ci		uint64_t crc_en:1;
15478c2ecf20Sopenharmony_ci		uint64_t reserved_13_15:3;
15488c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
15498c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
15508c2ecf20Sopenharmony_ci		uint64_t qos_vod:1;
15518c2ecf20Sopenharmony_ci		uint64_t qos_vsel:1;
15528c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
15538c2ecf20Sopenharmony_ci		uint64_t qos:3;
15548c2ecf20Sopenharmony_ci		uint64_t hg_qos:1;
15558c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
15568c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
15578c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
15588c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
15598c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
15608c2ecf20Sopenharmony_ci		uint64_t reserved_37_39:3;
15618c2ecf20Sopenharmony_ci		uint64_t qos_wat_47:4;
15628c2ecf20Sopenharmony_ci		uint64_t grp_wat_47:4;
15638c2ecf20Sopenharmony_ci		uint64_t minerr_en:1;
15648c2ecf20Sopenharmony_ci		uint64_t maxerr_en:1;
15658c2ecf20Sopenharmony_ci		uint64_t lenerr_en:1;
15668c2ecf20Sopenharmony_ci		uint64_t vlan_len:1;
15678c2ecf20Sopenharmony_ci		uint64_t pad_len:1;
15688c2ecf20Sopenharmony_ci		uint64_t reserved_53_63:11;
15698c2ecf20Sopenharmony_ci#endif
15708c2ecf20Sopenharmony_ci	} cn52xx;
15718c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_cfgx_cn58xx {
15728c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
15738c2ecf20Sopenharmony_ci		uint64_t reserved_37_63:27;
15748c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
15758c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
15768c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
15778c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
15788c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
15798c2ecf20Sopenharmony_ci		uint64_t reserved_27_27:1;
15808c2ecf20Sopenharmony_ci		uint64_t qos:3;
15818c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
15828c2ecf20Sopenharmony_ci		uint64_t reserved_19_19:1;
15838c2ecf20Sopenharmony_ci		uint64_t qos_vod:1;
15848c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
15858c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
15868c2ecf20Sopenharmony_ci		uint64_t reserved_13_15:3;
15878c2ecf20Sopenharmony_ci		uint64_t crc_en:1;
15888c2ecf20Sopenharmony_ci		uint64_t reserved_10_11:2;
15898c2ecf20Sopenharmony_ci		uint64_t mode:2;
15908c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
15918c2ecf20Sopenharmony_ci		uint64_t skip:7;
15928c2ecf20Sopenharmony_ci#else
15938c2ecf20Sopenharmony_ci		uint64_t skip:7;
15948c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
15958c2ecf20Sopenharmony_ci		uint64_t mode:2;
15968c2ecf20Sopenharmony_ci		uint64_t reserved_10_11:2;
15978c2ecf20Sopenharmony_ci		uint64_t crc_en:1;
15988c2ecf20Sopenharmony_ci		uint64_t reserved_13_15:3;
15998c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
16008c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
16018c2ecf20Sopenharmony_ci		uint64_t qos_vod:1;
16028c2ecf20Sopenharmony_ci		uint64_t reserved_19_19:1;
16038c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
16048c2ecf20Sopenharmony_ci		uint64_t qos:3;
16058c2ecf20Sopenharmony_ci		uint64_t reserved_27_27:1;
16068c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
16078c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
16088c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
16098c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
16108c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
16118c2ecf20Sopenharmony_ci		uint64_t reserved_37_63:27;
16128c2ecf20Sopenharmony_ci#endif
16138c2ecf20Sopenharmony_ci	} cn58xx;
16148c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_cfgx_cn68xx {
16158c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
16168c2ecf20Sopenharmony_ci		uint64_t reserved_55_63:9;
16178c2ecf20Sopenharmony_ci		uint64_t ih_pri:1;
16188c2ecf20Sopenharmony_ci		uint64_t len_chk_sel:1;
16198c2ecf20Sopenharmony_ci		uint64_t pad_len:1;
16208c2ecf20Sopenharmony_ci		uint64_t vlan_len:1;
16218c2ecf20Sopenharmony_ci		uint64_t lenerr_en:1;
16228c2ecf20Sopenharmony_ci		uint64_t maxerr_en:1;
16238c2ecf20Sopenharmony_ci		uint64_t minerr_en:1;
16248c2ecf20Sopenharmony_ci		uint64_t grp_wat_47:4;
16258c2ecf20Sopenharmony_ci		uint64_t qos_wat_47:4;
16268c2ecf20Sopenharmony_ci		uint64_t reserved_37_39:3;
16278c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
16288c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
16298c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
16308c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
16318c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
16328c2ecf20Sopenharmony_ci		uint64_t hg_qos:1;
16338c2ecf20Sopenharmony_ci		uint64_t qos:3;
16348c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
16358c2ecf20Sopenharmony_ci		uint64_t reserved_19_19:1;
16368c2ecf20Sopenharmony_ci		uint64_t qos_vod:1;
16378c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
16388c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
16398c2ecf20Sopenharmony_ci		uint64_t reserved_13_15:3;
16408c2ecf20Sopenharmony_ci		uint64_t crc_en:1;
16418c2ecf20Sopenharmony_ci		uint64_t higig_en:1;
16428c2ecf20Sopenharmony_ci		uint64_t dsa_en:1;
16438c2ecf20Sopenharmony_ci		uint64_t mode:2;
16448c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
16458c2ecf20Sopenharmony_ci		uint64_t skip:7;
16468c2ecf20Sopenharmony_ci#else
16478c2ecf20Sopenharmony_ci		uint64_t skip:7;
16488c2ecf20Sopenharmony_ci		uint64_t reserved_7_7:1;
16498c2ecf20Sopenharmony_ci		uint64_t mode:2;
16508c2ecf20Sopenharmony_ci		uint64_t dsa_en:1;
16518c2ecf20Sopenharmony_ci		uint64_t higig_en:1;
16528c2ecf20Sopenharmony_ci		uint64_t crc_en:1;
16538c2ecf20Sopenharmony_ci		uint64_t reserved_13_15:3;
16548c2ecf20Sopenharmony_ci		uint64_t qos_vlan:1;
16558c2ecf20Sopenharmony_ci		uint64_t qos_diff:1;
16568c2ecf20Sopenharmony_ci		uint64_t qos_vod:1;
16578c2ecf20Sopenharmony_ci		uint64_t reserved_19_19:1;
16588c2ecf20Sopenharmony_ci		uint64_t qos_wat:4;
16598c2ecf20Sopenharmony_ci		uint64_t qos:3;
16608c2ecf20Sopenharmony_ci		uint64_t hg_qos:1;
16618c2ecf20Sopenharmony_ci		uint64_t grp_wat:4;
16628c2ecf20Sopenharmony_ci		uint64_t inst_hdr:1;
16638c2ecf20Sopenharmony_ci		uint64_t dyn_rs:1;
16648c2ecf20Sopenharmony_ci		uint64_t tag_inc:2;
16658c2ecf20Sopenharmony_ci		uint64_t rawdrp:1;
16668c2ecf20Sopenharmony_ci		uint64_t reserved_37_39:3;
16678c2ecf20Sopenharmony_ci		uint64_t qos_wat_47:4;
16688c2ecf20Sopenharmony_ci		uint64_t grp_wat_47:4;
16698c2ecf20Sopenharmony_ci		uint64_t minerr_en:1;
16708c2ecf20Sopenharmony_ci		uint64_t maxerr_en:1;
16718c2ecf20Sopenharmony_ci		uint64_t lenerr_en:1;
16728c2ecf20Sopenharmony_ci		uint64_t vlan_len:1;
16738c2ecf20Sopenharmony_ci		uint64_t pad_len:1;
16748c2ecf20Sopenharmony_ci		uint64_t len_chk_sel:1;
16758c2ecf20Sopenharmony_ci		uint64_t ih_pri:1;
16768c2ecf20Sopenharmony_ci		uint64_t reserved_55_63:9;
16778c2ecf20Sopenharmony_ci#endif
16788c2ecf20Sopenharmony_ci	} cn68xx;
16798c2ecf20Sopenharmony_ci};
16808c2ecf20Sopenharmony_ci
16818c2ecf20Sopenharmony_ciunion cvmx_pip_prt_cfgbx {
16828c2ecf20Sopenharmony_ci	uint64_t u64;
16838c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_cfgbx_s {
16848c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
16858c2ecf20Sopenharmony_ci		uint64_t reserved_39_63:25;
16868c2ecf20Sopenharmony_ci		uint64_t alt_skp_sel:2;
16878c2ecf20Sopenharmony_ci		uint64_t alt_skp_en:1;
16888c2ecf20Sopenharmony_ci		uint64_t reserved_35_35:1;
16898c2ecf20Sopenharmony_ci		uint64_t bsel_num:2;
16908c2ecf20Sopenharmony_ci		uint64_t bsel_en:1;
16918c2ecf20Sopenharmony_ci		uint64_t reserved_24_31:8;
16928c2ecf20Sopenharmony_ci		uint64_t base:8;
16938c2ecf20Sopenharmony_ci		uint64_t reserved_6_15:10;
16948c2ecf20Sopenharmony_ci		uint64_t bpid:6;
16958c2ecf20Sopenharmony_ci#else
16968c2ecf20Sopenharmony_ci		uint64_t bpid:6;
16978c2ecf20Sopenharmony_ci		uint64_t reserved_6_15:10;
16988c2ecf20Sopenharmony_ci		uint64_t base:8;
16998c2ecf20Sopenharmony_ci		uint64_t reserved_24_31:8;
17008c2ecf20Sopenharmony_ci		uint64_t bsel_en:1;
17018c2ecf20Sopenharmony_ci		uint64_t bsel_num:2;
17028c2ecf20Sopenharmony_ci		uint64_t reserved_35_35:1;
17038c2ecf20Sopenharmony_ci		uint64_t alt_skp_en:1;
17048c2ecf20Sopenharmony_ci		uint64_t alt_skp_sel:2;
17058c2ecf20Sopenharmony_ci		uint64_t reserved_39_63:25;
17068c2ecf20Sopenharmony_ci#endif
17078c2ecf20Sopenharmony_ci	} s;
17088c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_cfgbx_cn61xx {
17098c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
17108c2ecf20Sopenharmony_ci		uint64_t reserved_39_63:25;
17118c2ecf20Sopenharmony_ci		uint64_t alt_skp_sel:2;
17128c2ecf20Sopenharmony_ci		uint64_t alt_skp_en:1;
17138c2ecf20Sopenharmony_ci		uint64_t reserved_35_35:1;
17148c2ecf20Sopenharmony_ci		uint64_t bsel_num:2;
17158c2ecf20Sopenharmony_ci		uint64_t bsel_en:1;
17168c2ecf20Sopenharmony_ci		uint64_t reserved_0_31:32;
17178c2ecf20Sopenharmony_ci#else
17188c2ecf20Sopenharmony_ci		uint64_t reserved_0_31:32;
17198c2ecf20Sopenharmony_ci		uint64_t bsel_en:1;
17208c2ecf20Sopenharmony_ci		uint64_t bsel_num:2;
17218c2ecf20Sopenharmony_ci		uint64_t reserved_35_35:1;
17228c2ecf20Sopenharmony_ci		uint64_t alt_skp_en:1;
17238c2ecf20Sopenharmony_ci		uint64_t alt_skp_sel:2;
17248c2ecf20Sopenharmony_ci		uint64_t reserved_39_63:25;
17258c2ecf20Sopenharmony_ci#endif
17268c2ecf20Sopenharmony_ci	} cn61xx;
17278c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_cfgbx_cn66xx {
17288c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
17298c2ecf20Sopenharmony_ci		uint64_t reserved_39_63:25;
17308c2ecf20Sopenharmony_ci		uint64_t alt_skp_sel:2;
17318c2ecf20Sopenharmony_ci		uint64_t alt_skp_en:1;
17328c2ecf20Sopenharmony_ci		uint64_t reserved_0_35:36;
17338c2ecf20Sopenharmony_ci#else
17348c2ecf20Sopenharmony_ci		uint64_t reserved_0_35:36;
17358c2ecf20Sopenharmony_ci		uint64_t alt_skp_en:1;
17368c2ecf20Sopenharmony_ci		uint64_t alt_skp_sel:2;
17378c2ecf20Sopenharmony_ci		uint64_t reserved_39_63:25;
17388c2ecf20Sopenharmony_ci#endif
17398c2ecf20Sopenharmony_ci	} cn66xx;
17408c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_cfgbx_cn68xxp1 {
17418c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
17428c2ecf20Sopenharmony_ci		uint64_t reserved_24_63:40;
17438c2ecf20Sopenharmony_ci		uint64_t base:8;
17448c2ecf20Sopenharmony_ci		uint64_t reserved_6_15:10;
17458c2ecf20Sopenharmony_ci		uint64_t bpid:6;
17468c2ecf20Sopenharmony_ci#else
17478c2ecf20Sopenharmony_ci		uint64_t bpid:6;
17488c2ecf20Sopenharmony_ci		uint64_t reserved_6_15:10;
17498c2ecf20Sopenharmony_ci		uint64_t base:8;
17508c2ecf20Sopenharmony_ci		uint64_t reserved_24_63:40;
17518c2ecf20Sopenharmony_ci#endif
17528c2ecf20Sopenharmony_ci	} cn68xxp1;
17538c2ecf20Sopenharmony_ci};
17548c2ecf20Sopenharmony_ci
17558c2ecf20Sopenharmony_ciunion cvmx_pip_prt_tagx {
17568c2ecf20Sopenharmony_ci	uint64_t u64;
17578c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_tagx_s {
17588c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
17598c2ecf20Sopenharmony_ci		uint64_t reserved_54_63:10;
17608c2ecf20Sopenharmony_ci		uint64_t portadd_en:1;
17618c2ecf20Sopenharmony_ci		uint64_t inc_hwchk:1;
17628c2ecf20Sopenharmony_ci		uint64_t reserved_50_51:2;
17638c2ecf20Sopenharmony_ci		uint64_t grptagbase_msb:2;
17648c2ecf20Sopenharmony_ci		uint64_t reserved_46_47:2;
17658c2ecf20Sopenharmony_ci		uint64_t grptagmask_msb:2;
17668c2ecf20Sopenharmony_ci		uint64_t reserved_42_43:2;
17678c2ecf20Sopenharmony_ci		uint64_t grp_msb:2;
17688c2ecf20Sopenharmony_ci		uint64_t grptagbase:4;
17698c2ecf20Sopenharmony_ci		uint64_t grptagmask:4;
17708c2ecf20Sopenharmony_ci		uint64_t grptag:1;
17718c2ecf20Sopenharmony_ci		uint64_t grptag_mskip:1;
17728c2ecf20Sopenharmony_ci		uint64_t tag_mode:2;
17738c2ecf20Sopenharmony_ci		uint64_t inc_vs:2;
17748c2ecf20Sopenharmony_ci		uint64_t inc_vlan:1;
17758c2ecf20Sopenharmony_ci		uint64_t inc_prt_flag:1;
17768c2ecf20Sopenharmony_ci		uint64_t ip6_dprt_flag:1;
17778c2ecf20Sopenharmony_ci		uint64_t ip4_dprt_flag:1;
17788c2ecf20Sopenharmony_ci		uint64_t ip6_sprt_flag:1;
17798c2ecf20Sopenharmony_ci		uint64_t ip4_sprt_flag:1;
17808c2ecf20Sopenharmony_ci		uint64_t ip6_nxth_flag:1;
17818c2ecf20Sopenharmony_ci		uint64_t ip4_pctl_flag:1;
17828c2ecf20Sopenharmony_ci		uint64_t ip6_dst_flag:1;
17838c2ecf20Sopenharmony_ci		uint64_t ip4_dst_flag:1;
17848c2ecf20Sopenharmony_ci		uint64_t ip6_src_flag:1;
17858c2ecf20Sopenharmony_ci		uint64_t ip4_src_flag:1;
17868c2ecf20Sopenharmony_ci		uint64_t tcp6_tag_type:2;
17878c2ecf20Sopenharmony_ci		uint64_t tcp4_tag_type:2;
17888c2ecf20Sopenharmony_ci		uint64_t ip6_tag_type:2;
17898c2ecf20Sopenharmony_ci		uint64_t ip4_tag_type:2;
17908c2ecf20Sopenharmony_ci		uint64_t non_tag_type:2;
17918c2ecf20Sopenharmony_ci		uint64_t grp:4;
17928c2ecf20Sopenharmony_ci#else
17938c2ecf20Sopenharmony_ci		uint64_t grp:4;
17948c2ecf20Sopenharmony_ci		uint64_t non_tag_type:2;
17958c2ecf20Sopenharmony_ci		uint64_t ip4_tag_type:2;
17968c2ecf20Sopenharmony_ci		uint64_t ip6_tag_type:2;
17978c2ecf20Sopenharmony_ci		uint64_t tcp4_tag_type:2;
17988c2ecf20Sopenharmony_ci		uint64_t tcp6_tag_type:2;
17998c2ecf20Sopenharmony_ci		uint64_t ip4_src_flag:1;
18008c2ecf20Sopenharmony_ci		uint64_t ip6_src_flag:1;
18018c2ecf20Sopenharmony_ci		uint64_t ip4_dst_flag:1;
18028c2ecf20Sopenharmony_ci		uint64_t ip6_dst_flag:1;
18038c2ecf20Sopenharmony_ci		uint64_t ip4_pctl_flag:1;
18048c2ecf20Sopenharmony_ci		uint64_t ip6_nxth_flag:1;
18058c2ecf20Sopenharmony_ci		uint64_t ip4_sprt_flag:1;
18068c2ecf20Sopenharmony_ci		uint64_t ip6_sprt_flag:1;
18078c2ecf20Sopenharmony_ci		uint64_t ip4_dprt_flag:1;
18088c2ecf20Sopenharmony_ci		uint64_t ip6_dprt_flag:1;
18098c2ecf20Sopenharmony_ci		uint64_t inc_prt_flag:1;
18108c2ecf20Sopenharmony_ci		uint64_t inc_vlan:1;
18118c2ecf20Sopenharmony_ci		uint64_t inc_vs:2;
18128c2ecf20Sopenharmony_ci		uint64_t tag_mode:2;
18138c2ecf20Sopenharmony_ci		uint64_t grptag_mskip:1;
18148c2ecf20Sopenharmony_ci		uint64_t grptag:1;
18158c2ecf20Sopenharmony_ci		uint64_t grptagmask:4;
18168c2ecf20Sopenharmony_ci		uint64_t grptagbase:4;
18178c2ecf20Sopenharmony_ci		uint64_t grp_msb:2;
18188c2ecf20Sopenharmony_ci		uint64_t reserved_42_43:2;
18198c2ecf20Sopenharmony_ci		uint64_t grptagmask_msb:2;
18208c2ecf20Sopenharmony_ci		uint64_t reserved_46_47:2;
18218c2ecf20Sopenharmony_ci		uint64_t grptagbase_msb:2;
18228c2ecf20Sopenharmony_ci		uint64_t reserved_50_51:2;
18238c2ecf20Sopenharmony_ci		uint64_t inc_hwchk:1;
18248c2ecf20Sopenharmony_ci		uint64_t portadd_en:1;
18258c2ecf20Sopenharmony_ci		uint64_t reserved_54_63:10;
18268c2ecf20Sopenharmony_ci#endif
18278c2ecf20Sopenharmony_ci	} s;
18288c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_tagx_cn30xx {
18298c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
18308c2ecf20Sopenharmony_ci		uint64_t reserved_40_63:24;
18318c2ecf20Sopenharmony_ci		uint64_t grptagbase:4;
18328c2ecf20Sopenharmony_ci		uint64_t grptagmask:4;
18338c2ecf20Sopenharmony_ci		uint64_t grptag:1;
18348c2ecf20Sopenharmony_ci		uint64_t reserved_30_30:1;
18358c2ecf20Sopenharmony_ci		uint64_t tag_mode:2;
18368c2ecf20Sopenharmony_ci		uint64_t inc_vs:2;
18378c2ecf20Sopenharmony_ci		uint64_t inc_vlan:1;
18388c2ecf20Sopenharmony_ci		uint64_t inc_prt_flag:1;
18398c2ecf20Sopenharmony_ci		uint64_t ip6_dprt_flag:1;
18408c2ecf20Sopenharmony_ci		uint64_t ip4_dprt_flag:1;
18418c2ecf20Sopenharmony_ci		uint64_t ip6_sprt_flag:1;
18428c2ecf20Sopenharmony_ci		uint64_t ip4_sprt_flag:1;
18438c2ecf20Sopenharmony_ci		uint64_t ip6_nxth_flag:1;
18448c2ecf20Sopenharmony_ci		uint64_t ip4_pctl_flag:1;
18458c2ecf20Sopenharmony_ci		uint64_t ip6_dst_flag:1;
18468c2ecf20Sopenharmony_ci		uint64_t ip4_dst_flag:1;
18478c2ecf20Sopenharmony_ci		uint64_t ip6_src_flag:1;
18488c2ecf20Sopenharmony_ci		uint64_t ip4_src_flag:1;
18498c2ecf20Sopenharmony_ci		uint64_t tcp6_tag_type:2;
18508c2ecf20Sopenharmony_ci		uint64_t tcp4_tag_type:2;
18518c2ecf20Sopenharmony_ci		uint64_t ip6_tag_type:2;
18528c2ecf20Sopenharmony_ci		uint64_t ip4_tag_type:2;
18538c2ecf20Sopenharmony_ci		uint64_t non_tag_type:2;
18548c2ecf20Sopenharmony_ci		uint64_t grp:4;
18558c2ecf20Sopenharmony_ci#else
18568c2ecf20Sopenharmony_ci		uint64_t grp:4;
18578c2ecf20Sopenharmony_ci		uint64_t non_tag_type:2;
18588c2ecf20Sopenharmony_ci		uint64_t ip4_tag_type:2;
18598c2ecf20Sopenharmony_ci		uint64_t ip6_tag_type:2;
18608c2ecf20Sopenharmony_ci		uint64_t tcp4_tag_type:2;
18618c2ecf20Sopenharmony_ci		uint64_t tcp6_tag_type:2;
18628c2ecf20Sopenharmony_ci		uint64_t ip4_src_flag:1;
18638c2ecf20Sopenharmony_ci		uint64_t ip6_src_flag:1;
18648c2ecf20Sopenharmony_ci		uint64_t ip4_dst_flag:1;
18658c2ecf20Sopenharmony_ci		uint64_t ip6_dst_flag:1;
18668c2ecf20Sopenharmony_ci		uint64_t ip4_pctl_flag:1;
18678c2ecf20Sopenharmony_ci		uint64_t ip6_nxth_flag:1;
18688c2ecf20Sopenharmony_ci		uint64_t ip4_sprt_flag:1;
18698c2ecf20Sopenharmony_ci		uint64_t ip6_sprt_flag:1;
18708c2ecf20Sopenharmony_ci		uint64_t ip4_dprt_flag:1;
18718c2ecf20Sopenharmony_ci		uint64_t ip6_dprt_flag:1;
18728c2ecf20Sopenharmony_ci		uint64_t inc_prt_flag:1;
18738c2ecf20Sopenharmony_ci		uint64_t inc_vlan:1;
18748c2ecf20Sopenharmony_ci		uint64_t inc_vs:2;
18758c2ecf20Sopenharmony_ci		uint64_t tag_mode:2;
18768c2ecf20Sopenharmony_ci		uint64_t reserved_30_30:1;
18778c2ecf20Sopenharmony_ci		uint64_t grptag:1;
18788c2ecf20Sopenharmony_ci		uint64_t grptagmask:4;
18798c2ecf20Sopenharmony_ci		uint64_t grptagbase:4;
18808c2ecf20Sopenharmony_ci		uint64_t reserved_40_63:24;
18818c2ecf20Sopenharmony_ci#endif
18828c2ecf20Sopenharmony_ci	} cn30xx;
18838c2ecf20Sopenharmony_ci	struct cvmx_pip_prt_tagx_cn50xx {
18848c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
18858c2ecf20Sopenharmony_ci		uint64_t reserved_40_63:24;
18868c2ecf20Sopenharmony_ci		uint64_t grptagbase:4;
18878c2ecf20Sopenharmony_ci		uint64_t grptagmask:4;
18888c2ecf20Sopenharmony_ci		uint64_t grptag:1;
18898c2ecf20Sopenharmony_ci		uint64_t grptag_mskip:1;
18908c2ecf20Sopenharmony_ci		uint64_t tag_mode:2;
18918c2ecf20Sopenharmony_ci		uint64_t inc_vs:2;
18928c2ecf20Sopenharmony_ci		uint64_t inc_vlan:1;
18938c2ecf20Sopenharmony_ci		uint64_t inc_prt_flag:1;
18948c2ecf20Sopenharmony_ci		uint64_t ip6_dprt_flag:1;
18958c2ecf20Sopenharmony_ci		uint64_t ip4_dprt_flag:1;
18968c2ecf20Sopenharmony_ci		uint64_t ip6_sprt_flag:1;
18978c2ecf20Sopenharmony_ci		uint64_t ip4_sprt_flag:1;
18988c2ecf20Sopenharmony_ci		uint64_t ip6_nxth_flag:1;
18998c2ecf20Sopenharmony_ci		uint64_t ip4_pctl_flag:1;
19008c2ecf20Sopenharmony_ci		uint64_t ip6_dst_flag:1;
19018c2ecf20Sopenharmony_ci		uint64_t ip4_dst_flag:1;
19028c2ecf20Sopenharmony_ci		uint64_t ip6_src_flag:1;
19038c2ecf20Sopenharmony_ci		uint64_t ip4_src_flag:1;
19048c2ecf20Sopenharmony_ci		uint64_t tcp6_tag_type:2;
19058c2ecf20Sopenharmony_ci		uint64_t tcp4_tag_type:2;
19068c2ecf20Sopenharmony_ci		uint64_t ip6_tag_type:2;
19078c2ecf20Sopenharmony_ci		uint64_t ip4_tag_type:2;
19088c2ecf20Sopenharmony_ci		uint64_t non_tag_type:2;
19098c2ecf20Sopenharmony_ci		uint64_t grp:4;
19108c2ecf20Sopenharmony_ci#else
19118c2ecf20Sopenharmony_ci		uint64_t grp:4;
19128c2ecf20Sopenharmony_ci		uint64_t non_tag_type:2;
19138c2ecf20Sopenharmony_ci		uint64_t ip4_tag_type:2;
19148c2ecf20Sopenharmony_ci		uint64_t ip6_tag_type:2;
19158c2ecf20Sopenharmony_ci		uint64_t tcp4_tag_type:2;
19168c2ecf20Sopenharmony_ci		uint64_t tcp6_tag_type:2;
19178c2ecf20Sopenharmony_ci		uint64_t ip4_src_flag:1;
19188c2ecf20Sopenharmony_ci		uint64_t ip6_src_flag:1;
19198c2ecf20Sopenharmony_ci		uint64_t ip4_dst_flag:1;
19208c2ecf20Sopenharmony_ci		uint64_t ip6_dst_flag:1;
19218c2ecf20Sopenharmony_ci		uint64_t ip4_pctl_flag:1;
19228c2ecf20Sopenharmony_ci		uint64_t ip6_nxth_flag:1;
19238c2ecf20Sopenharmony_ci		uint64_t ip4_sprt_flag:1;
19248c2ecf20Sopenharmony_ci		uint64_t ip6_sprt_flag:1;
19258c2ecf20Sopenharmony_ci		uint64_t ip4_dprt_flag:1;
19268c2ecf20Sopenharmony_ci		uint64_t ip6_dprt_flag:1;
19278c2ecf20Sopenharmony_ci		uint64_t inc_prt_flag:1;
19288c2ecf20Sopenharmony_ci		uint64_t inc_vlan:1;
19298c2ecf20Sopenharmony_ci		uint64_t inc_vs:2;
19308c2ecf20Sopenharmony_ci		uint64_t tag_mode:2;
19318c2ecf20Sopenharmony_ci		uint64_t grptag_mskip:1;
19328c2ecf20Sopenharmony_ci		uint64_t grptag:1;
19338c2ecf20Sopenharmony_ci		uint64_t grptagmask:4;
19348c2ecf20Sopenharmony_ci		uint64_t grptagbase:4;
19358c2ecf20Sopenharmony_ci		uint64_t reserved_40_63:24;
19368c2ecf20Sopenharmony_ci#endif
19378c2ecf20Sopenharmony_ci	} cn50xx;
19388c2ecf20Sopenharmony_ci};
19398c2ecf20Sopenharmony_ci
19408c2ecf20Sopenharmony_ciunion cvmx_pip_qos_diffx {
19418c2ecf20Sopenharmony_ci	uint64_t u64;
19428c2ecf20Sopenharmony_ci	struct cvmx_pip_qos_diffx_s {
19438c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
19448c2ecf20Sopenharmony_ci		uint64_t reserved_3_63:61;
19458c2ecf20Sopenharmony_ci		uint64_t qos:3;
19468c2ecf20Sopenharmony_ci#else
19478c2ecf20Sopenharmony_ci		uint64_t qos:3;
19488c2ecf20Sopenharmony_ci		uint64_t reserved_3_63:61;
19498c2ecf20Sopenharmony_ci#endif
19508c2ecf20Sopenharmony_ci	} s;
19518c2ecf20Sopenharmony_ci};
19528c2ecf20Sopenharmony_ci
19538c2ecf20Sopenharmony_ciunion cvmx_pip_qos_vlanx {
19548c2ecf20Sopenharmony_ci	uint64_t u64;
19558c2ecf20Sopenharmony_ci	struct cvmx_pip_qos_vlanx_s {
19568c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
19578c2ecf20Sopenharmony_ci		uint64_t reserved_7_63:57;
19588c2ecf20Sopenharmony_ci		uint64_t qos1:3;
19598c2ecf20Sopenharmony_ci		uint64_t reserved_3_3:1;
19608c2ecf20Sopenharmony_ci		uint64_t qos:3;
19618c2ecf20Sopenharmony_ci#else
19628c2ecf20Sopenharmony_ci		uint64_t qos:3;
19638c2ecf20Sopenharmony_ci		uint64_t reserved_3_3:1;
19648c2ecf20Sopenharmony_ci		uint64_t qos1:3;
19658c2ecf20Sopenharmony_ci		uint64_t reserved_7_63:57;
19668c2ecf20Sopenharmony_ci#endif
19678c2ecf20Sopenharmony_ci	} s;
19688c2ecf20Sopenharmony_ci	struct cvmx_pip_qos_vlanx_cn30xx {
19698c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
19708c2ecf20Sopenharmony_ci		uint64_t reserved_3_63:61;
19718c2ecf20Sopenharmony_ci		uint64_t qos:3;
19728c2ecf20Sopenharmony_ci#else
19738c2ecf20Sopenharmony_ci		uint64_t qos:3;
19748c2ecf20Sopenharmony_ci		uint64_t reserved_3_63:61;
19758c2ecf20Sopenharmony_ci#endif
19768c2ecf20Sopenharmony_ci	} cn30xx;
19778c2ecf20Sopenharmony_ci};
19788c2ecf20Sopenharmony_ci
19798c2ecf20Sopenharmony_ciunion cvmx_pip_qos_watchx {
19808c2ecf20Sopenharmony_ci	uint64_t u64;
19818c2ecf20Sopenharmony_ci	struct cvmx_pip_qos_watchx_s {
19828c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
19838c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
19848c2ecf20Sopenharmony_ci		uint64_t mask:16;
19858c2ecf20Sopenharmony_ci		uint64_t reserved_30_31:2;
19868c2ecf20Sopenharmony_ci		uint64_t grp:6;
19878c2ecf20Sopenharmony_ci		uint64_t reserved_23_23:1;
19888c2ecf20Sopenharmony_ci		uint64_t qos:3;
19898c2ecf20Sopenharmony_ci		uint64_t reserved_19_19:1;
19908c2ecf20Sopenharmony_ci		uint64_t match_type:3;
19918c2ecf20Sopenharmony_ci		uint64_t match_value:16;
19928c2ecf20Sopenharmony_ci#else
19938c2ecf20Sopenharmony_ci		uint64_t match_value:16;
19948c2ecf20Sopenharmony_ci		uint64_t match_type:3;
19958c2ecf20Sopenharmony_ci		uint64_t reserved_19_19:1;
19968c2ecf20Sopenharmony_ci		uint64_t qos:3;
19978c2ecf20Sopenharmony_ci		uint64_t reserved_23_23:1;
19988c2ecf20Sopenharmony_ci		uint64_t grp:6;
19998c2ecf20Sopenharmony_ci		uint64_t reserved_30_31:2;
20008c2ecf20Sopenharmony_ci		uint64_t mask:16;
20018c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
20028c2ecf20Sopenharmony_ci#endif
20038c2ecf20Sopenharmony_ci	} s;
20048c2ecf20Sopenharmony_ci	struct cvmx_pip_qos_watchx_cn30xx {
20058c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
20068c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
20078c2ecf20Sopenharmony_ci		uint64_t mask:16;
20088c2ecf20Sopenharmony_ci		uint64_t reserved_28_31:4;
20098c2ecf20Sopenharmony_ci		uint64_t grp:4;
20108c2ecf20Sopenharmony_ci		uint64_t reserved_23_23:1;
20118c2ecf20Sopenharmony_ci		uint64_t qos:3;
20128c2ecf20Sopenharmony_ci		uint64_t reserved_18_19:2;
20138c2ecf20Sopenharmony_ci		uint64_t match_type:2;
20148c2ecf20Sopenharmony_ci		uint64_t match_value:16;
20158c2ecf20Sopenharmony_ci#else
20168c2ecf20Sopenharmony_ci		uint64_t match_value:16;
20178c2ecf20Sopenharmony_ci		uint64_t match_type:2;
20188c2ecf20Sopenharmony_ci		uint64_t reserved_18_19:2;
20198c2ecf20Sopenharmony_ci		uint64_t qos:3;
20208c2ecf20Sopenharmony_ci		uint64_t reserved_23_23:1;
20218c2ecf20Sopenharmony_ci		uint64_t grp:4;
20228c2ecf20Sopenharmony_ci		uint64_t reserved_28_31:4;
20238c2ecf20Sopenharmony_ci		uint64_t mask:16;
20248c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
20258c2ecf20Sopenharmony_ci#endif
20268c2ecf20Sopenharmony_ci	} cn30xx;
20278c2ecf20Sopenharmony_ci	struct cvmx_pip_qos_watchx_cn50xx {
20288c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
20298c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
20308c2ecf20Sopenharmony_ci		uint64_t mask:16;
20318c2ecf20Sopenharmony_ci		uint64_t reserved_28_31:4;
20328c2ecf20Sopenharmony_ci		uint64_t grp:4;
20338c2ecf20Sopenharmony_ci		uint64_t reserved_23_23:1;
20348c2ecf20Sopenharmony_ci		uint64_t qos:3;
20358c2ecf20Sopenharmony_ci		uint64_t reserved_19_19:1;
20368c2ecf20Sopenharmony_ci		uint64_t match_type:3;
20378c2ecf20Sopenharmony_ci		uint64_t match_value:16;
20388c2ecf20Sopenharmony_ci#else
20398c2ecf20Sopenharmony_ci		uint64_t match_value:16;
20408c2ecf20Sopenharmony_ci		uint64_t match_type:3;
20418c2ecf20Sopenharmony_ci		uint64_t reserved_19_19:1;
20428c2ecf20Sopenharmony_ci		uint64_t qos:3;
20438c2ecf20Sopenharmony_ci		uint64_t reserved_23_23:1;
20448c2ecf20Sopenharmony_ci		uint64_t grp:4;
20458c2ecf20Sopenharmony_ci		uint64_t reserved_28_31:4;
20468c2ecf20Sopenharmony_ci		uint64_t mask:16;
20478c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
20488c2ecf20Sopenharmony_ci#endif
20498c2ecf20Sopenharmony_ci	} cn50xx;
20508c2ecf20Sopenharmony_ci};
20518c2ecf20Sopenharmony_ci
20528c2ecf20Sopenharmony_ciunion cvmx_pip_raw_word {
20538c2ecf20Sopenharmony_ci	uint64_t u64;
20548c2ecf20Sopenharmony_ci	struct cvmx_pip_raw_word_s {
20558c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
20568c2ecf20Sopenharmony_ci		uint64_t reserved_56_63:8;
20578c2ecf20Sopenharmony_ci		uint64_t word:56;
20588c2ecf20Sopenharmony_ci#else
20598c2ecf20Sopenharmony_ci		uint64_t word:56;
20608c2ecf20Sopenharmony_ci		uint64_t reserved_56_63:8;
20618c2ecf20Sopenharmony_ci#endif
20628c2ecf20Sopenharmony_ci	} s;
20638c2ecf20Sopenharmony_ci};
20648c2ecf20Sopenharmony_ci
20658c2ecf20Sopenharmony_ciunion cvmx_pip_sft_rst {
20668c2ecf20Sopenharmony_ci	uint64_t u64;
20678c2ecf20Sopenharmony_ci	struct cvmx_pip_sft_rst_s {
20688c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
20698c2ecf20Sopenharmony_ci		uint64_t reserved_1_63:63;
20708c2ecf20Sopenharmony_ci		uint64_t rst:1;
20718c2ecf20Sopenharmony_ci#else
20728c2ecf20Sopenharmony_ci		uint64_t rst:1;
20738c2ecf20Sopenharmony_ci		uint64_t reserved_1_63:63;
20748c2ecf20Sopenharmony_ci#endif
20758c2ecf20Sopenharmony_ci	} s;
20768c2ecf20Sopenharmony_ci};
20778c2ecf20Sopenharmony_ci
20788c2ecf20Sopenharmony_ciunion cvmx_pip_stat0_x {
20798c2ecf20Sopenharmony_ci	uint64_t u64;
20808c2ecf20Sopenharmony_ci	struct cvmx_pip_stat0_x_s {
20818c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
20828c2ecf20Sopenharmony_ci		uint64_t drp_pkts:32;
20838c2ecf20Sopenharmony_ci		uint64_t drp_octs:32;
20848c2ecf20Sopenharmony_ci#else
20858c2ecf20Sopenharmony_ci		uint64_t drp_octs:32;
20868c2ecf20Sopenharmony_ci		uint64_t drp_pkts:32;
20878c2ecf20Sopenharmony_ci#endif
20888c2ecf20Sopenharmony_ci	} s;
20898c2ecf20Sopenharmony_ci};
20908c2ecf20Sopenharmony_ci
20918c2ecf20Sopenharmony_ciunion cvmx_pip_stat0_prtx {
20928c2ecf20Sopenharmony_ci	uint64_t u64;
20938c2ecf20Sopenharmony_ci	struct cvmx_pip_stat0_prtx_s {
20948c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
20958c2ecf20Sopenharmony_ci		uint64_t drp_pkts:32;
20968c2ecf20Sopenharmony_ci		uint64_t drp_octs:32;
20978c2ecf20Sopenharmony_ci#else
20988c2ecf20Sopenharmony_ci		uint64_t drp_octs:32;
20998c2ecf20Sopenharmony_ci		uint64_t drp_pkts:32;
21008c2ecf20Sopenharmony_ci#endif
21018c2ecf20Sopenharmony_ci	} s;
21028c2ecf20Sopenharmony_ci};
21038c2ecf20Sopenharmony_ci
21048c2ecf20Sopenharmony_ciunion cvmx_pip_stat10_x {
21058c2ecf20Sopenharmony_ci	uint64_t u64;
21068c2ecf20Sopenharmony_ci	struct cvmx_pip_stat10_x_s {
21078c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
21088c2ecf20Sopenharmony_ci		uint64_t bcast:32;
21098c2ecf20Sopenharmony_ci		uint64_t mcast:32;
21108c2ecf20Sopenharmony_ci#else
21118c2ecf20Sopenharmony_ci		uint64_t mcast:32;
21128c2ecf20Sopenharmony_ci		uint64_t bcast:32;
21138c2ecf20Sopenharmony_ci#endif
21148c2ecf20Sopenharmony_ci	} s;
21158c2ecf20Sopenharmony_ci};
21168c2ecf20Sopenharmony_ci
21178c2ecf20Sopenharmony_ciunion cvmx_pip_stat10_prtx {
21188c2ecf20Sopenharmony_ci	uint64_t u64;
21198c2ecf20Sopenharmony_ci	struct cvmx_pip_stat10_prtx_s {
21208c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
21218c2ecf20Sopenharmony_ci		uint64_t bcast:32;
21228c2ecf20Sopenharmony_ci		uint64_t mcast:32;
21238c2ecf20Sopenharmony_ci#else
21248c2ecf20Sopenharmony_ci		uint64_t mcast:32;
21258c2ecf20Sopenharmony_ci		uint64_t bcast:32;
21268c2ecf20Sopenharmony_ci#endif
21278c2ecf20Sopenharmony_ci	} s;
21288c2ecf20Sopenharmony_ci};
21298c2ecf20Sopenharmony_ci
21308c2ecf20Sopenharmony_ciunion cvmx_pip_stat11_x {
21318c2ecf20Sopenharmony_ci	uint64_t u64;
21328c2ecf20Sopenharmony_ci	struct cvmx_pip_stat11_x_s {
21338c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
21348c2ecf20Sopenharmony_ci		uint64_t bcast:32;
21358c2ecf20Sopenharmony_ci		uint64_t mcast:32;
21368c2ecf20Sopenharmony_ci#else
21378c2ecf20Sopenharmony_ci		uint64_t mcast:32;
21388c2ecf20Sopenharmony_ci		uint64_t bcast:32;
21398c2ecf20Sopenharmony_ci#endif
21408c2ecf20Sopenharmony_ci	} s;
21418c2ecf20Sopenharmony_ci};
21428c2ecf20Sopenharmony_ci
21438c2ecf20Sopenharmony_ciunion cvmx_pip_stat11_prtx {
21448c2ecf20Sopenharmony_ci	uint64_t u64;
21458c2ecf20Sopenharmony_ci	struct cvmx_pip_stat11_prtx_s {
21468c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
21478c2ecf20Sopenharmony_ci		uint64_t bcast:32;
21488c2ecf20Sopenharmony_ci		uint64_t mcast:32;
21498c2ecf20Sopenharmony_ci#else
21508c2ecf20Sopenharmony_ci		uint64_t mcast:32;
21518c2ecf20Sopenharmony_ci		uint64_t bcast:32;
21528c2ecf20Sopenharmony_ci#endif
21538c2ecf20Sopenharmony_ci	} s;
21548c2ecf20Sopenharmony_ci};
21558c2ecf20Sopenharmony_ci
21568c2ecf20Sopenharmony_ciunion cvmx_pip_stat1_x {
21578c2ecf20Sopenharmony_ci	uint64_t u64;
21588c2ecf20Sopenharmony_ci	struct cvmx_pip_stat1_x_s {
21598c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
21608c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
21618c2ecf20Sopenharmony_ci		uint64_t octs:48;
21628c2ecf20Sopenharmony_ci#else
21638c2ecf20Sopenharmony_ci		uint64_t octs:48;
21648c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
21658c2ecf20Sopenharmony_ci#endif
21668c2ecf20Sopenharmony_ci	} s;
21678c2ecf20Sopenharmony_ci};
21688c2ecf20Sopenharmony_ci
21698c2ecf20Sopenharmony_ciunion cvmx_pip_stat1_prtx {
21708c2ecf20Sopenharmony_ci	uint64_t u64;
21718c2ecf20Sopenharmony_ci	struct cvmx_pip_stat1_prtx_s {
21728c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
21738c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
21748c2ecf20Sopenharmony_ci		uint64_t octs:48;
21758c2ecf20Sopenharmony_ci#else
21768c2ecf20Sopenharmony_ci		uint64_t octs:48;
21778c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
21788c2ecf20Sopenharmony_ci#endif
21798c2ecf20Sopenharmony_ci	} s;
21808c2ecf20Sopenharmony_ci};
21818c2ecf20Sopenharmony_ci
21828c2ecf20Sopenharmony_ciunion cvmx_pip_stat2_x {
21838c2ecf20Sopenharmony_ci	uint64_t u64;
21848c2ecf20Sopenharmony_ci	struct cvmx_pip_stat2_x_s {
21858c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
21868c2ecf20Sopenharmony_ci		uint64_t pkts:32;
21878c2ecf20Sopenharmony_ci		uint64_t raw:32;
21888c2ecf20Sopenharmony_ci#else
21898c2ecf20Sopenharmony_ci		uint64_t raw:32;
21908c2ecf20Sopenharmony_ci		uint64_t pkts:32;
21918c2ecf20Sopenharmony_ci#endif
21928c2ecf20Sopenharmony_ci	} s;
21938c2ecf20Sopenharmony_ci};
21948c2ecf20Sopenharmony_ci
21958c2ecf20Sopenharmony_ciunion cvmx_pip_stat2_prtx {
21968c2ecf20Sopenharmony_ci	uint64_t u64;
21978c2ecf20Sopenharmony_ci	struct cvmx_pip_stat2_prtx_s {
21988c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
21998c2ecf20Sopenharmony_ci		uint64_t pkts:32;
22008c2ecf20Sopenharmony_ci		uint64_t raw:32;
22018c2ecf20Sopenharmony_ci#else
22028c2ecf20Sopenharmony_ci		uint64_t raw:32;
22038c2ecf20Sopenharmony_ci		uint64_t pkts:32;
22048c2ecf20Sopenharmony_ci#endif
22058c2ecf20Sopenharmony_ci	} s;
22068c2ecf20Sopenharmony_ci};
22078c2ecf20Sopenharmony_ci
22088c2ecf20Sopenharmony_ciunion cvmx_pip_stat3_x {
22098c2ecf20Sopenharmony_ci	uint64_t u64;
22108c2ecf20Sopenharmony_ci	struct cvmx_pip_stat3_x_s {
22118c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
22128c2ecf20Sopenharmony_ci		uint64_t bcst:32;
22138c2ecf20Sopenharmony_ci		uint64_t mcst:32;
22148c2ecf20Sopenharmony_ci#else
22158c2ecf20Sopenharmony_ci		uint64_t mcst:32;
22168c2ecf20Sopenharmony_ci		uint64_t bcst:32;
22178c2ecf20Sopenharmony_ci#endif
22188c2ecf20Sopenharmony_ci	} s;
22198c2ecf20Sopenharmony_ci};
22208c2ecf20Sopenharmony_ci
22218c2ecf20Sopenharmony_ciunion cvmx_pip_stat3_prtx {
22228c2ecf20Sopenharmony_ci	uint64_t u64;
22238c2ecf20Sopenharmony_ci	struct cvmx_pip_stat3_prtx_s {
22248c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
22258c2ecf20Sopenharmony_ci		uint64_t bcst:32;
22268c2ecf20Sopenharmony_ci		uint64_t mcst:32;
22278c2ecf20Sopenharmony_ci#else
22288c2ecf20Sopenharmony_ci		uint64_t mcst:32;
22298c2ecf20Sopenharmony_ci		uint64_t bcst:32;
22308c2ecf20Sopenharmony_ci#endif
22318c2ecf20Sopenharmony_ci	} s;
22328c2ecf20Sopenharmony_ci};
22338c2ecf20Sopenharmony_ci
22348c2ecf20Sopenharmony_ciunion cvmx_pip_stat4_x {
22358c2ecf20Sopenharmony_ci	uint64_t u64;
22368c2ecf20Sopenharmony_ci	struct cvmx_pip_stat4_x_s {
22378c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
22388c2ecf20Sopenharmony_ci		uint64_t h65to127:32;
22398c2ecf20Sopenharmony_ci		uint64_t h64:32;
22408c2ecf20Sopenharmony_ci#else
22418c2ecf20Sopenharmony_ci		uint64_t h64:32;
22428c2ecf20Sopenharmony_ci		uint64_t h65to127:32;
22438c2ecf20Sopenharmony_ci#endif
22448c2ecf20Sopenharmony_ci	} s;
22458c2ecf20Sopenharmony_ci};
22468c2ecf20Sopenharmony_ci
22478c2ecf20Sopenharmony_ciunion cvmx_pip_stat4_prtx {
22488c2ecf20Sopenharmony_ci	uint64_t u64;
22498c2ecf20Sopenharmony_ci	struct cvmx_pip_stat4_prtx_s {
22508c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
22518c2ecf20Sopenharmony_ci		uint64_t h65to127:32;
22528c2ecf20Sopenharmony_ci		uint64_t h64:32;
22538c2ecf20Sopenharmony_ci#else
22548c2ecf20Sopenharmony_ci		uint64_t h64:32;
22558c2ecf20Sopenharmony_ci		uint64_t h65to127:32;
22568c2ecf20Sopenharmony_ci#endif
22578c2ecf20Sopenharmony_ci	} s;
22588c2ecf20Sopenharmony_ci};
22598c2ecf20Sopenharmony_ci
22608c2ecf20Sopenharmony_ciunion cvmx_pip_stat5_x {
22618c2ecf20Sopenharmony_ci	uint64_t u64;
22628c2ecf20Sopenharmony_ci	struct cvmx_pip_stat5_x_s {
22638c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
22648c2ecf20Sopenharmony_ci		uint64_t h256to511:32;
22658c2ecf20Sopenharmony_ci		uint64_t h128to255:32;
22668c2ecf20Sopenharmony_ci#else
22678c2ecf20Sopenharmony_ci		uint64_t h128to255:32;
22688c2ecf20Sopenharmony_ci		uint64_t h256to511:32;
22698c2ecf20Sopenharmony_ci#endif
22708c2ecf20Sopenharmony_ci	} s;
22718c2ecf20Sopenharmony_ci};
22728c2ecf20Sopenharmony_ci
22738c2ecf20Sopenharmony_ciunion cvmx_pip_stat5_prtx {
22748c2ecf20Sopenharmony_ci	uint64_t u64;
22758c2ecf20Sopenharmony_ci	struct cvmx_pip_stat5_prtx_s {
22768c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
22778c2ecf20Sopenharmony_ci		uint64_t h256to511:32;
22788c2ecf20Sopenharmony_ci		uint64_t h128to255:32;
22798c2ecf20Sopenharmony_ci#else
22808c2ecf20Sopenharmony_ci		uint64_t h128to255:32;
22818c2ecf20Sopenharmony_ci		uint64_t h256to511:32;
22828c2ecf20Sopenharmony_ci#endif
22838c2ecf20Sopenharmony_ci	} s;
22848c2ecf20Sopenharmony_ci};
22858c2ecf20Sopenharmony_ci
22868c2ecf20Sopenharmony_ciunion cvmx_pip_stat6_x {
22878c2ecf20Sopenharmony_ci	uint64_t u64;
22888c2ecf20Sopenharmony_ci	struct cvmx_pip_stat6_x_s {
22898c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
22908c2ecf20Sopenharmony_ci		uint64_t h1024to1518:32;
22918c2ecf20Sopenharmony_ci		uint64_t h512to1023:32;
22928c2ecf20Sopenharmony_ci#else
22938c2ecf20Sopenharmony_ci		uint64_t h512to1023:32;
22948c2ecf20Sopenharmony_ci		uint64_t h1024to1518:32;
22958c2ecf20Sopenharmony_ci#endif
22968c2ecf20Sopenharmony_ci	} s;
22978c2ecf20Sopenharmony_ci};
22988c2ecf20Sopenharmony_ci
22998c2ecf20Sopenharmony_ciunion cvmx_pip_stat6_prtx {
23008c2ecf20Sopenharmony_ci	uint64_t u64;
23018c2ecf20Sopenharmony_ci	struct cvmx_pip_stat6_prtx_s {
23028c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
23038c2ecf20Sopenharmony_ci		uint64_t h1024to1518:32;
23048c2ecf20Sopenharmony_ci		uint64_t h512to1023:32;
23058c2ecf20Sopenharmony_ci#else
23068c2ecf20Sopenharmony_ci		uint64_t h512to1023:32;
23078c2ecf20Sopenharmony_ci		uint64_t h1024to1518:32;
23088c2ecf20Sopenharmony_ci#endif
23098c2ecf20Sopenharmony_ci	} s;
23108c2ecf20Sopenharmony_ci};
23118c2ecf20Sopenharmony_ci
23128c2ecf20Sopenharmony_ciunion cvmx_pip_stat7_x {
23138c2ecf20Sopenharmony_ci	uint64_t u64;
23148c2ecf20Sopenharmony_ci	struct cvmx_pip_stat7_x_s {
23158c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
23168c2ecf20Sopenharmony_ci		uint64_t fcs:32;
23178c2ecf20Sopenharmony_ci		uint64_t h1519:32;
23188c2ecf20Sopenharmony_ci#else
23198c2ecf20Sopenharmony_ci		uint64_t h1519:32;
23208c2ecf20Sopenharmony_ci		uint64_t fcs:32;
23218c2ecf20Sopenharmony_ci#endif
23228c2ecf20Sopenharmony_ci	} s;
23238c2ecf20Sopenharmony_ci};
23248c2ecf20Sopenharmony_ci
23258c2ecf20Sopenharmony_ciunion cvmx_pip_stat7_prtx {
23268c2ecf20Sopenharmony_ci	uint64_t u64;
23278c2ecf20Sopenharmony_ci	struct cvmx_pip_stat7_prtx_s {
23288c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
23298c2ecf20Sopenharmony_ci		uint64_t fcs:32;
23308c2ecf20Sopenharmony_ci		uint64_t h1519:32;
23318c2ecf20Sopenharmony_ci#else
23328c2ecf20Sopenharmony_ci		uint64_t h1519:32;
23338c2ecf20Sopenharmony_ci		uint64_t fcs:32;
23348c2ecf20Sopenharmony_ci#endif
23358c2ecf20Sopenharmony_ci	} s;
23368c2ecf20Sopenharmony_ci};
23378c2ecf20Sopenharmony_ci
23388c2ecf20Sopenharmony_ciunion cvmx_pip_stat8_x {
23398c2ecf20Sopenharmony_ci	uint64_t u64;
23408c2ecf20Sopenharmony_ci	struct cvmx_pip_stat8_x_s {
23418c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
23428c2ecf20Sopenharmony_ci		uint64_t frag:32;
23438c2ecf20Sopenharmony_ci		uint64_t undersz:32;
23448c2ecf20Sopenharmony_ci#else
23458c2ecf20Sopenharmony_ci		uint64_t undersz:32;
23468c2ecf20Sopenharmony_ci		uint64_t frag:32;
23478c2ecf20Sopenharmony_ci#endif
23488c2ecf20Sopenharmony_ci	} s;
23498c2ecf20Sopenharmony_ci};
23508c2ecf20Sopenharmony_ci
23518c2ecf20Sopenharmony_ciunion cvmx_pip_stat8_prtx {
23528c2ecf20Sopenharmony_ci	uint64_t u64;
23538c2ecf20Sopenharmony_ci	struct cvmx_pip_stat8_prtx_s {
23548c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
23558c2ecf20Sopenharmony_ci		uint64_t frag:32;
23568c2ecf20Sopenharmony_ci		uint64_t undersz:32;
23578c2ecf20Sopenharmony_ci#else
23588c2ecf20Sopenharmony_ci		uint64_t undersz:32;
23598c2ecf20Sopenharmony_ci		uint64_t frag:32;
23608c2ecf20Sopenharmony_ci#endif
23618c2ecf20Sopenharmony_ci	} s;
23628c2ecf20Sopenharmony_ci};
23638c2ecf20Sopenharmony_ci
23648c2ecf20Sopenharmony_ciunion cvmx_pip_stat9_x {
23658c2ecf20Sopenharmony_ci	uint64_t u64;
23668c2ecf20Sopenharmony_ci	struct cvmx_pip_stat9_x_s {
23678c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
23688c2ecf20Sopenharmony_ci		uint64_t jabber:32;
23698c2ecf20Sopenharmony_ci		uint64_t oversz:32;
23708c2ecf20Sopenharmony_ci#else
23718c2ecf20Sopenharmony_ci		uint64_t oversz:32;
23728c2ecf20Sopenharmony_ci		uint64_t jabber:32;
23738c2ecf20Sopenharmony_ci#endif
23748c2ecf20Sopenharmony_ci	} s;
23758c2ecf20Sopenharmony_ci};
23768c2ecf20Sopenharmony_ci
23778c2ecf20Sopenharmony_ciunion cvmx_pip_stat9_prtx {
23788c2ecf20Sopenharmony_ci	uint64_t u64;
23798c2ecf20Sopenharmony_ci	struct cvmx_pip_stat9_prtx_s {
23808c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
23818c2ecf20Sopenharmony_ci		uint64_t jabber:32;
23828c2ecf20Sopenharmony_ci		uint64_t oversz:32;
23838c2ecf20Sopenharmony_ci#else
23848c2ecf20Sopenharmony_ci		uint64_t oversz:32;
23858c2ecf20Sopenharmony_ci		uint64_t jabber:32;
23868c2ecf20Sopenharmony_ci#endif
23878c2ecf20Sopenharmony_ci	} s;
23888c2ecf20Sopenharmony_ci};
23898c2ecf20Sopenharmony_ci
23908c2ecf20Sopenharmony_ciunion cvmx_pip_stat_ctl {
23918c2ecf20Sopenharmony_ci	uint64_t u64;
23928c2ecf20Sopenharmony_ci	struct cvmx_pip_stat_ctl_s {
23938c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
23948c2ecf20Sopenharmony_ci		uint64_t reserved_9_63:55;
23958c2ecf20Sopenharmony_ci		uint64_t mode:1;
23968c2ecf20Sopenharmony_ci		uint64_t reserved_1_7:7;
23978c2ecf20Sopenharmony_ci		uint64_t rdclr:1;
23988c2ecf20Sopenharmony_ci#else
23998c2ecf20Sopenharmony_ci		uint64_t rdclr:1;
24008c2ecf20Sopenharmony_ci		uint64_t reserved_1_7:7;
24018c2ecf20Sopenharmony_ci		uint64_t mode:1;
24028c2ecf20Sopenharmony_ci		uint64_t reserved_9_63:55;
24038c2ecf20Sopenharmony_ci#endif
24048c2ecf20Sopenharmony_ci	} s;
24058c2ecf20Sopenharmony_ci	struct cvmx_pip_stat_ctl_cn30xx {
24068c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
24078c2ecf20Sopenharmony_ci		uint64_t reserved_1_63:63;
24088c2ecf20Sopenharmony_ci		uint64_t rdclr:1;
24098c2ecf20Sopenharmony_ci#else
24108c2ecf20Sopenharmony_ci		uint64_t rdclr:1;
24118c2ecf20Sopenharmony_ci		uint64_t reserved_1_63:63;
24128c2ecf20Sopenharmony_ci#endif
24138c2ecf20Sopenharmony_ci	} cn30xx;
24148c2ecf20Sopenharmony_ci};
24158c2ecf20Sopenharmony_ci
24168c2ecf20Sopenharmony_ciunion cvmx_pip_stat_inb_errsx {
24178c2ecf20Sopenharmony_ci	uint64_t u64;
24188c2ecf20Sopenharmony_ci	struct cvmx_pip_stat_inb_errsx_s {
24198c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
24208c2ecf20Sopenharmony_ci		uint64_t reserved_16_63:48;
24218c2ecf20Sopenharmony_ci		uint64_t errs:16;
24228c2ecf20Sopenharmony_ci#else
24238c2ecf20Sopenharmony_ci		uint64_t errs:16;
24248c2ecf20Sopenharmony_ci		uint64_t reserved_16_63:48;
24258c2ecf20Sopenharmony_ci#endif
24268c2ecf20Sopenharmony_ci	} s;
24278c2ecf20Sopenharmony_ci};
24288c2ecf20Sopenharmony_ci
24298c2ecf20Sopenharmony_ciunion cvmx_pip_stat_inb_errs_pkndx {
24308c2ecf20Sopenharmony_ci	uint64_t u64;
24318c2ecf20Sopenharmony_ci	struct cvmx_pip_stat_inb_errs_pkndx_s {
24328c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
24338c2ecf20Sopenharmony_ci		uint64_t reserved_16_63:48;
24348c2ecf20Sopenharmony_ci		uint64_t errs:16;
24358c2ecf20Sopenharmony_ci#else
24368c2ecf20Sopenharmony_ci		uint64_t errs:16;
24378c2ecf20Sopenharmony_ci		uint64_t reserved_16_63:48;
24388c2ecf20Sopenharmony_ci#endif
24398c2ecf20Sopenharmony_ci	} s;
24408c2ecf20Sopenharmony_ci};
24418c2ecf20Sopenharmony_ci
24428c2ecf20Sopenharmony_ciunion cvmx_pip_stat_inb_octsx {
24438c2ecf20Sopenharmony_ci	uint64_t u64;
24448c2ecf20Sopenharmony_ci	struct cvmx_pip_stat_inb_octsx_s {
24458c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
24468c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
24478c2ecf20Sopenharmony_ci		uint64_t octs:48;
24488c2ecf20Sopenharmony_ci#else
24498c2ecf20Sopenharmony_ci		uint64_t octs:48;
24508c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
24518c2ecf20Sopenharmony_ci#endif
24528c2ecf20Sopenharmony_ci	} s;
24538c2ecf20Sopenharmony_ci};
24548c2ecf20Sopenharmony_ci
24558c2ecf20Sopenharmony_ciunion cvmx_pip_stat_inb_octs_pkndx {
24568c2ecf20Sopenharmony_ci	uint64_t u64;
24578c2ecf20Sopenharmony_ci	struct cvmx_pip_stat_inb_octs_pkndx_s {
24588c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
24598c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
24608c2ecf20Sopenharmony_ci		uint64_t octs:48;
24618c2ecf20Sopenharmony_ci#else
24628c2ecf20Sopenharmony_ci		uint64_t octs:48;
24638c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
24648c2ecf20Sopenharmony_ci#endif
24658c2ecf20Sopenharmony_ci	} s;
24668c2ecf20Sopenharmony_ci};
24678c2ecf20Sopenharmony_ci
24688c2ecf20Sopenharmony_ciunion cvmx_pip_stat_inb_pktsx {
24698c2ecf20Sopenharmony_ci	uint64_t u64;
24708c2ecf20Sopenharmony_ci	struct cvmx_pip_stat_inb_pktsx_s {
24718c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
24728c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
24738c2ecf20Sopenharmony_ci		uint64_t pkts:32;
24748c2ecf20Sopenharmony_ci#else
24758c2ecf20Sopenharmony_ci		uint64_t pkts:32;
24768c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
24778c2ecf20Sopenharmony_ci#endif
24788c2ecf20Sopenharmony_ci	} s;
24798c2ecf20Sopenharmony_ci};
24808c2ecf20Sopenharmony_ci
24818c2ecf20Sopenharmony_ciunion cvmx_pip_stat_inb_pkts_pkndx {
24828c2ecf20Sopenharmony_ci	uint64_t u64;
24838c2ecf20Sopenharmony_ci	struct cvmx_pip_stat_inb_pkts_pkndx_s {
24848c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
24858c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
24868c2ecf20Sopenharmony_ci		uint64_t pkts:32;
24878c2ecf20Sopenharmony_ci#else
24888c2ecf20Sopenharmony_ci		uint64_t pkts:32;
24898c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
24908c2ecf20Sopenharmony_ci#endif
24918c2ecf20Sopenharmony_ci	} s;
24928c2ecf20Sopenharmony_ci};
24938c2ecf20Sopenharmony_ci
24948c2ecf20Sopenharmony_ciunion cvmx_pip_sub_pkind_fcsx {
24958c2ecf20Sopenharmony_ci	uint64_t u64;
24968c2ecf20Sopenharmony_ci	struct cvmx_pip_sub_pkind_fcsx_s {
24978c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
24988c2ecf20Sopenharmony_ci		uint64_t port_bit:64;
24998c2ecf20Sopenharmony_ci#else
25008c2ecf20Sopenharmony_ci		uint64_t port_bit:64;
25018c2ecf20Sopenharmony_ci#endif
25028c2ecf20Sopenharmony_ci	} s;
25038c2ecf20Sopenharmony_ci};
25048c2ecf20Sopenharmony_ci
25058c2ecf20Sopenharmony_ciunion cvmx_pip_tag_incx {
25068c2ecf20Sopenharmony_ci	uint64_t u64;
25078c2ecf20Sopenharmony_ci	struct cvmx_pip_tag_incx_s {
25088c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
25098c2ecf20Sopenharmony_ci		uint64_t reserved_8_63:56;
25108c2ecf20Sopenharmony_ci		uint64_t en:8;
25118c2ecf20Sopenharmony_ci#else
25128c2ecf20Sopenharmony_ci		uint64_t en:8;
25138c2ecf20Sopenharmony_ci		uint64_t reserved_8_63:56;
25148c2ecf20Sopenharmony_ci#endif
25158c2ecf20Sopenharmony_ci	} s;
25168c2ecf20Sopenharmony_ci};
25178c2ecf20Sopenharmony_ci
25188c2ecf20Sopenharmony_ciunion cvmx_pip_tag_mask {
25198c2ecf20Sopenharmony_ci	uint64_t u64;
25208c2ecf20Sopenharmony_ci	struct cvmx_pip_tag_mask_s {
25218c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
25228c2ecf20Sopenharmony_ci		uint64_t reserved_16_63:48;
25238c2ecf20Sopenharmony_ci		uint64_t mask:16;
25248c2ecf20Sopenharmony_ci#else
25258c2ecf20Sopenharmony_ci		uint64_t mask:16;
25268c2ecf20Sopenharmony_ci		uint64_t reserved_16_63:48;
25278c2ecf20Sopenharmony_ci#endif
25288c2ecf20Sopenharmony_ci	} s;
25298c2ecf20Sopenharmony_ci};
25308c2ecf20Sopenharmony_ci
25318c2ecf20Sopenharmony_ciunion cvmx_pip_tag_secret {
25328c2ecf20Sopenharmony_ci	uint64_t u64;
25338c2ecf20Sopenharmony_ci	struct cvmx_pip_tag_secret_s {
25348c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
25358c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
25368c2ecf20Sopenharmony_ci		uint64_t dst:16;
25378c2ecf20Sopenharmony_ci		uint64_t src:16;
25388c2ecf20Sopenharmony_ci#else
25398c2ecf20Sopenharmony_ci		uint64_t src:16;
25408c2ecf20Sopenharmony_ci		uint64_t dst:16;
25418c2ecf20Sopenharmony_ci		uint64_t reserved_32_63:32;
25428c2ecf20Sopenharmony_ci#endif
25438c2ecf20Sopenharmony_ci	} s;
25448c2ecf20Sopenharmony_ci};
25458c2ecf20Sopenharmony_ci
25468c2ecf20Sopenharmony_ciunion cvmx_pip_todo_entry {
25478c2ecf20Sopenharmony_ci	uint64_t u64;
25488c2ecf20Sopenharmony_ci	struct cvmx_pip_todo_entry_s {
25498c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
25508c2ecf20Sopenharmony_ci		uint64_t val:1;
25518c2ecf20Sopenharmony_ci		uint64_t reserved_62_62:1;
25528c2ecf20Sopenharmony_ci		uint64_t entry:62;
25538c2ecf20Sopenharmony_ci#else
25548c2ecf20Sopenharmony_ci		uint64_t entry:62;
25558c2ecf20Sopenharmony_ci		uint64_t reserved_62_62:1;
25568c2ecf20Sopenharmony_ci		uint64_t val:1;
25578c2ecf20Sopenharmony_ci#endif
25588c2ecf20Sopenharmony_ci	} s;
25598c2ecf20Sopenharmony_ci};
25608c2ecf20Sopenharmony_ci
25618c2ecf20Sopenharmony_ciunion cvmx_pip_vlan_etypesx {
25628c2ecf20Sopenharmony_ci	uint64_t u64;
25638c2ecf20Sopenharmony_ci	struct cvmx_pip_vlan_etypesx_s {
25648c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
25658c2ecf20Sopenharmony_ci		uint64_t type3:16;
25668c2ecf20Sopenharmony_ci		uint64_t type2:16;
25678c2ecf20Sopenharmony_ci		uint64_t type1:16;
25688c2ecf20Sopenharmony_ci		uint64_t type0:16;
25698c2ecf20Sopenharmony_ci#else
25708c2ecf20Sopenharmony_ci		uint64_t type0:16;
25718c2ecf20Sopenharmony_ci		uint64_t type1:16;
25728c2ecf20Sopenharmony_ci		uint64_t type2:16;
25738c2ecf20Sopenharmony_ci		uint64_t type3:16;
25748c2ecf20Sopenharmony_ci#endif
25758c2ecf20Sopenharmony_ci	} s;
25768c2ecf20Sopenharmony_ci};
25778c2ecf20Sopenharmony_ci
25788c2ecf20Sopenharmony_ciunion cvmx_pip_xstat0_prtx {
25798c2ecf20Sopenharmony_ci	uint64_t u64;
25808c2ecf20Sopenharmony_ci	struct cvmx_pip_xstat0_prtx_s {
25818c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
25828c2ecf20Sopenharmony_ci		uint64_t drp_pkts:32;
25838c2ecf20Sopenharmony_ci		uint64_t drp_octs:32;
25848c2ecf20Sopenharmony_ci#else
25858c2ecf20Sopenharmony_ci		uint64_t drp_octs:32;
25868c2ecf20Sopenharmony_ci		uint64_t drp_pkts:32;
25878c2ecf20Sopenharmony_ci#endif
25888c2ecf20Sopenharmony_ci	} s;
25898c2ecf20Sopenharmony_ci};
25908c2ecf20Sopenharmony_ci
25918c2ecf20Sopenharmony_ciunion cvmx_pip_xstat10_prtx {
25928c2ecf20Sopenharmony_ci	uint64_t u64;
25938c2ecf20Sopenharmony_ci	struct cvmx_pip_xstat10_prtx_s {
25948c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
25958c2ecf20Sopenharmony_ci		uint64_t bcast:32;
25968c2ecf20Sopenharmony_ci		uint64_t mcast:32;
25978c2ecf20Sopenharmony_ci#else
25988c2ecf20Sopenharmony_ci		uint64_t mcast:32;
25998c2ecf20Sopenharmony_ci		uint64_t bcast:32;
26008c2ecf20Sopenharmony_ci#endif
26018c2ecf20Sopenharmony_ci	} s;
26028c2ecf20Sopenharmony_ci};
26038c2ecf20Sopenharmony_ci
26048c2ecf20Sopenharmony_ciunion cvmx_pip_xstat11_prtx {
26058c2ecf20Sopenharmony_ci	uint64_t u64;
26068c2ecf20Sopenharmony_ci	struct cvmx_pip_xstat11_prtx_s {
26078c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
26088c2ecf20Sopenharmony_ci		uint64_t bcast:32;
26098c2ecf20Sopenharmony_ci		uint64_t mcast:32;
26108c2ecf20Sopenharmony_ci#else
26118c2ecf20Sopenharmony_ci		uint64_t mcast:32;
26128c2ecf20Sopenharmony_ci		uint64_t bcast:32;
26138c2ecf20Sopenharmony_ci#endif
26148c2ecf20Sopenharmony_ci	} s;
26158c2ecf20Sopenharmony_ci};
26168c2ecf20Sopenharmony_ci
26178c2ecf20Sopenharmony_ciunion cvmx_pip_xstat1_prtx {
26188c2ecf20Sopenharmony_ci	uint64_t u64;
26198c2ecf20Sopenharmony_ci	struct cvmx_pip_xstat1_prtx_s {
26208c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
26218c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
26228c2ecf20Sopenharmony_ci		uint64_t octs:48;
26238c2ecf20Sopenharmony_ci#else
26248c2ecf20Sopenharmony_ci		uint64_t octs:48;
26258c2ecf20Sopenharmony_ci		uint64_t reserved_48_63:16;
26268c2ecf20Sopenharmony_ci#endif
26278c2ecf20Sopenharmony_ci	} s;
26288c2ecf20Sopenharmony_ci};
26298c2ecf20Sopenharmony_ci
26308c2ecf20Sopenharmony_ciunion cvmx_pip_xstat2_prtx {
26318c2ecf20Sopenharmony_ci	uint64_t u64;
26328c2ecf20Sopenharmony_ci	struct cvmx_pip_xstat2_prtx_s {
26338c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
26348c2ecf20Sopenharmony_ci		uint64_t pkts:32;
26358c2ecf20Sopenharmony_ci		uint64_t raw:32;
26368c2ecf20Sopenharmony_ci#else
26378c2ecf20Sopenharmony_ci		uint64_t raw:32;
26388c2ecf20Sopenharmony_ci		uint64_t pkts:32;
26398c2ecf20Sopenharmony_ci#endif
26408c2ecf20Sopenharmony_ci	} s;
26418c2ecf20Sopenharmony_ci};
26428c2ecf20Sopenharmony_ci
26438c2ecf20Sopenharmony_ciunion cvmx_pip_xstat3_prtx {
26448c2ecf20Sopenharmony_ci	uint64_t u64;
26458c2ecf20Sopenharmony_ci	struct cvmx_pip_xstat3_prtx_s {
26468c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
26478c2ecf20Sopenharmony_ci		uint64_t bcst:32;
26488c2ecf20Sopenharmony_ci		uint64_t mcst:32;
26498c2ecf20Sopenharmony_ci#else
26508c2ecf20Sopenharmony_ci		uint64_t mcst:32;
26518c2ecf20Sopenharmony_ci		uint64_t bcst:32;
26528c2ecf20Sopenharmony_ci#endif
26538c2ecf20Sopenharmony_ci	} s;
26548c2ecf20Sopenharmony_ci};
26558c2ecf20Sopenharmony_ci
26568c2ecf20Sopenharmony_ciunion cvmx_pip_xstat4_prtx {
26578c2ecf20Sopenharmony_ci	uint64_t u64;
26588c2ecf20Sopenharmony_ci	struct cvmx_pip_xstat4_prtx_s {
26598c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
26608c2ecf20Sopenharmony_ci		uint64_t h65to127:32;
26618c2ecf20Sopenharmony_ci		uint64_t h64:32;
26628c2ecf20Sopenharmony_ci#else
26638c2ecf20Sopenharmony_ci		uint64_t h64:32;
26648c2ecf20Sopenharmony_ci		uint64_t h65to127:32;
26658c2ecf20Sopenharmony_ci#endif
26668c2ecf20Sopenharmony_ci	} s;
26678c2ecf20Sopenharmony_ci};
26688c2ecf20Sopenharmony_ci
26698c2ecf20Sopenharmony_ciunion cvmx_pip_xstat5_prtx {
26708c2ecf20Sopenharmony_ci	uint64_t u64;
26718c2ecf20Sopenharmony_ci	struct cvmx_pip_xstat5_prtx_s {
26728c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
26738c2ecf20Sopenharmony_ci		uint64_t h256to511:32;
26748c2ecf20Sopenharmony_ci		uint64_t h128to255:32;
26758c2ecf20Sopenharmony_ci#else
26768c2ecf20Sopenharmony_ci		uint64_t h128to255:32;
26778c2ecf20Sopenharmony_ci		uint64_t h256to511:32;
26788c2ecf20Sopenharmony_ci#endif
26798c2ecf20Sopenharmony_ci	} s;
26808c2ecf20Sopenharmony_ci};
26818c2ecf20Sopenharmony_ci
26828c2ecf20Sopenharmony_ciunion cvmx_pip_xstat6_prtx {
26838c2ecf20Sopenharmony_ci	uint64_t u64;
26848c2ecf20Sopenharmony_ci	struct cvmx_pip_xstat6_prtx_s {
26858c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
26868c2ecf20Sopenharmony_ci		uint64_t h1024to1518:32;
26878c2ecf20Sopenharmony_ci		uint64_t h512to1023:32;
26888c2ecf20Sopenharmony_ci#else
26898c2ecf20Sopenharmony_ci		uint64_t h512to1023:32;
26908c2ecf20Sopenharmony_ci		uint64_t h1024to1518:32;
26918c2ecf20Sopenharmony_ci#endif
26928c2ecf20Sopenharmony_ci	} s;
26938c2ecf20Sopenharmony_ci};
26948c2ecf20Sopenharmony_ci
26958c2ecf20Sopenharmony_ciunion cvmx_pip_xstat7_prtx {
26968c2ecf20Sopenharmony_ci	uint64_t u64;
26978c2ecf20Sopenharmony_ci	struct cvmx_pip_xstat7_prtx_s {
26988c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
26998c2ecf20Sopenharmony_ci		uint64_t fcs:32;
27008c2ecf20Sopenharmony_ci		uint64_t h1519:32;
27018c2ecf20Sopenharmony_ci#else
27028c2ecf20Sopenharmony_ci		uint64_t h1519:32;
27038c2ecf20Sopenharmony_ci		uint64_t fcs:32;
27048c2ecf20Sopenharmony_ci#endif
27058c2ecf20Sopenharmony_ci	} s;
27068c2ecf20Sopenharmony_ci};
27078c2ecf20Sopenharmony_ci
27088c2ecf20Sopenharmony_ciunion cvmx_pip_xstat8_prtx {
27098c2ecf20Sopenharmony_ci	uint64_t u64;
27108c2ecf20Sopenharmony_ci	struct cvmx_pip_xstat8_prtx_s {
27118c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
27128c2ecf20Sopenharmony_ci		uint64_t frag:32;
27138c2ecf20Sopenharmony_ci		uint64_t undersz:32;
27148c2ecf20Sopenharmony_ci#else
27158c2ecf20Sopenharmony_ci		uint64_t undersz:32;
27168c2ecf20Sopenharmony_ci		uint64_t frag:32;
27178c2ecf20Sopenharmony_ci#endif
27188c2ecf20Sopenharmony_ci	} s;
27198c2ecf20Sopenharmony_ci};
27208c2ecf20Sopenharmony_ci
27218c2ecf20Sopenharmony_ciunion cvmx_pip_xstat9_prtx {
27228c2ecf20Sopenharmony_ci	uint64_t u64;
27238c2ecf20Sopenharmony_ci	struct cvmx_pip_xstat9_prtx_s {
27248c2ecf20Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD
27258c2ecf20Sopenharmony_ci		uint64_t jabber:32;
27268c2ecf20Sopenharmony_ci		uint64_t oversz:32;
27278c2ecf20Sopenharmony_ci#else
27288c2ecf20Sopenharmony_ci		uint64_t oversz:32;
27298c2ecf20Sopenharmony_ci		uint64_t jabber:32;
27308c2ecf20Sopenharmony_ci#endif
27318c2ecf20Sopenharmony_ci	} s;
27328c2ecf20Sopenharmony_ci};
27338c2ecf20Sopenharmony_ci
27348c2ecf20Sopenharmony_ci#endif
2735