162306a36Sopenharmony_ci/***********************license start*************** 262306a36Sopenharmony_ci * Author: Cavium Networks 362306a36Sopenharmony_ci * 462306a36Sopenharmony_ci * Contact: support@caviumnetworks.com 562306a36Sopenharmony_ci * This file is part of the OCTEON SDK 662306a36Sopenharmony_ci * 762306a36Sopenharmony_ci * Copyright (c) 2003-2012 Cavium Networks 862306a36Sopenharmony_ci * 962306a36Sopenharmony_ci * This file is free software; you can redistribute it and/or modify 1062306a36Sopenharmony_ci * it under the terms of the GNU General Public License, Version 2, as 1162306a36Sopenharmony_ci * published by the Free Software Foundation. 1262306a36Sopenharmony_ci * 1362306a36Sopenharmony_ci * This file is distributed in the hope that it will be useful, but 1462306a36Sopenharmony_ci * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 1562306a36Sopenharmony_ci * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or 1662306a36Sopenharmony_ci * NONINFRINGEMENT. See the GNU General Public License for more 1762306a36Sopenharmony_ci * details. 1862306a36Sopenharmony_ci * 1962306a36Sopenharmony_ci * You should have received a copy of the GNU General Public License 2062306a36Sopenharmony_ci * along with this file; if not, write to the Free Software 2162306a36Sopenharmony_ci * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 2262306a36Sopenharmony_ci * or visit http://www.gnu.org/licenses/. 2362306a36Sopenharmony_ci * 2462306a36Sopenharmony_ci * This file may also be available under a different license from Cavium. 2562306a36Sopenharmony_ci * Contact Cavium Networks for more information 2662306a36Sopenharmony_ci ***********************license end**************************************/ 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci#ifndef __CVMX_PIP_DEFS_H__ 2962306a36Sopenharmony_ci#define __CVMX_PIP_DEFS_H__ 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci/* 3262306a36Sopenharmony_ci * Enumeration representing the amount of packet processing 3362306a36Sopenharmony_ci * and validation performed by the input hardware. 3462306a36Sopenharmony_ci */ 3562306a36Sopenharmony_cienum cvmx_pip_port_parse_mode { 3662306a36Sopenharmony_ci /* 3762306a36Sopenharmony_ci * Packet input doesn't perform any processing of the input 3862306a36Sopenharmony_ci * packet. 3962306a36Sopenharmony_ci */ 4062306a36Sopenharmony_ci CVMX_PIP_PORT_CFG_MODE_NONE = 0ull, 4162306a36Sopenharmony_ci /* 4262306a36Sopenharmony_ci * Full packet processing is performed with pointer starting 4362306a36Sopenharmony_ci * at the L2 (ethernet MAC) header. 4462306a36Sopenharmony_ci */ 4562306a36Sopenharmony_ci CVMX_PIP_PORT_CFG_MODE_SKIPL2 = 1ull, 4662306a36Sopenharmony_ci /* 4762306a36Sopenharmony_ci * Input packets are assumed to be IP. Results from non IP 4862306a36Sopenharmony_ci * packets is undefined. Pointers reference the beginning of 4962306a36Sopenharmony_ci * the IP header. 5062306a36Sopenharmony_ci */ 5162306a36Sopenharmony_ci CVMX_PIP_PORT_CFG_MODE_SKIPIP = 2ull 5262306a36Sopenharmony_ci}; 5362306a36Sopenharmony_ci 5462306a36Sopenharmony_ci#define CVMX_PIP_ALT_SKIP_CFGX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002A00ull) + ((offset) & 3) * 8) 5562306a36Sopenharmony_ci#define CVMX_PIP_BCK_PRS (CVMX_ADD_IO_SEG(0x00011800A0000038ull)) 5662306a36Sopenharmony_ci#define CVMX_PIP_BIST_STATUS (CVMX_ADD_IO_SEG(0x00011800A0000000ull)) 5762306a36Sopenharmony_ci#define CVMX_PIP_BSEL_EXT_CFGX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002800ull) + ((offset) & 3) * 16) 5862306a36Sopenharmony_ci#define CVMX_PIP_BSEL_EXT_POSX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002808ull) + ((offset) & 3) * 16) 5962306a36Sopenharmony_ci#define CVMX_PIP_BSEL_TBL_ENTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0003000ull) + ((offset) & 511) * 8) 6062306a36Sopenharmony_ci#define CVMX_PIP_CLKEN (CVMX_ADD_IO_SEG(0x00011800A0000040ull)) 6162306a36Sopenharmony_ci#define CVMX_PIP_CRC_CTLX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000040ull) + ((offset) & 1) * 8) 6262306a36Sopenharmony_ci#define CVMX_PIP_CRC_IVX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000050ull) + ((offset) & 1) * 8) 6362306a36Sopenharmony_ci#define CVMX_PIP_DEC_IPSECX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000080ull) + ((offset) & 3) * 8) 6462306a36Sopenharmony_ci#define CVMX_PIP_DSA_SRC_GRP (CVMX_ADD_IO_SEG(0x00011800A0000190ull)) 6562306a36Sopenharmony_ci#define CVMX_PIP_DSA_VID_GRP (CVMX_ADD_IO_SEG(0x00011800A0000198ull)) 6662306a36Sopenharmony_ci#define CVMX_PIP_FRM_LEN_CHKX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000180ull) + ((offset) & 1) * 8) 6762306a36Sopenharmony_ci#define CVMX_PIP_GBL_CFG (CVMX_ADD_IO_SEG(0x00011800A0000028ull)) 6862306a36Sopenharmony_ci#define CVMX_PIP_GBL_CTL (CVMX_ADD_IO_SEG(0x00011800A0000020ull)) 6962306a36Sopenharmony_ci#define CVMX_PIP_HG_PRI_QOS (CVMX_ADD_IO_SEG(0x00011800A00001A0ull)) 7062306a36Sopenharmony_ci#define CVMX_PIP_INT_EN (CVMX_ADD_IO_SEG(0x00011800A0000010ull)) 7162306a36Sopenharmony_ci#define CVMX_PIP_INT_REG (CVMX_ADD_IO_SEG(0x00011800A0000008ull)) 7262306a36Sopenharmony_ci#define CVMX_PIP_IP_OFFSET (CVMX_ADD_IO_SEG(0x00011800A0000060ull)) 7362306a36Sopenharmony_ci#define CVMX_PIP_PRI_TBLX(offset) (CVMX_ADD_IO_SEG(0x00011800A0004000ull) + ((offset) & 255) * 8) 7462306a36Sopenharmony_ci#define CVMX_PIP_PRT_CFGBX(offset) (CVMX_ADD_IO_SEG(0x00011800A0008000ull) + ((offset) & 63) * 8) 7562306a36Sopenharmony_ci#define CVMX_PIP_PRT_CFGX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000200ull) + ((offset) & 63) * 8) 7662306a36Sopenharmony_ci#define CVMX_PIP_PRT_TAGX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000400ull) + ((offset) & 63) * 8) 7762306a36Sopenharmony_ci#define CVMX_PIP_QOS_DIFFX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000600ull) + ((offset) & 63) * 8) 7862306a36Sopenharmony_ci#define CVMX_PIP_QOS_VLANX(offset) (CVMX_ADD_IO_SEG(0x00011800A00000C0ull) + ((offset) & 7) * 8) 7962306a36Sopenharmony_ci#define CVMX_PIP_QOS_WATCHX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000100ull) + ((offset) & 7) * 8) 8062306a36Sopenharmony_ci#define CVMX_PIP_RAW_WORD (CVMX_ADD_IO_SEG(0x00011800A00000B0ull)) 8162306a36Sopenharmony_ci#define CVMX_PIP_SFT_RST (CVMX_ADD_IO_SEG(0x00011800A0000030ull)) 8262306a36Sopenharmony_ci#define CVMX_PIP_STAT0_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000800ull) + ((offset) & 63) * 80) 8362306a36Sopenharmony_ci#define CVMX_PIP_STAT0_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040000ull) + ((offset) & 63) * 128) 8462306a36Sopenharmony_ci#define CVMX_PIP_STAT10_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001480ull) + ((offset) & 63) * 16) 8562306a36Sopenharmony_ci#define CVMX_PIP_STAT10_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040050ull) + ((offset) & 63) * 128) 8662306a36Sopenharmony_ci#define CVMX_PIP_STAT11_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001488ull) + ((offset) & 63) * 16) 8762306a36Sopenharmony_ci#define CVMX_PIP_STAT11_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040058ull) + ((offset) & 63) * 128) 8862306a36Sopenharmony_ci#define CVMX_PIP_STAT1_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000808ull) + ((offset) & 63) * 80) 8962306a36Sopenharmony_ci#define CVMX_PIP_STAT1_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040008ull) + ((offset) & 63) * 128) 9062306a36Sopenharmony_ci#define CVMX_PIP_STAT2_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000810ull) + ((offset) & 63) * 80) 9162306a36Sopenharmony_ci#define CVMX_PIP_STAT2_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040010ull) + ((offset) & 63) * 128) 9262306a36Sopenharmony_ci#define CVMX_PIP_STAT3_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000818ull) + ((offset) & 63) * 80) 9362306a36Sopenharmony_ci#define CVMX_PIP_STAT3_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040018ull) + ((offset) & 63) * 128) 9462306a36Sopenharmony_ci#define CVMX_PIP_STAT4_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000820ull) + ((offset) & 63) * 80) 9562306a36Sopenharmony_ci#define CVMX_PIP_STAT4_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040020ull) + ((offset) & 63) * 128) 9662306a36Sopenharmony_ci#define CVMX_PIP_STAT5_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000828ull) + ((offset) & 63) * 80) 9762306a36Sopenharmony_ci#define CVMX_PIP_STAT5_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040028ull) + ((offset) & 63) * 128) 9862306a36Sopenharmony_ci#define CVMX_PIP_STAT6_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000830ull) + ((offset) & 63) * 80) 9962306a36Sopenharmony_ci#define CVMX_PIP_STAT6_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040030ull) + ((offset) & 63) * 128) 10062306a36Sopenharmony_ci#define CVMX_PIP_STAT7_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000838ull) + ((offset) & 63) * 80) 10162306a36Sopenharmony_ci#define CVMX_PIP_STAT7_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040038ull) + ((offset) & 63) * 128) 10262306a36Sopenharmony_ci#define CVMX_PIP_STAT8_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000840ull) + ((offset) & 63) * 80) 10362306a36Sopenharmony_ci#define CVMX_PIP_STAT8_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040040ull) + ((offset) & 63) * 128) 10462306a36Sopenharmony_ci#define CVMX_PIP_STAT9_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0000848ull) + ((offset) & 63) * 80) 10562306a36Sopenharmony_ci#define CVMX_PIP_STAT9_X(offset) (CVMX_ADD_IO_SEG(0x00011800A0040048ull) + ((offset) & 63) * 128) 10662306a36Sopenharmony_ci#define CVMX_PIP_STAT_CTL (CVMX_ADD_IO_SEG(0x00011800A0000018ull)) 10762306a36Sopenharmony_ci#define CVMX_PIP_STAT_INB_ERRSX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001A10ull) + ((offset) & 63) * 32) 10862306a36Sopenharmony_ci#define CVMX_PIP_STAT_INB_ERRS_PKNDX(offset) (CVMX_ADD_IO_SEG(0x00011800A0020010ull) + ((offset) & 63) * 32) 10962306a36Sopenharmony_ci#define CVMX_PIP_STAT_INB_OCTSX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001A08ull) + ((offset) & 63) * 32) 11062306a36Sopenharmony_ci#define CVMX_PIP_STAT_INB_OCTS_PKNDX(offset) (CVMX_ADD_IO_SEG(0x00011800A0020008ull) + ((offset) & 63) * 32) 11162306a36Sopenharmony_ci#define CVMX_PIP_STAT_INB_PKTSX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001A00ull) + ((offset) & 63) * 32) 11262306a36Sopenharmony_ci#define CVMX_PIP_STAT_INB_PKTS_PKNDX(offset) (CVMX_ADD_IO_SEG(0x00011800A0020000ull) + ((offset) & 63) * 32) 11362306a36Sopenharmony_ci#define CVMX_PIP_SUB_PKIND_FCSX(block_id) (CVMX_ADD_IO_SEG(0x00011800A0080000ull)) 11462306a36Sopenharmony_ci#define CVMX_PIP_TAG_INCX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001800ull) + ((offset) & 63) * 8) 11562306a36Sopenharmony_ci#define CVMX_PIP_TAG_MASK (CVMX_ADD_IO_SEG(0x00011800A0000070ull)) 11662306a36Sopenharmony_ci#define CVMX_PIP_TAG_SECRET (CVMX_ADD_IO_SEG(0x00011800A0000068ull)) 11762306a36Sopenharmony_ci#define CVMX_PIP_TODO_ENTRY (CVMX_ADD_IO_SEG(0x00011800A0000078ull)) 11862306a36Sopenharmony_ci#define CVMX_PIP_VLAN_ETYPESX(offset) (CVMX_ADD_IO_SEG(0x00011800A00001C0ull) + ((offset) & 1) * 8) 11962306a36Sopenharmony_ci#define CVMX_PIP_XSTAT0_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002000ull) + ((offset) & 63) * 80 - 80*40) 12062306a36Sopenharmony_ci#define CVMX_PIP_XSTAT10_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001700ull) + ((offset) & 63) * 16 - 16*40) 12162306a36Sopenharmony_ci#define CVMX_PIP_XSTAT11_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0001708ull) + ((offset) & 63) * 16 - 16*40) 12262306a36Sopenharmony_ci#define CVMX_PIP_XSTAT1_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002008ull) + ((offset) & 63) * 80 - 80*40) 12362306a36Sopenharmony_ci#define CVMX_PIP_XSTAT2_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002010ull) + ((offset) & 63) * 80 - 80*40) 12462306a36Sopenharmony_ci#define CVMX_PIP_XSTAT3_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002018ull) + ((offset) & 63) * 80 - 80*40) 12562306a36Sopenharmony_ci#define CVMX_PIP_XSTAT4_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002020ull) + ((offset) & 63) * 80 - 80*40) 12662306a36Sopenharmony_ci#define CVMX_PIP_XSTAT5_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002028ull) + ((offset) & 63) * 80 - 80*40) 12762306a36Sopenharmony_ci#define CVMX_PIP_XSTAT6_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002030ull) + ((offset) & 63) * 80 - 80*40) 12862306a36Sopenharmony_ci#define CVMX_PIP_XSTAT7_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002038ull) + ((offset) & 63) * 80 - 80*40) 12962306a36Sopenharmony_ci#define CVMX_PIP_XSTAT8_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002040ull) + ((offset) & 63) * 80 - 80*40) 13062306a36Sopenharmony_ci#define CVMX_PIP_XSTAT9_PRTX(offset) (CVMX_ADD_IO_SEG(0x00011800A0002048ull) + ((offset) & 63) * 80 - 80*40) 13162306a36Sopenharmony_ci 13262306a36Sopenharmony_ciunion cvmx_pip_alt_skip_cfgx { 13362306a36Sopenharmony_ci uint64_t u64; 13462306a36Sopenharmony_ci struct cvmx_pip_alt_skip_cfgx_s { 13562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 13662306a36Sopenharmony_ci uint64_t reserved_57_63:7; 13762306a36Sopenharmony_ci uint64_t len:1; 13862306a36Sopenharmony_ci uint64_t reserved_46_55:10; 13962306a36Sopenharmony_ci uint64_t bit1:6; 14062306a36Sopenharmony_ci uint64_t reserved_38_39:2; 14162306a36Sopenharmony_ci uint64_t bit0:6; 14262306a36Sopenharmony_ci uint64_t reserved_23_31:9; 14362306a36Sopenharmony_ci uint64_t skip3:7; 14462306a36Sopenharmony_ci uint64_t reserved_15_15:1; 14562306a36Sopenharmony_ci uint64_t skip2:7; 14662306a36Sopenharmony_ci uint64_t reserved_7_7:1; 14762306a36Sopenharmony_ci uint64_t skip1:7; 14862306a36Sopenharmony_ci#else 14962306a36Sopenharmony_ci uint64_t skip1:7; 15062306a36Sopenharmony_ci uint64_t reserved_7_7:1; 15162306a36Sopenharmony_ci uint64_t skip2:7; 15262306a36Sopenharmony_ci uint64_t reserved_15_15:1; 15362306a36Sopenharmony_ci uint64_t skip3:7; 15462306a36Sopenharmony_ci uint64_t reserved_23_31:9; 15562306a36Sopenharmony_ci uint64_t bit0:6; 15662306a36Sopenharmony_ci uint64_t reserved_38_39:2; 15762306a36Sopenharmony_ci uint64_t bit1:6; 15862306a36Sopenharmony_ci uint64_t reserved_46_55:10; 15962306a36Sopenharmony_ci uint64_t len:1; 16062306a36Sopenharmony_ci uint64_t reserved_57_63:7; 16162306a36Sopenharmony_ci#endif 16262306a36Sopenharmony_ci } s; 16362306a36Sopenharmony_ci}; 16462306a36Sopenharmony_ci 16562306a36Sopenharmony_ciunion cvmx_pip_bck_prs { 16662306a36Sopenharmony_ci uint64_t u64; 16762306a36Sopenharmony_ci struct cvmx_pip_bck_prs_s { 16862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 16962306a36Sopenharmony_ci uint64_t bckprs:1; 17062306a36Sopenharmony_ci uint64_t reserved_13_62:50; 17162306a36Sopenharmony_ci uint64_t hiwater:5; 17262306a36Sopenharmony_ci uint64_t reserved_5_7:3; 17362306a36Sopenharmony_ci uint64_t lowater:5; 17462306a36Sopenharmony_ci#else 17562306a36Sopenharmony_ci uint64_t lowater:5; 17662306a36Sopenharmony_ci uint64_t reserved_5_7:3; 17762306a36Sopenharmony_ci uint64_t hiwater:5; 17862306a36Sopenharmony_ci uint64_t reserved_13_62:50; 17962306a36Sopenharmony_ci uint64_t bckprs:1; 18062306a36Sopenharmony_ci#endif 18162306a36Sopenharmony_ci } s; 18262306a36Sopenharmony_ci}; 18362306a36Sopenharmony_ci 18462306a36Sopenharmony_ciunion cvmx_pip_bist_status { 18562306a36Sopenharmony_ci uint64_t u64; 18662306a36Sopenharmony_ci struct cvmx_pip_bist_status_s { 18762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 18862306a36Sopenharmony_ci uint64_t reserved_22_63:42; 18962306a36Sopenharmony_ci uint64_t bist:22; 19062306a36Sopenharmony_ci#else 19162306a36Sopenharmony_ci uint64_t bist:22; 19262306a36Sopenharmony_ci uint64_t reserved_22_63:42; 19362306a36Sopenharmony_ci#endif 19462306a36Sopenharmony_ci } s; 19562306a36Sopenharmony_ci struct cvmx_pip_bist_status_cn30xx { 19662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 19762306a36Sopenharmony_ci uint64_t reserved_18_63:46; 19862306a36Sopenharmony_ci uint64_t bist:18; 19962306a36Sopenharmony_ci#else 20062306a36Sopenharmony_ci uint64_t bist:18; 20162306a36Sopenharmony_ci uint64_t reserved_18_63:46; 20262306a36Sopenharmony_ci#endif 20362306a36Sopenharmony_ci } cn30xx; 20462306a36Sopenharmony_ci struct cvmx_pip_bist_status_cn50xx { 20562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 20662306a36Sopenharmony_ci uint64_t reserved_17_63:47; 20762306a36Sopenharmony_ci uint64_t bist:17; 20862306a36Sopenharmony_ci#else 20962306a36Sopenharmony_ci uint64_t bist:17; 21062306a36Sopenharmony_ci uint64_t reserved_17_63:47; 21162306a36Sopenharmony_ci#endif 21262306a36Sopenharmony_ci } cn50xx; 21362306a36Sopenharmony_ci struct cvmx_pip_bist_status_cn61xx { 21462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 21562306a36Sopenharmony_ci uint64_t reserved_20_63:44; 21662306a36Sopenharmony_ci uint64_t bist:20; 21762306a36Sopenharmony_ci#else 21862306a36Sopenharmony_ci uint64_t bist:20; 21962306a36Sopenharmony_ci uint64_t reserved_20_63:44; 22062306a36Sopenharmony_ci#endif 22162306a36Sopenharmony_ci } cn61xx; 22262306a36Sopenharmony_ci}; 22362306a36Sopenharmony_ci 22462306a36Sopenharmony_ciunion cvmx_pip_bsel_ext_cfgx { 22562306a36Sopenharmony_ci uint64_t u64; 22662306a36Sopenharmony_ci struct cvmx_pip_bsel_ext_cfgx_s { 22762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 22862306a36Sopenharmony_ci uint64_t reserved_56_63:8; 22962306a36Sopenharmony_ci uint64_t upper_tag:16; 23062306a36Sopenharmony_ci uint64_t tag:8; 23162306a36Sopenharmony_ci uint64_t reserved_25_31:7; 23262306a36Sopenharmony_ci uint64_t offset:9; 23362306a36Sopenharmony_ci uint64_t reserved_7_15:9; 23462306a36Sopenharmony_ci uint64_t skip:7; 23562306a36Sopenharmony_ci#else 23662306a36Sopenharmony_ci uint64_t skip:7; 23762306a36Sopenharmony_ci uint64_t reserved_7_15:9; 23862306a36Sopenharmony_ci uint64_t offset:9; 23962306a36Sopenharmony_ci uint64_t reserved_25_31:7; 24062306a36Sopenharmony_ci uint64_t tag:8; 24162306a36Sopenharmony_ci uint64_t upper_tag:16; 24262306a36Sopenharmony_ci uint64_t reserved_56_63:8; 24362306a36Sopenharmony_ci#endif 24462306a36Sopenharmony_ci } s; 24562306a36Sopenharmony_ci}; 24662306a36Sopenharmony_ci 24762306a36Sopenharmony_ciunion cvmx_pip_bsel_ext_posx { 24862306a36Sopenharmony_ci uint64_t u64; 24962306a36Sopenharmony_ci struct cvmx_pip_bsel_ext_posx_s { 25062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 25162306a36Sopenharmony_ci uint64_t pos7_val:1; 25262306a36Sopenharmony_ci uint64_t pos7:7; 25362306a36Sopenharmony_ci uint64_t pos6_val:1; 25462306a36Sopenharmony_ci uint64_t pos6:7; 25562306a36Sopenharmony_ci uint64_t pos5_val:1; 25662306a36Sopenharmony_ci uint64_t pos5:7; 25762306a36Sopenharmony_ci uint64_t pos4_val:1; 25862306a36Sopenharmony_ci uint64_t pos4:7; 25962306a36Sopenharmony_ci uint64_t pos3_val:1; 26062306a36Sopenharmony_ci uint64_t pos3:7; 26162306a36Sopenharmony_ci uint64_t pos2_val:1; 26262306a36Sopenharmony_ci uint64_t pos2:7; 26362306a36Sopenharmony_ci uint64_t pos1_val:1; 26462306a36Sopenharmony_ci uint64_t pos1:7; 26562306a36Sopenharmony_ci uint64_t pos0_val:1; 26662306a36Sopenharmony_ci uint64_t pos0:7; 26762306a36Sopenharmony_ci#else 26862306a36Sopenharmony_ci uint64_t pos0:7; 26962306a36Sopenharmony_ci uint64_t pos0_val:1; 27062306a36Sopenharmony_ci uint64_t pos1:7; 27162306a36Sopenharmony_ci uint64_t pos1_val:1; 27262306a36Sopenharmony_ci uint64_t pos2:7; 27362306a36Sopenharmony_ci uint64_t pos2_val:1; 27462306a36Sopenharmony_ci uint64_t pos3:7; 27562306a36Sopenharmony_ci uint64_t pos3_val:1; 27662306a36Sopenharmony_ci uint64_t pos4:7; 27762306a36Sopenharmony_ci uint64_t pos4_val:1; 27862306a36Sopenharmony_ci uint64_t pos5:7; 27962306a36Sopenharmony_ci uint64_t pos5_val:1; 28062306a36Sopenharmony_ci uint64_t pos6:7; 28162306a36Sopenharmony_ci uint64_t pos6_val:1; 28262306a36Sopenharmony_ci uint64_t pos7:7; 28362306a36Sopenharmony_ci uint64_t pos7_val:1; 28462306a36Sopenharmony_ci#endif 28562306a36Sopenharmony_ci } s; 28662306a36Sopenharmony_ci}; 28762306a36Sopenharmony_ci 28862306a36Sopenharmony_ciunion cvmx_pip_bsel_tbl_entx { 28962306a36Sopenharmony_ci uint64_t u64; 29062306a36Sopenharmony_ci struct cvmx_pip_bsel_tbl_entx_s { 29162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 29262306a36Sopenharmony_ci uint64_t tag_en:1; 29362306a36Sopenharmony_ci uint64_t grp_en:1; 29462306a36Sopenharmony_ci uint64_t tt_en:1; 29562306a36Sopenharmony_ci uint64_t qos_en:1; 29662306a36Sopenharmony_ci uint64_t reserved_40_59:20; 29762306a36Sopenharmony_ci uint64_t tag:8; 29862306a36Sopenharmony_ci uint64_t reserved_22_31:10; 29962306a36Sopenharmony_ci uint64_t grp:6; 30062306a36Sopenharmony_ci uint64_t reserved_10_15:6; 30162306a36Sopenharmony_ci uint64_t tt:2; 30262306a36Sopenharmony_ci uint64_t reserved_3_7:5; 30362306a36Sopenharmony_ci uint64_t qos:3; 30462306a36Sopenharmony_ci#else 30562306a36Sopenharmony_ci uint64_t qos:3; 30662306a36Sopenharmony_ci uint64_t reserved_3_7:5; 30762306a36Sopenharmony_ci uint64_t tt:2; 30862306a36Sopenharmony_ci uint64_t reserved_10_15:6; 30962306a36Sopenharmony_ci uint64_t grp:6; 31062306a36Sopenharmony_ci uint64_t reserved_22_31:10; 31162306a36Sopenharmony_ci uint64_t tag:8; 31262306a36Sopenharmony_ci uint64_t reserved_40_59:20; 31362306a36Sopenharmony_ci uint64_t qos_en:1; 31462306a36Sopenharmony_ci uint64_t tt_en:1; 31562306a36Sopenharmony_ci uint64_t grp_en:1; 31662306a36Sopenharmony_ci uint64_t tag_en:1; 31762306a36Sopenharmony_ci#endif 31862306a36Sopenharmony_ci } s; 31962306a36Sopenharmony_ci struct cvmx_pip_bsel_tbl_entx_cn61xx { 32062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 32162306a36Sopenharmony_ci uint64_t tag_en:1; 32262306a36Sopenharmony_ci uint64_t grp_en:1; 32362306a36Sopenharmony_ci uint64_t tt_en:1; 32462306a36Sopenharmony_ci uint64_t qos_en:1; 32562306a36Sopenharmony_ci uint64_t reserved_40_59:20; 32662306a36Sopenharmony_ci uint64_t tag:8; 32762306a36Sopenharmony_ci uint64_t reserved_20_31:12; 32862306a36Sopenharmony_ci uint64_t grp:4; 32962306a36Sopenharmony_ci uint64_t reserved_10_15:6; 33062306a36Sopenharmony_ci uint64_t tt:2; 33162306a36Sopenharmony_ci uint64_t reserved_3_7:5; 33262306a36Sopenharmony_ci uint64_t qos:3; 33362306a36Sopenharmony_ci#else 33462306a36Sopenharmony_ci uint64_t qos:3; 33562306a36Sopenharmony_ci uint64_t reserved_3_7:5; 33662306a36Sopenharmony_ci uint64_t tt:2; 33762306a36Sopenharmony_ci uint64_t reserved_10_15:6; 33862306a36Sopenharmony_ci uint64_t grp:4; 33962306a36Sopenharmony_ci uint64_t reserved_20_31:12; 34062306a36Sopenharmony_ci uint64_t tag:8; 34162306a36Sopenharmony_ci uint64_t reserved_40_59:20; 34262306a36Sopenharmony_ci uint64_t qos_en:1; 34362306a36Sopenharmony_ci uint64_t tt_en:1; 34462306a36Sopenharmony_ci uint64_t grp_en:1; 34562306a36Sopenharmony_ci uint64_t tag_en:1; 34662306a36Sopenharmony_ci#endif 34762306a36Sopenharmony_ci } cn61xx; 34862306a36Sopenharmony_ci}; 34962306a36Sopenharmony_ci 35062306a36Sopenharmony_ciunion cvmx_pip_clken { 35162306a36Sopenharmony_ci uint64_t u64; 35262306a36Sopenharmony_ci struct cvmx_pip_clken_s { 35362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 35462306a36Sopenharmony_ci uint64_t reserved_1_63:63; 35562306a36Sopenharmony_ci uint64_t clken:1; 35662306a36Sopenharmony_ci#else 35762306a36Sopenharmony_ci uint64_t clken:1; 35862306a36Sopenharmony_ci uint64_t reserved_1_63:63; 35962306a36Sopenharmony_ci#endif 36062306a36Sopenharmony_ci } s; 36162306a36Sopenharmony_ci}; 36262306a36Sopenharmony_ci 36362306a36Sopenharmony_ciunion cvmx_pip_crc_ctlx { 36462306a36Sopenharmony_ci uint64_t u64; 36562306a36Sopenharmony_ci struct cvmx_pip_crc_ctlx_s { 36662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 36762306a36Sopenharmony_ci uint64_t reserved_2_63:62; 36862306a36Sopenharmony_ci uint64_t invres:1; 36962306a36Sopenharmony_ci uint64_t reflect:1; 37062306a36Sopenharmony_ci#else 37162306a36Sopenharmony_ci uint64_t reflect:1; 37262306a36Sopenharmony_ci uint64_t invres:1; 37362306a36Sopenharmony_ci uint64_t reserved_2_63:62; 37462306a36Sopenharmony_ci#endif 37562306a36Sopenharmony_ci } s; 37662306a36Sopenharmony_ci}; 37762306a36Sopenharmony_ci 37862306a36Sopenharmony_ciunion cvmx_pip_crc_ivx { 37962306a36Sopenharmony_ci uint64_t u64; 38062306a36Sopenharmony_ci struct cvmx_pip_crc_ivx_s { 38162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 38262306a36Sopenharmony_ci uint64_t reserved_32_63:32; 38362306a36Sopenharmony_ci uint64_t iv:32; 38462306a36Sopenharmony_ci#else 38562306a36Sopenharmony_ci uint64_t iv:32; 38662306a36Sopenharmony_ci uint64_t reserved_32_63:32; 38762306a36Sopenharmony_ci#endif 38862306a36Sopenharmony_ci } s; 38962306a36Sopenharmony_ci}; 39062306a36Sopenharmony_ci 39162306a36Sopenharmony_ciunion cvmx_pip_dec_ipsecx { 39262306a36Sopenharmony_ci uint64_t u64; 39362306a36Sopenharmony_ci struct cvmx_pip_dec_ipsecx_s { 39462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 39562306a36Sopenharmony_ci uint64_t reserved_18_63:46; 39662306a36Sopenharmony_ci uint64_t tcp:1; 39762306a36Sopenharmony_ci uint64_t udp:1; 39862306a36Sopenharmony_ci uint64_t dprt:16; 39962306a36Sopenharmony_ci#else 40062306a36Sopenharmony_ci uint64_t dprt:16; 40162306a36Sopenharmony_ci uint64_t udp:1; 40262306a36Sopenharmony_ci uint64_t tcp:1; 40362306a36Sopenharmony_ci uint64_t reserved_18_63:46; 40462306a36Sopenharmony_ci#endif 40562306a36Sopenharmony_ci } s; 40662306a36Sopenharmony_ci}; 40762306a36Sopenharmony_ci 40862306a36Sopenharmony_ciunion cvmx_pip_dsa_src_grp { 40962306a36Sopenharmony_ci uint64_t u64; 41062306a36Sopenharmony_ci struct cvmx_pip_dsa_src_grp_s { 41162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 41262306a36Sopenharmony_ci uint64_t map15:4; 41362306a36Sopenharmony_ci uint64_t map14:4; 41462306a36Sopenharmony_ci uint64_t map13:4; 41562306a36Sopenharmony_ci uint64_t map12:4; 41662306a36Sopenharmony_ci uint64_t map11:4; 41762306a36Sopenharmony_ci uint64_t map10:4; 41862306a36Sopenharmony_ci uint64_t map9:4; 41962306a36Sopenharmony_ci uint64_t map8:4; 42062306a36Sopenharmony_ci uint64_t map7:4; 42162306a36Sopenharmony_ci uint64_t map6:4; 42262306a36Sopenharmony_ci uint64_t map5:4; 42362306a36Sopenharmony_ci uint64_t map4:4; 42462306a36Sopenharmony_ci uint64_t map3:4; 42562306a36Sopenharmony_ci uint64_t map2:4; 42662306a36Sopenharmony_ci uint64_t map1:4; 42762306a36Sopenharmony_ci uint64_t map0:4; 42862306a36Sopenharmony_ci#else 42962306a36Sopenharmony_ci uint64_t map0:4; 43062306a36Sopenharmony_ci uint64_t map1:4; 43162306a36Sopenharmony_ci uint64_t map2:4; 43262306a36Sopenharmony_ci uint64_t map3:4; 43362306a36Sopenharmony_ci uint64_t map4:4; 43462306a36Sopenharmony_ci uint64_t map5:4; 43562306a36Sopenharmony_ci uint64_t map6:4; 43662306a36Sopenharmony_ci uint64_t map7:4; 43762306a36Sopenharmony_ci uint64_t map8:4; 43862306a36Sopenharmony_ci uint64_t map9:4; 43962306a36Sopenharmony_ci uint64_t map10:4; 44062306a36Sopenharmony_ci uint64_t map11:4; 44162306a36Sopenharmony_ci uint64_t map12:4; 44262306a36Sopenharmony_ci uint64_t map13:4; 44362306a36Sopenharmony_ci uint64_t map14:4; 44462306a36Sopenharmony_ci uint64_t map15:4; 44562306a36Sopenharmony_ci#endif 44662306a36Sopenharmony_ci } s; 44762306a36Sopenharmony_ci}; 44862306a36Sopenharmony_ci 44962306a36Sopenharmony_ciunion cvmx_pip_dsa_vid_grp { 45062306a36Sopenharmony_ci uint64_t u64; 45162306a36Sopenharmony_ci struct cvmx_pip_dsa_vid_grp_s { 45262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 45362306a36Sopenharmony_ci uint64_t map15:4; 45462306a36Sopenharmony_ci uint64_t map14:4; 45562306a36Sopenharmony_ci uint64_t map13:4; 45662306a36Sopenharmony_ci uint64_t map12:4; 45762306a36Sopenharmony_ci uint64_t map11:4; 45862306a36Sopenharmony_ci uint64_t map10:4; 45962306a36Sopenharmony_ci uint64_t map9:4; 46062306a36Sopenharmony_ci uint64_t map8:4; 46162306a36Sopenharmony_ci uint64_t map7:4; 46262306a36Sopenharmony_ci uint64_t map6:4; 46362306a36Sopenharmony_ci uint64_t map5:4; 46462306a36Sopenharmony_ci uint64_t map4:4; 46562306a36Sopenharmony_ci uint64_t map3:4; 46662306a36Sopenharmony_ci uint64_t map2:4; 46762306a36Sopenharmony_ci uint64_t map1:4; 46862306a36Sopenharmony_ci uint64_t map0:4; 46962306a36Sopenharmony_ci#else 47062306a36Sopenharmony_ci uint64_t map0:4; 47162306a36Sopenharmony_ci uint64_t map1:4; 47262306a36Sopenharmony_ci uint64_t map2:4; 47362306a36Sopenharmony_ci uint64_t map3:4; 47462306a36Sopenharmony_ci uint64_t map4:4; 47562306a36Sopenharmony_ci uint64_t map5:4; 47662306a36Sopenharmony_ci uint64_t map6:4; 47762306a36Sopenharmony_ci uint64_t map7:4; 47862306a36Sopenharmony_ci uint64_t map8:4; 47962306a36Sopenharmony_ci uint64_t map9:4; 48062306a36Sopenharmony_ci uint64_t map10:4; 48162306a36Sopenharmony_ci uint64_t map11:4; 48262306a36Sopenharmony_ci uint64_t map12:4; 48362306a36Sopenharmony_ci uint64_t map13:4; 48462306a36Sopenharmony_ci uint64_t map14:4; 48562306a36Sopenharmony_ci uint64_t map15:4; 48662306a36Sopenharmony_ci#endif 48762306a36Sopenharmony_ci } s; 48862306a36Sopenharmony_ci}; 48962306a36Sopenharmony_ci 49062306a36Sopenharmony_ciunion cvmx_pip_frm_len_chkx { 49162306a36Sopenharmony_ci uint64_t u64; 49262306a36Sopenharmony_ci struct cvmx_pip_frm_len_chkx_s { 49362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 49462306a36Sopenharmony_ci uint64_t reserved_32_63:32; 49562306a36Sopenharmony_ci uint64_t maxlen:16; 49662306a36Sopenharmony_ci uint64_t minlen:16; 49762306a36Sopenharmony_ci#else 49862306a36Sopenharmony_ci uint64_t minlen:16; 49962306a36Sopenharmony_ci uint64_t maxlen:16; 50062306a36Sopenharmony_ci uint64_t reserved_32_63:32; 50162306a36Sopenharmony_ci#endif 50262306a36Sopenharmony_ci } s; 50362306a36Sopenharmony_ci}; 50462306a36Sopenharmony_ci 50562306a36Sopenharmony_ciunion cvmx_pip_gbl_cfg { 50662306a36Sopenharmony_ci uint64_t u64; 50762306a36Sopenharmony_ci struct cvmx_pip_gbl_cfg_s { 50862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 50962306a36Sopenharmony_ci uint64_t reserved_19_63:45; 51062306a36Sopenharmony_ci uint64_t tag_syn:1; 51162306a36Sopenharmony_ci uint64_t ip6_udp:1; 51262306a36Sopenharmony_ci uint64_t max_l2:1; 51362306a36Sopenharmony_ci uint64_t reserved_11_15:5; 51462306a36Sopenharmony_ci uint64_t raw_shf:3; 51562306a36Sopenharmony_ci uint64_t reserved_3_7:5; 51662306a36Sopenharmony_ci uint64_t nip_shf:3; 51762306a36Sopenharmony_ci#else 51862306a36Sopenharmony_ci uint64_t nip_shf:3; 51962306a36Sopenharmony_ci uint64_t reserved_3_7:5; 52062306a36Sopenharmony_ci uint64_t raw_shf:3; 52162306a36Sopenharmony_ci uint64_t reserved_11_15:5; 52262306a36Sopenharmony_ci uint64_t max_l2:1; 52362306a36Sopenharmony_ci uint64_t ip6_udp:1; 52462306a36Sopenharmony_ci uint64_t tag_syn:1; 52562306a36Sopenharmony_ci uint64_t reserved_19_63:45; 52662306a36Sopenharmony_ci#endif 52762306a36Sopenharmony_ci } s; 52862306a36Sopenharmony_ci}; 52962306a36Sopenharmony_ci 53062306a36Sopenharmony_ciunion cvmx_pip_gbl_ctl { 53162306a36Sopenharmony_ci uint64_t u64; 53262306a36Sopenharmony_ci struct cvmx_pip_gbl_ctl_s { 53362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 53462306a36Sopenharmony_ci uint64_t reserved_29_63:35; 53562306a36Sopenharmony_ci uint64_t egrp_dis:1; 53662306a36Sopenharmony_ci uint64_t ihmsk_dis:1; 53762306a36Sopenharmony_ci uint64_t dsa_grp_tvid:1; 53862306a36Sopenharmony_ci uint64_t dsa_grp_scmd:1; 53962306a36Sopenharmony_ci uint64_t dsa_grp_sid:1; 54062306a36Sopenharmony_ci uint64_t reserved_21_23:3; 54162306a36Sopenharmony_ci uint64_t ring_en:1; 54262306a36Sopenharmony_ci uint64_t reserved_17_19:3; 54362306a36Sopenharmony_ci uint64_t ignrs:1; 54462306a36Sopenharmony_ci uint64_t vs_wqe:1; 54562306a36Sopenharmony_ci uint64_t vs_qos:1; 54662306a36Sopenharmony_ci uint64_t l2_mal:1; 54762306a36Sopenharmony_ci uint64_t tcp_flag:1; 54862306a36Sopenharmony_ci uint64_t l4_len:1; 54962306a36Sopenharmony_ci uint64_t l4_chk:1; 55062306a36Sopenharmony_ci uint64_t l4_prt:1; 55162306a36Sopenharmony_ci uint64_t l4_mal:1; 55262306a36Sopenharmony_ci uint64_t reserved_6_7:2; 55362306a36Sopenharmony_ci uint64_t ip6_eext:2; 55462306a36Sopenharmony_ci uint64_t ip4_opts:1; 55562306a36Sopenharmony_ci uint64_t ip_hop:1; 55662306a36Sopenharmony_ci uint64_t ip_mal:1; 55762306a36Sopenharmony_ci uint64_t ip_chk:1; 55862306a36Sopenharmony_ci#else 55962306a36Sopenharmony_ci uint64_t ip_chk:1; 56062306a36Sopenharmony_ci uint64_t ip_mal:1; 56162306a36Sopenharmony_ci uint64_t ip_hop:1; 56262306a36Sopenharmony_ci uint64_t ip4_opts:1; 56362306a36Sopenharmony_ci uint64_t ip6_eext:2; 56462306a36Sopenharmony_ci uint64_t reserved_6_7:2; 56562306a36Sopenharmony_ci uint64_t l4_mal:1; 56662306a36Sopenharmony_ci uint64_t l4_prt:1; 56762306a36Sopenharmony_ci uint64_t l4_chk:1; 56862306a36Sopenharmony_ci uint64_t l4_len:1; 56962306a36Sopenharmony_ci uint64_t tcp_flag:1; 57062306a36Sopenharmony_ci uint64_t l2_mal:1; 57162306a36Sopenharmony_ci uint64_t vs_qos:1; 57262306a36Sopenharmony_ci uint64_t vs_wqe:1; 57362306a36Sopenharmony_ci uint64_t ignrs:1; 57462306a36Sopenharmony_ci uint64_t reserved_17_19:3; 57562306a36Sopenharmony_ci uint64_t ring_en:1; 57662306a36Sopenharmony_ci uint64_t reserved_21_23:3; 57762306a36Sopenharmony_ci uint64_t dsa_grp_sid:1; 57862306a36Sopenharmony_ci uint64_t dsa_grp_scmd:1; 57962306a36Sopenharmony_ci uint64_t dsa_grp_tvid:1; 58062306a36Sopenharmony_ci uint64_t ihmsk_dis:1; 58162306a36Sopenharmony_ci uint64_t egrp_dis:1; 58262306a36Sopenharmony_ci uint64_t reserved_29_63:35; 58362306a36Sopenharmony_ci#endif 58462306a36Sopenharmony_ci } s; 58562306a36Sopenharmony_ci struct cvmx_pip_gbl_ctl_cn30xx { 58662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 58762306a36Sopenharmony_ci uint64_t reserved_17_63:47; 58862306a36Sopenharmony_ci uint64_t ignrs:1; 58962306a36Sopenharmony_ci uint64_t vs_wqe:1; 59062306a36Sopenharmony_ci uint64_t vs_qos:1; 59162306a36Sopenharmony_ci uint64_t l2_mal:1; 59262306a36Sopenharmony_ci uint64_t tcp_flag:1; 59362306a36Sopenharmony_ci uint64_t l4_len:1; 59462306a36Sopenharmony_ci uint64_t l4_chk:1; 59562306a36Sopenharmony_ci uint64_t l4_prt:1; 59662306a36Sopenharmony_ci uint64_t l4_mal:1; 59762306a36Sopenharmony_ci uint64_t reserved_6_7:2; 59862306a36Sopenharmony_ci uint64_t ip6_eext:2; 59962306a36Sopenharmony_ci uint64_t ip4_opts:1; 60062306a36Sopenharmony_ci uint64_t ip_hop:1; 60162306a36Sopenharmony_ci uint64_t ip_mal:1; 60262306a36Sopenharmony_ci uint64_t ip_chk:1; 60362306a36Sopenharmony_ci#else 60462306a36Sopenharmony_ci uint64_t ip_chk:1; 60562306a36Sopenharmony_ci uint64_t ip_mal:1; 60662306a36Sopenharmony_ci uint64_t ip_hop:1; 60762306a36Sopenharmony_ci uint64_t ip4_opts:1; 60862306a36Sopenharmony_ci uint64_t ip6_eext:2; 60962306a36Sopenharmony_ci uint64_t reserved_6_7:2; 61062306a36Sopenharmony_ci uint64_t l4_mal:1; 61162306a36Sopenharmony_ci uint64_t l4_prt:1; 61262306a36Sopenharmony_ci uint64_t l4_chk:1; 61362306a36Sopenharmony_ci uint64_t l4_len:1; 61462306a36Sopenharmony_ci uint64_t tcp_flag:1; 61562306a36Sopenharmony_ci uint64_t l2_mal:1; 61662306a36Sopenharmony_ci uint64_t vs_qos:1; 61762306a36Sopenharmony_ci uint64_t vs_wqe:1; 61862306a36Sopenharmony_ci uint64_t ignrs:1; 61962306a36Sopenharmony_ci uint64_t reserved_17_63:47; 62062306a36Sopenharmony_ci#endif 62162306a36Sopenharmony_ci } cn30xx; 62262306a36Sopenharmony_ci struct cvmx_pip_gbl_ctl_cn52xx { 62362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 62462306a36Sopenharmony_ci uint64_t reserved_27_63:37; 62562306a36Sopenharmony_ci uint64_t dsa_grp_tvid:1; 62662306a36Sopenharmony_ci uint64_t dsa_grp_scmd:1; 62762306a36Sopenharmony_ci uint64_t dsa_grp_sid:1; 62862306a36Sopenharmony_ci uint64_t reserved_21_23:3; 62962306a36Sopenharmony_ci uint64_t ring_en:1; 63062306a36Sopenharmony_ci uint64_t reserved_17_19:3; 63162306a36Sopenharmony_ci uint64_t ignrs:1; 63262306a36Sopenharmony_ci uint64_t vs_wqe:1; 63362306a36Sopenharmony_ci uint64_t vs_qos:1; 63462306a36Sopenharmony_ci uint64_t l2_mal:1; 63562306a36Sopenharmony_ci uint64_t tcp_flag:1; 63662306a36Sopenharmony_ci uint64_t l4_len:1; 63762306a36Sopenharmony_ci uint64_t l4_chk:1; 63862306a36Sopenharmony_ci uint64_t l4_prt:1; 63962306a36Sopenharmony_ci uint64_t l4_mal:1; 64062306a36Sopenharmony_ci uint64_t reserved_6_7:2; 64162306a36Sopenharmony_ci uint64_t ip6_eext:2; 64262306a36Sopenharmony_ci uint64_t ip4_opts:1; 64362306a36Sopenharmony_ci uint64_t ip_hop:1; 64462306a36Sopenharmony_ci uint64_t ip_mal:1; 64562306a36Sopenharmony_ci uint64_t ip_chk:1; 64662306a36Sopenharmony_ci#else 64762306a36Sopenharmony_ci uint64_t ip_chk:1; 64862306a36Sopenharmony_ci uint64_t ip_mal:1; 64962306a36Sopenharmony_ci uint64_t ip_hop:1; 65062306a36Sopenharmony_ci uint64_t ip4_opts:1; 65162306a36Sopenharmony_ci uint64_t ip6_eext:2; 65262306a36Sopenharmony_ci uint64_t reserved_6_7:2; 65362306a36Sopenharmony_ci uint64_t l4_mal:1; 65462306a36Sopenharmony_ci uint64_t l4_prt:1; 65562306a36Sopenharmony_ci uint64_t l4_chk:1; 65662306a36Sopenharmony_ci uint64_t l4_len:1; 65762306a36Sopenharmony_ci uint64_t tcp_flag:1; 65862306a36Sopenharmony_ci uint64_t l2_mal:1; 65962306a36Sopenharmony_ci uint64_t vs_qos:1; 66062306a36Sopenharmony_ci uint64_t vs_wqe:1; 66162306a36Sopenharmony_ci uint64_t ignrs:1; 66262306a36Sopenharmony_ci uint64_t reserved_17_19:3; 66362306a36Sopenharmony_ci uint64_t ring_en:1; 66462306a36Sopenharmony_ci uint64_t reserved_21_23:3; 66562306a36Sopenharmony_ci uint64_t dsa_grp_sid:1; 66662306a36Sopenharmony_ci uint64_t dsa_grp_scmd:1; 66762306a36Sopenharmony_ci uint64_t dsa_grp_tvid:1; 66862306a36Sopenharmony_ci uint64_t reserved_27_63:37; 66962306a36Sopenharmony_ci#endif 67062306a36Sopenharmony_ci } cn52xx; 67162306a36Sopenharmony_ci struct cvmx_pip_gbl_ctl_cn56xxp1 { 67262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 67362306a36Sopenharmony_ci uint64_t reserved_21_63:43; 67462306a36Sopenharmony_ci uint64_t ring_en:1; 67562306a36Sopenharmony_ci uint64_t reserved_17_19:3; 67662306a36Sopenharmony_ci uint64_t ignrs:1; 67762306a36Sopenharmony_ci uint64_t vs_wqe:1; 67862306a36Sopenharmony_ci uint64_t vs_qos:1; 67962306a36Sopenharmony_ci uint64_t l2_mal:1; 68062306a36Sopenharmony_ci uint64_t tcp_flag:1; 68162306a36Sopenharmony_ci uint64_t l4_len:1; 68262306a36Sopenharmony_ci uint64_t l4_chk:1; 68362306a36Sopenharmony_ci uint64_t l4_prt:1; 68462306a36Sopenharmony_ci uint64_t l4_mal:1; 68562306a36Sopenharmony_ci uint64_t reserved_6_7:2; 68662306a36Sopenharmony_ci uint64_t ip6_eext:2; 68762306a36Sopenharmony_ci uint64_t ip4_opts:1; 68862306a36Sopenharmony_ci uint64_t ip_hop:1; 68962306a36Sopenharmony_ci uint64_t ip_mal:1; 69062306a36Sopenharmony_ci uint64_t ip_chk:1; 69162306a36Sopenharmony_ci#else 69262306a36Sopenharmony_ci uint64_t ip_chk:1; 69362306a36Sopenharmony_ci uint64_t ip_mal:1; 69462306a36Sopenharmony_ci uint64_t ip_hop:1; 69562306a36Sopenharmony_ci uint64_t ip4_opts:1; 69662306a36Sopenharmony_ci uint64_t ip6_eext:2; 69762306a36Sopenharmony_ci uint64_t reserved_6_7:2; 69862306a36Sopenharmony_ci uint64_t l4_mal:1; 69962306a36Sopenharmony_ci uint64_t l4_prt:1; 70062306a36Sopenharmony_ci uint64_t l4_chk:1; 70162306a36Sopenharmony_ci uint64_t l4_len:1; 70262306a36Sopenharmony_ci uint64_t tcp_flag:1; 70362306a36Sopenharmony_ci uint64_t l2_mal:1; 70462306a36Sopenharmony_ci uint64_t vs_qos:1; 70562306a36Sopenharmony_ci uint64_t vs_wqe:1; 70662306a36Sopenharmony_ci uint64_t ignrs:1; 70762306a36Sopenharmony_ci uint64_t reserved_17_19:3; 70862306a36Sopenharmony_ci uint64_t ring_en:1; 70962306a36Sopenharmony_ci uint64_t reserved_21_63:43; 71062306a36Sopenharmony_ci#endif 71162306a36Sopenharmony_ci } cn56xxp1; 71262306a36Sopenharmony_ci struct cvmx_pip_gbl_ctl_cn61xx { 71362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 71462306a36Sopenharmony_ci uint64_t reserved_28_63:36; 71562306a36Sopenharmony_ci uint64_t ihmsk_dis:1; 71662306a36Sopenharmony_ci uint64_t dsa_grp_tvid:1; 71762306a36Sopenharmony_ci uint64_t dsa_grp_scmd:1; 71862306a36Sopenharmony_ci uint64_t dsa_grp_sid:1; 71962306a36Sopenharmony_ci uint64_t reserved_21_23:3; 72062306a36Sopenharmony_ci uint64_t ring_en:1; 72162306a36Sopenharmony_ci uint64_t reserved_17_19:3; 72262306a36Sopenharmony_ci uint64_t ignrs:1; 72362306a36Sopenharmony_ci uint64_t vs_wqe:1; 72462306a36Sopenharmony_ci uint64_t vs_qos:1; 72562306a36Sopenharmony_ci uint64_t l2_mal:1; 72662306a36Sopenharmony_ci uint64_t tcp_flag:1; 72762306a36Sopenharmony_ci uint64_t l4_len:1; 72862306a36Sopenharmony_ci uint64_t l4_chk:1; 72962306a36Sopenharmony_ci uint64_t l4_prt:1; 73062306a36Sopenharmony_ci uint64_t l4_mal:1; 73162306a36Sopenharmony_ci uint64_t reserved_6_7:2; 73262306a36Sopenharmony_ci uint64_t ip6_eext:2; 73362306a36Sopenharmony_ci uint64_t ip4_opts:1; 73462306a36Sopenharmony_ci uint64_t ip_hop:1; 73562306a36Sopenharmony_ci uint64_t ip_mal:1; 73662306a36Sopenharmony_ci uint64_t ip_chk:1; 73762306a36Sopenharmony_ci#else 73862306a36Sopenharmony_ci uint64_t ip_chk:1; 73962306a36Sopenharmony_ci uint64_t ip_mal:1; 74062306a36Sopenharmony_ci uint64_t ip_hop:1; 74162306a36Sopenharmony_ci uint64_t ip4_opts:1; 74262306a36Sopenharmony_ci uint64_t ip6_eext:2; 74362306a36Sopenharmony_ci uint64_t reserved_6_7:2; 74462306a36Sopenharmony_ci uint64_t l4_mal:1; 74562306a36Sopenharmony_ci uint64_t l4_prt:1; 74662306a36Sopenharmony_ci uint64_t l4_chk:1; 74762306a36Sopenharmony_ci uint64_t l4_len:1; 74862306a36Sopenharmony_ci uint64_t tcp_flag:1; 74962306a36Sopenharmony_ci uint64_t l2_mal:1; 75062306a36Sopenharmony_ci uint64_t vs_qos:1; 75162306a36Sopenharmony_ci uint64_t vs_wqe:1; 75262306a36Sopenharmony_ci uint64_t ignrs:1; 75362306a36Sopenharmony_ci uint64_t reserved_17_19:3; 75462306a36Sopenharmony_ci uint64_t ring_en:1; 75562306a36Sopenharmony_ci uint64_t reserved_21_23:3; 75662306a36Sopenharmony_ci uint64_t dsa_grp_sid:1; 75762306a36Sopenharmony_ci uint64_t dsa_grp_scmd:1; 75862306a36Sopenharmony_ci uint64_t dsa_grp_tvid:1; 75962306a36Sopenharmony_ci uint64_t ihmsk_dis:1; 76062306a36Sopenharmony_ci uint64_t reserved_28_63:36; 76162306a36Sopenharmony_ci#endif 76262306a36Sopenharmony_ci } cn61xx; 76362306a36Sopenharmony_ci struct cvmx_pip_gbl_ctl_cn68xx { 76462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 76562306a36Sopenharmony_ci uint64_t reserved_29_63:35; 76662306a36Sopenharmony_ci uint64_t egrp_dis:1; 76762306a36Sopenharmony_ci uint64_t ihmsk_dis:1; 76862306a36Sopenharmony_ci uint64_t dsa_grp_tvid:1; 76962306a36Sopenharmony_ci uint64_t dsa_grp_scmd:1; 77062306a36Sopenharmony_ci uint64_t dsa_grp_sid:1; 77162306a36Sopenharmony_ci uint64_t reserved_17_23:7; 77262306a36Sopenharmony_ci uint64_t ignrs:1; 77362306a36Sopenharmony_ci uint64_t vs_wqe:1; 77462306a36Sopenharmony_ci uint64_t vs_qos:1; 77562306a36Sopenharmony_ci uint64_t l2_mal:1; 77662306a36Sopenharmony_ci uint64_t tcp_flag:1; 77762306a36Sopenharmony_ci uint64_t l4_len:1; 77862306a36Sopenharmony_ci uint64_t l4_chk:1; 77962306a36Sopenharmony_ci uint64_t l4_prt:1; 78062306a36Sopenharmony_ci uint64_t l4_mal:1; 78162306a36Sopenharmony_ci uint64_t reserved_6_7:2; 78262306a36Sopenharmony_ci uint64_t ip6_eext:2; 78362306a36Sopenharmony_ci uint64_t ip4_opts:1; 78462306a36Sopenharmony_ci uint64_t ip_hop:1; 78562306a36Sopenharmony_ci uint64_t ip_mal:1; 78662306a36Sopenharmony_ci uint64_t ip_chk:1; 78762306a36Sopenharmony_ci#else 78862306a36Sopenharmony_ci uint64_t ip_chk:1; 78962306a36Sopenharmony_ci uint64_t ip_mal:1; 79062306a36Sopenharmony_ci uint64_t ip_hop:1; 79162306a36Sopenharmony_ci uint64_t ip4_opts:1; 79262306a36Sopenharmony_ci uint64_t ip6_eext:2; 79362306a36Sopenharmony_ci uint64_t reserved_6_7:2; 79462306a36Sopenharmony_ci uint64_t l4_mal:1; 79562306a36Sopenharmony_ci uint64_t l4_prt:1; 79662306a36Sopenharmony_ci uint64_t l4_chk:1; 79762306a36Sopenharmony_ci uint64_t l4_len:1; 79862306a36Sopenharmony_ci uint64_t tcp_flag:1; 79962306a36Sopenharmony_ci uint64_t l2_mal:1; 80062306a36Sopenharmony_ci uint64_t vs_qos:1; 80162306a36Sopenharmony_ci uint64_t vs_wqe:1; 80262306a36Sopenharmony_ci uint64_t ignrs:1; 80362306a36Sopenharmony_ci uint64_t reserved_17_23:7; 80462306a36Sopenharmony_ci uint64_t dsa_grp_sid:1; 80562306a36Sopenharmony_ci uint64_t dsa_grp_scmd:1; 80662306a36Sopenharmony_ci uint64_t dsa_grp_tvid:1; 80762306a36Sopenharmony_ci uint64_t ihmsk_dis:1; 80862306a36Sopenharmony_ci uint64_t egrp_dis:1; 80962306a36Sopenharmony_ci uint64_t reserved_29_63:35; 81062306a36Sopenharmony_ci#endif 81162306a36Sopenharmony_ci } cn68xx; 81262306a36Sopenharmony_ci struct cvmx_pip_gbl_ctl_cn68xxp1 { 81362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 81462306a36Sopenharmony_ci uint64_t reserved_28_63:36; 81562306a36Sopenharmony_ci uint64_t ihmsk_dis:1; 81662306a36Sopenharmony_ci uint64_t dsa_grp_tvid:1; 81762306a36Sopenharmony_ci uint64_t dsa_grp_scmd:1; 81862306a36Sopenharmony_ci uint64_t dsa_grp_sid:1; 81962306a36Sopenharmony_ci uint64_t reserved_17_23:7; 82062306a36Sopenharmony_ci uint64_t ignrs:1; 82162306a36Sopenharmony_ci uint64_t vs_wqe:1; 82262306a36Sopenharmony_ci uint64_t vs_qos:1; 82362306a36Sopenharmony_ci uint64_t l2_mal:1; 82462306a36Sopenharmony_ci uint64_t tcp_flag:1; 82562306a36Sopenharmony_ci uint64_t l4_len:1; 82662306a36Sopenharmony_ci uint64_t l4_chk:1; 82762306a36Sopenharmony_ci uint64_t l4_prt:1; 82862306a36Sopenharmony_ci uint64_t l4_mal:1; 82962306a36Sopenharmony_ci uint64_t reserved_6_7:2; 83062306a36Sopenharmony_ci uint64_t ip6_eext:2; 83162306a36Sopenharmony_ci uint64_t ip4_opts:1; 83262306a36Sopenharmony_ci uint64_t ip_hop:1; 83362306a36Sopenharmony_ci uint64_t ip_mal:1; 83462306a36Sopenharmony_ci uint64_t ip_chk:1; 83562306a36Sopenharmony_ci#else 83662306a36Sopenharmony_ci uint64_t ip_chk:1; 83762306a36Sopenharmony_ci uint64_t ip_mal:1; 83862306a36Sopenharmony_ci uint64_t ip_hop:1; 83962306a36Sopenharmony_ci uint64_t ip4_opts:1; 84062306a36Sopenharmony_ci uint64_t ip6_eext:2; 84162306a36Sopenharmony_ci uint64_t reserved_6_7:2; 84262306a36Sopenharmony_ci uint64_t l4_mal:1; 84362306a36Sopenharmony_ci uint64_t l4_prt:1; 84462306a36Sopenharmony_ci uint64_t l4_chk:1; 84562306a36Sopenharmony_ci uint64_t l4_len:1; 84662306a36Sopenharmony_ci uint64_t tcp_flag:1; 84762306a36Sopenharmony_ci uint64_t l2_mal:1; 84862306a36Sopenharmony_ci uint64_t vs_qos:1; 84962306a36Sopenharmony_ci uint64_t vs_wqe:1; 85062306a36Sopenharmony_ci uint64_t ignrs:1; 85162306a36Sopenharmony_ci uint64_t reserved_17_23:7; 85262306a36Sopenharmony_ci uint64_t dsa_grp_sid:1; 85362306a36Sopenharmony_ci uint64_t dsa_grp_scmd:1; 85462306a36Sopenharmony_ci uint64_t dsa_grp_tvid:1; 85562306a36Sopenharmony_ci uint64_t ihmsk_dis:1; 85662306a36Sopenharmony_ci uint64_t reserved_28_63:36; 85762306a36Sopenharmony_ci#endif 85862306a36Sopenharmony_ci } cn68xxp1; 85962306a36Sopenharmony_ci}; 86062306a36Sopenharmony_ci 86162306a36Sopenharmony_ciunion cvmx_pip_hg_pri_qos { 86262306a36Sopenharmony_ci uint64_t u64; 86362306a36Sopenharmony_ci struct cvmx_pip_hg_pri_qos_s { 86462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 86562306a36Sopenharmony_ci uint64_t reserved_13_63:51; 86662306a36Sopenharmony_ci uint64_t up_qos:1; 86762306a36Sopenharmony_ci uint64_t reserved_11_11:1; 86862306a36Sopenharmony_ci uint64_t qos:3; 86962306a36Sopenharmony_ci uint64_t reserved_6_7:2; 87062306a36Sopenharmony_ci uint64_t pri:6; 87162306a36Sopenharmony_ci#else 87262306a36Sopenharmony_ci uint64_t pri:6; 87362306a36Sopenharmony_ci uint64_t reserved_6_7:2; 87462306a36Sopenharmony_ci uint64_t qos:3; 87562306a36Sopenharmony_ci uint64_t reserved_11_11:1; 87662306a36Sopenharmony_ci uint64_t up_qos:1; 87762306a36Sopenharmony_ci uint64_t reserved_13_63:51; 87862306a36Sopenharmony_ci#endif 87962306a36Sopenharmony_ci } s; 88062306a36Sopenharmony_ci}; 88162306a36Sopenharmony_ci 88262306a36Sopenharmony_ciunion cvmx_pip_int_en { 88362306a36Sopenharmony_ci uint64_t u64; 88462306a36Sopenharmony_ci struct cvmx_pip_int_en_s { 88562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 88662306a36Sopenharmony_ci uint64_t reserved_13_63:51; 88762306a36Sopenharmony_ci uint64_t punyerr:1; 88862306a36Sopenharmony_ci uint64_t lenerr:1; 88962306a36Sopenharmony_ci uint64_t maxerr:1; 89062306a36Sopenharmony_ci uint64_t minerr:1; 89162306a36Sopenharmony_ci uint64_t beperr:1; 89262306a36Sopenharmony_ci uint64_t feperr:1; 89362306a36Sopenharmony_ci uint64_t todoovr:1; 89462306a36Sopenharmony_ci uint64_t skprunt:1; 89562306a36Sopenharmony_ci uint64_t badtag:1; 89662306a36Sopenharmony_ci uint64_t prtnxa:1; 89762306a36Sopenharmony_ci uint64_t bckprs:1; 89862306a36Sopenharmony_ci uint64_t crcerr:1; 89962306a36Sopenharmony_ci uint64_t pktdrp:1; 90062306a36Sopenharmony_ci#else 90162306a36Sopenharmony_ci uint64_t pktdrp:1; 90262306a36Sopenharmony_ci uint64_t crcerr:1; 90362306a36Sopenharmony_ci uint64_t bckprs:1; 90462306a36Sopenharmony_ci uint64_t prtnxa:1; 90562306a36Sopenharmony_ci uint64_t badtag:1; 90662306a36Sopenharmony_ci uint64_t skprunt:1; 90762306a36Sopenharmony_ci uint64_t todoovr:1; 90862306a36Sopenharmony_ci uint64_t feperr:1; 90962306a36Sopenharmony_ci uint64_t beperr:1; 91062306a36Sopenharmony_ci uint64_t minerr:1; 91162306a36Sopenharmony_ci uint64_t maxerr:1; 91262306a36Sopenharmony_ci uint64_t lenerr:1; 91362306a36Sopenharmony_ci uint64_t punyerr:1; 91462306a36Sopenharmony_ci uint64_t reserved_13_63:51; 91562306a36Sopenharmony_ci#endif 91662306a36Sopenharmony_ci } s; 91762306a36Sopenharmony_ci struct cvmx_pip_int_en_cn30xx { 91862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 91962306a36Sopenharmony_ci uint64_t reserved_9_63:55; 92062306a36Sopenharmony_ci uint64_t beperr:1; 92162306a36Sopenharmony_ci uint64_t feperr:1; 92262306a36Sopenharmony_ci uint64_t todoovr:1; 92362306a36Sopenharmony_ci uint64_t skprunt:1; 92462306a36Sopenharmony_ci uint64_t badtag:1; 92562306a36Sopenharmony_ci uint64_t prtnxa:1; 92662306a36Sopenharmony_ci uint64_t bckprs:1; 92762306a36Sopenharmony_ci uint64_t crcerr:1; 92862306a36Sopenharmony_ci uint64_t pktdrp:1; 92962306a36Sopenharmony_ci#else 93062306a36Sopenharmony_ci uint64_t pktdrp:1; 93162306a36Sopenharmony_ci uint64_t crcerr:1; 93262306a36Sopenharmony_ci uint64_t bckprs:1; 93362306a36Sopenharmony_ci uint64_t prtnxa:1; 93462306a36Sopenharmony_ci uint64_t badtag:1; 93562306a36Sopenharmony_ci uint64_t skprunt:1; 93662306a36Sopenharmony_ci uint64_t todoovr:1; 93762306a36Sopenharmony_ci uint64_t feperr:1; 93862306a36Sopenharmony_ci uint64_t beperr:1; 93962306a36Sopenharmony_ci uint64_t reserved_9_63:55; 94062306a36Sopenharmony_ci#endif 94162306a36Sopenharmony_ci } cn30xx; 94262306a36Sopenharmony_ci struct cvmx_pip_int_en_cn50xx { 94362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 94462306a36Sopenharmony_ci uint64_t reserved_12_63:52; 94562306a36Sopenharmony_ci uint64_t lenerr:1; 94662306a36Sopenharmony_ci uint64_t maxerr:1; 94762306a36Sopenharmony_ci uint64_t minerr:1; 94862306a36Sopenharmony_ci uint64_t beperr:1; 94962306a36Sopenharmony_ci uint64_t feperr:1; 95062306a36Sopenharmony_ci uint64_t todoovr:1; 95162306a36Sopenharmony_ci uint64_t skprunt:1; 95262306a36Sopenharmony_ci uint64_t badtag:1; 95362306a36Sopenharmony_ci uint64_t prtnxa:1; 95462306a36Sopenharmony_ci uint64_t bckprs:1; 95562306a36Sopenharmony_ci uint64_t reserved_1_1:1; 95662306a36Sopenharmony_ci uint64_t pktdrp:1; 95762306a36Sopenharmony_ci#else 95862306a36Sopenharmony_ci uint64_t pktdrp:1; 95962306a36Sopenharmony_ci uint64_t reserved_1_1:1; 96062306a36Sopenharmony_ci uint64_t bckprs:1; 96162306a36Sopenharmony_ci uint64_t prtnxa:1; 96262306a36Sopenharmony_ci uint64_t badtag:1; 96362306a36Sopenharmony_ci uint64_t skprunt:1; 96462306a36Sopenharmony_ci uint64_t todoovr:1; 96562306a36Sopenharmony_ci uint64_t feperr:1; 96662306a36Sopenharmony_ci uint64_t beperr:1; 96762306a36Sopenharmony_ci uint64_t minerr:1; 96862306a36Sopenharmony_ci uint64_t maxerr:1; 96962306a36Sopenharmony_ci uint64_t lenerr:1; 97062306a36Sopenharmony_ci uint64_t reserved_12_63:52; 97162306a36Sopenharmony_ci#endif 97262306a36Sopenharmony_ci } cn50xx; 97362306a36Sopenharmony_ci struct cvmx_pip_int_en_cn52xx { 97462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 97562306a36Sopenharmony_ci uint64_t reserved_13_63:51; 97662306a36Sopenharmony_ci uint64_t punyerr:1; 97762306a36Sopenharmony_ci uint64_t lenerr:1; 97862306a36Sopenharmony_ci uint64_t maxerr:1; 97962306a36Sopenharmony_ci uint64_t minerr:1; 98062306a36Sopenharmony_ci uint64_t beperr:1; 98162306a36Sopenharmony_ci uint64_t feperr:1; 98262306a36Sopenharmony_ci uint64_t todoovr:1; 98362306a36Sopenharmony_ci uint64_t skprunt:1; 98462306a36Sopenharmony_ci uint64_t badtag:1; 98562306a36Sopenharmony_ci uint64_t prtnxa:1; 98662306a36Sopenharmony_ci uint64_t bckprs:1; 98762306a36Sopenharmony_ci uint64_t reserved_1_1:1; 98862306a36Sopenharmony_ci uint64_t pktdrp:1; 98962306a36Sopenharmony_ci#else 99062306a36Sopenharmony_ci uint64_t pktdrp:1; 99162306a36Sopenharmony_ci uint64_t reserved_1_1:1; 99262306a36Sopenharmony_ci uint64_t bckprs:1; 99362306a36Sopenharmony_ci uint64_t prtnxa:1; 99462306a36Sopenharmony_ci uint64_t badtag:1; 99562306a36Sopenharmony_ci uint64_t skprunt:1; 99662306a36Sopenharmony_ci uint64_t todoovr:1; 99762306a36Sopenharmony_ci uint64_t feperr:1; 99862306a36Sopenharmony_ci uint64_t beperr:1; 99962306a36Sopenharmony_ci uint64_t minerr:1; 100062306a36Sopenharmony_ci uint64_t maxerr:1; 100162306a36Sopenharmony_ci uint64_t lenerr:1; 100262306a36Sopenharmony_ci uint64_t punyerr:1; 100362306a36Sopenharmony_ci uint64_t reserved_13_63:51; 100462306a36Sopenharmony_ci#endif 100562306a36Sopenharmony_ci } cn52xx; 100662306a36Sopenharmony_ci struct cvmx_pip_int_en_cn56xxp1 { 100762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 100862306a36Sopenharmony_ci uint64_t reserved_12_63:52; 100962306a36Sopenharmony_ci uint64_t lenerr:1; 101062306a36Sopenharmony_ci uint64_t maxerr:1; 101162306a36Sopenharmony_ci uint64_t minerr:1; 101262306a36Sopenharmony_ci uint64_t beperr:1; 101362306a36Sopenharmony_ci uint64_t feperr:1; 101462306a36Sopenharmony_ci uint64_t todoovr:1; 101562306a36Sopenharmony_ci uint64_t skprunt:1; 101662306a36Sopenharmony_ci uint64_t badtag:1; 101762306a36Sopenharmony_ci uint64_t prtnxa:1; 101862306a36Sopenharmony_ci uint64_t bckprs:1; 101962306a36Sopenharmony_ci uint64_t crcerr:1; 102062306a36Sopenharmony_ci uint64_t pktdrp:1; 102162306a36Sopenharmony_ci#else 102262306a36Sopenharmony_ci uint64_t pktdrp:1; 102362306a36Sopenharmony_ci uint64_t crcerr:1; 102462306a36Sopenharmony_ci uint64_t bckprs:1; 102562306a36Sopenharmony_ci uint64_t prtnxa:1; 102662306a36Sopenharmony_ci uint64_t badtag:1; 102762306a36Sopenharmony_ci uint64_t skprunt:1; 102862306a36Sopenharmony_ci uint64_t todoovr:1; 102962306a36Sopenharmony_ci uint64_t feperr:1; 103062306a36Sopenharmony_ci uint64_t beperr:1; 103162306a36Sopenharmony_ci uint64_t minerr:1; 103262306a36Sopenharmony_ci uint64_t maxerr:1; 103362306a36Sopenharmony_ci uint64_t lenerr:1; 103462306a36Sopenharmony_ci uint64_t reserved_12_63:52; 103562306a36Sopenharmony_ci#endif 103662306a36Sopenharmony_ci } cn56xxp1; 103762306a36Sopenharmony_ci struct cvmx_pip_int_en_cn58xx { 103862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 103962306a36Sopenharmony_ci uint64_t reserved_13_63:51; 104062306a36Sopenharmony_ci uint64_t punyerr:1; 104162306a36Sopenharmony_ci uint64_t reserved_9_11:3; 104262306a36Sopenharmony_ci uint64_t beperr:1; 104362306a36Sopenharmony_ci uint64_t feperr:1; 104462306a36Sopenharmony_ci uint64_t todoovr:1; 104562306a36Sopenharmony_ci uint64_t skprunt:1; 104662306a36Sopenharmony_ci uint64_t badtag:1; 104762306a36Sopenharmony_ci uint64_t prtnxa:1; 104862306a36Sopenharmony_ci uint64_t bckprs:1; 104962306a36Sopenharmony_ci uint64_t crcerr:1; 105062306a36Sopenharmony_ci uint64_t pktdrp:1; 105162306a36Sopenharmony_ci#else 105262306a36Sopenharmony_ci uint64_t pktdrp:1; 105362306a36Sopenharmony_ci uint64_t crcerr:1; 105462306a36Sopenharmony_ci uint64_t bckprs:1; 105562306a36Sopenharmony_ci uint64_t prtnxa:1; 105662306a36Sopenharmony_ci uint64_t badtag:1; 105762306a36Sopenharmony_ci uint64_t skprunt:1; 105862306a36Sopenharmony_ci uint64_t todoovr:1; 105962306a36Sopenharmony_ci uint64_t feperr:1; 106062306a36Sopenharmony_ci uint64_t beperr:1; 106162306a36Sopenharmony_ci uint64_t reserved_9_11:3; 106262306a36Sopenharmony_ci uint64_t punyerr:1; 106362306a36Sopenharmony_ci uint64_t reserved_13_63:51; 106462306a36Sopenharmony_ci#endif 106562306a36Sopenharmony_ci } cn58xx; 106662306a36Sopenharmony_ci}; 106762306a36Sopenharmony_ci 106862306a36Sopenharmony_ciunion cvmx_pip_int_reg { 106962306a36Sopenharmony_ci uint64_t u64; 107062306a36Sopenharmony_ci struct cvmx_pip_int_reg_s { 107162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 107262306a36Sopenharmony_ci uint64_t reserved_13_63:51; 107362306a36Sopenharmony_ci uint64_t punyerr:1; 107462306a36Sopenharmony_ci uint64_t lenerr:1; 107562306a36Sopenharmony_ci uint64_t maxerr:1; 107662306a36Sopenharmony_ci uint64_t minerr:1; 107762306a36Sopenharmony_ci uint64_t beperr:1; 107862306a36Sopenharmony_ci uint64_t feperr:1; 107962306a36Sopenharmony_ci uint64_t todoovr:1; 108062306a36Sopenharmony_ci uint64_t skprunt:1; 108162306a36Sopenharmony_ci uint64_t badtag:1; 108262306a36Sopenharmony_ci uint64_t prtnxa:1; 108362306a36Sopenharmony_ci uint64_t bckprs:1; 108462306a36Sopenharmony_ci uint64_t crcerr:1; 108562306a36Sopenharmony_ci uint64_t pktdrp:1; 108662306a36Sopenharmony_ci#else 108762306a36Sopenharmony_ci uint64_t pktdrp:1; 108862306a36Sopenharmony_ci uint64_t crcerr:1; 108962306a36Sopenharmony_ci uint64_t bckprs:1; 109062306a36Sopenharmony_ci uint64_t prtnxa:1; 109162306a36Sopenharmony_ci uint64_t badtag:1; 109262306a36Sopenharmony_ci uint64_t skprunt:1; 109362306a36Sopenharmony_ci uint64_t todoovr:1; 109462306a36Sopenharmony_ci uint64_t feperr:1; 109562306a36Sopenharmony_ci uint64_t beperr:1; 109662306a36Sopenharmony_ci uint64_t minerr:1; 109762306a36Sopenharmony_ci uint64_t maxerr:1; 109862306a36Sopenharmony_ci uint64_t lenerr:1; 109962306a36Sopenharmony_ci uint64_t punyerr:1; 110062306a36Sopenharmony_ci uint64_t reserved_13_63:51; 110162306a36Sopenharmony_ci#endif 110262306a36Sopenharmony_ci } s; 110362306a36Sopenharmony_ci struct cvmx_pip_int_reg_cn30xx { 110462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 110562306a36Sopenharmony_ci uint64_t reserved_9_63:55; 110662306a36Sopenharmony_ci uint64_t beperr:1; 110762306a36Sopenharmony_ci uint64_t feperr:1; 110862306a36Sopenharmony_ci uint64_t todoovr:1; 110962306a36Sopenharmony_ci uint64_t skprunt:1; 111062306a36Sopenharmony_ci uint64_t badtag:1; 111162306a36Sopenharmony_ci uint64_t prtnxa:1; 111262306a36Sopenharmony_ci uint64_t bckprs:1; 111362306a36Sopenharmony_ci uint64_t crcerr:1; 111462306a36Sopenharmony_ci uint64_t pktdrp:1; 111562306a36Sopenharmony_ci#else 111662306a36Sopenharmony_ci uint64_t pktdrp:1; 111762306a36Sopenharmony_ci uint64_t crcerr:1; 111862306a36Sopenharmony_ci uint64_t bckprs:1; 111962306a36Sopenharmony_ci uint64_t prtnxa:1; 112062306a36Sopenharmony_ci uint64_t badtag:1; 112162306a36Sopenharmony_ci uint64_t skprunt:1; 112262306a36Sopenharmony_ci uint64_t todoovr:1; 112362306a36Sopenharmony_ci uint64_t feperr:1; 112462306a36Sopenharmony_ci uint64_t beperr:1; 112562306a36Sopenharmony_ci uint64_t reserved_9_63:55; 112662306a36Sopenharmony_ci#endif 112762306a36Sopenharmony_ci } cn30xx; 112862306a36Sopenharmony_ci struct cvmx_pip_int_reg_cn50xx { 112962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 113062306a36Sopenharmony_ci uint64_t reserved_12_63:52; 113162306a36Sopenharmony_ci uint64_t lenerr:1; 113262306a36Sopenharmony_ci uint64_t maxerr:1; 113362306a36Sopenharmony_ci uint64_t minerr:1; 113462306a36Sopenharmony_ci uint64_t beperr:1; 113562306a36Sopenharmony_ci uint64_t feperr:1; 113662306a36Sopenharmony_ci uint64_t todoovr:1; 113762306a36Sopenharmony_ci uint64_t skprunt:1; 113862306a36Sopenharmony_ci uint64_t badtag:1; 113962306a36Sopenharmony_ci uint64_t prtnxa:1; 114062306a36Sopenharmony_ci uint64_t bckprs:1; 114162306a36Sopenharmony_ci uint64_t reserved_1_1:1; 114262306a36Sopenharmony_ci uint64_t pktdrp:1; 114362306a36Sopenharmony_ci#else 114462306a36Sopenharmony_ci uint64_t pktdrp:1; 114562306a36Sopenharmony_ci uint64_t reserved_1_1:1; 114662306a36Sopenharmony_ci uint64_t bckprs:1; 114762306a36Sopenharmony_ci uint64_t prtnxa:1; 114862306a36Sopenharmony_ci uint64_t badtag:1; 114962306a36Sopenharmony_ci uint64_t skprunt:1; 115062306a36Sopenharmony_ci uint64_t todoovr:1; 115162306a36Sopenharmony_ci uint64_t feperr:1; 115262306a36Sopenharmony_ci uint64_t beperr:1; 115362306a36Sopenharmony_ci uint64_t minerr:1; 115462306a36Sopenharmony_ci uint64_t maxerr:1; 115562306a36Sopenharmony_ci uint64_t lenerr:1; 115662306a36Sopenharmony_ci uint64_t reserved_12_63:52; 115762306a36Sopenharmony_ci#endif 115862306a36Sopenharmony_ci } cn50xx; 115962306a36Sopenharmony_ci struct cvmx_pip_int_reg_cn52xx { 116062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 116162306a36Sopenharmony_ci uint64_t reserved_13_63:51; 116262306a36Sopenharmony_ci uint64_t punyerr:1; 116362306a36Sopenharmony_ci uint64_t lenerr:1; 116462306a36Sopenharmony_ci uint64_t maxerr:1; 116562306a36Sopenharmony_ci uint64_t minerr:1; 116662306a36Sopenharmony_ci uint64_t beperr:1; 116762306a36Sopenharmony_ci uint64_t feperr:1; 116862306a36Sopenharmony_ci uint64_t todoovr:1; 116962306a36Sopenharmony_ci uint64_t skprunt:1; 117062306a36Sopenharmony_ci uint64_t badtag:1; 117162306a36Sopenharmony_ci uint64_t prtnxa:1; 117262306a36Sopenharmony_ci uint64_t bckprs:1; 117362306a36Sopenharmony_ci uint64_t reserved_1_1:1; 117462306a36Sopenharmony_ci uint64_t pktdrp:1; 117562306a36Sopenharmony_ci#else 117662306a36Sopenharmony_ci uint64_t pktdrp:1; 117762306a36Sopenharmony_ci uint64_t reserved_1_1:1; 117862306a36Sopenharmony_ci uint64_t bckprs:1; 117962306a36Sopenharmony_ci uint64_t prtnxa:1; 118062306a36Sopenharmony_ci uint64_t badtag:1; 118162306a36Sopenharmony_ci uint64_t skprunt:1; 118262306a36Sopenharmony_ci uint64_t todoovr:1; 118362306a36Sopenharmony_ci uint64_t feperr:1; 118462306a36Sopenharmony_ci uint64_t beperr:1; 118562306a36Sopenharmony_ci uint64_t minerr:1; 118662306a36Sopenharmony_ci uint64_t maxerr:1; 118762306a36Sopenharmony_ci uint64_t lenerr:1; 118862306a36Sopenharmony_ci uint64_t punyerr:1; 118962306a36Sopenharmony_ci uint64_t reserved_13_63:51; 119062306a36Sopenharmony_ci#endif 119162306a36Sopenharmony_ci } cn52xx; 119262306a36Sopenharmony_ci struct cvmx_pip_int_reg_cn56xxp1 { 119362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 119462306a36Sopenharmony_ci uint64_t reserved_12_63:52; 119562306a36Sopenharmony_ci uint64_t lenerr:1; 119662306a36Sopenharmony_ci uint64_t maxerr:1; 119762306a36Sopenharmony_ci uint64_t minerr:1; 119862306a36Sopenharmony_ci uint64_t beperr:1; 119962306a36Sopenharmony_ci uint64_t feperr:1; 120062306a36Sopenharmony_ci uint64_t todoovr:1; 120162306a36Sopenharmony_ci uint64_t skprunt:1; 120262306a36Sopenharmony_ci uint64_t badtag:1; 120362306a36Sopenharmony_ci uint64_t prtnxa:1; 120462306a36Sopenharmony_ci uint64_t bckprs:1; 120562306a36Sopenharmony_ci uint64_t crcerr:1; 120662306a36Sopenharmony_ci uint64_t pktdrp:1; 120762306a36Sopenharmony_ci#else 120862306a36Sopenharmony_ci uint64_t pktdrp:1; 120962306a36Sopenharmony_ci uint64_t crcerr:1; 121062306a36Sopenharmony_ci uint64_t bckprs:1; 121162306a36Sopenharmony_ci uint64_t prtnxa:1; 121262306a36Sopenharmony_ci uint64_t badtag:1; 121362306a36Sopenharmony_ci uint64_t skprunt:1; 121462306a36Sopenharmony_ci uint64_t todoovr:1; 121562306a36Sopenharmony_ci uint64_t feperr:1; 121662306a36Sopenharmony_ci uint64_t beperr:1; 121762306a36Sopenharmony_ci uint64_t minerr:1; 121862306a36Sopenharmony_ci uint64_t maxerr:1; 121962306a36Sopenharmony_ci uint64_t lenerr:1; 122062306a36Sopenharmony_ci uint64_t reserved_12_63:52; 122162306a36Sopenharmony_ci#endif 122262306a36Sopenharmony_ci } cn56xxp1; 122362306a36Sopenharmony_ci struct cvmx_pip_int_reg_cn58xx { 122462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 122562306a36Sopenharmony_ci uint64_t reserved_13_63:51; 122662306a36Sopenharmony_ci uint64_t punyerr:1; 122762306a36Sopenharmony_ci uint64_t reserved_9_11:3; 122862306a36Sopenharmony_ci uint64_t beperr:1; 122962306a36Sopenharmony_ci uint64_t feperr:1; 123062306a36Sopenharmony_ci uint64_t todoovr:1; 123162306a36Sopenharmony_ci uint64_t skprunt:1; 123262306a36Sopenharmony_ci uint64_t badtag:1; 123362306a36Sopenharmony_ci uint64_t prtnxa:1; 123462306a36Sopenharmony_ci uint64_t bckprs:1; 123562306a36Sopenharmony_ci uint64_t crcerr:1; 123662306a36Sopenharmony_ci uint64_t pktdrp:1; 123762306a36Sopenharmony_ci#else 123862306a36Sopenharmony_ci uint64_t pktdrp:1; 123962306a36Sopenharmony_ci uint64_t crcerr:1; 124062306a36Sopenharmony_ci uint64_t bckprs:1; 124162306a36Sopenharmony_ci uint64_t prtnxa:1; 124262306a36Sopenharmony_ci uint64_t badtag:1; 124362306a36Sopenharmony_ci uint64_t skprunt:1; 124462306a36Sopenharmony_ci uint64_t todoovr:1; 124562306a36Sopenharmony_ci uint64_t feperr:1; 124662306a36Sopenharmony_ci uint64_t beperr:1; 124762306a36Sopenharmony_ci uint64_t reserved_9_11:3; 124862306a36Sopenharmony_ci uint64_t punyerr:1; 124962306a36Sopenharmony_ci uint64_t reserved_13_63:51; 125062306a36Sopenharmony_ci#endif 125162306a36Sopenharmony_ci } cn58xx; 125262306a36Sopenharmony_ci}; 125362306a36Sopenharmony_ci 125462306a36Sopenharmony_ciunion cvmx_pip_ip_offset { 125562306a36Sopenharmony_ci uint64_t u64; 125662306a36Sopenharmony_ci struct cvmx_pip_ip_offset_s { 125762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 125862306a36Sopenharmony_ci uint64_t reserved_3_63:61; 125962306a36Sopenharmony_ci uint64_t offset:3; 126062306a36Sopenharmony_ci#else 126162306a36Sopenharmony_ci uint64_t offset:3; 126262306a36Sopenharmony_ci uint64_t reserved_3_63:61; 126362306a36Sopenharmony_ci#endif 126462306a36Sopenharmony_ci } s; 126562306a36Sopenharmony_ci}; 126662306a36Sopenharmony_ci 126762306a36Sopenharmony_ciunion cvmx_pip_pri_tblx { 126862306a36Sopenharmony_ci uint64_t u64; 126962306a36Sopenharmony_ci struct cvmx_pip_pri_tblx_s { 127062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 127162306a36Sopenharmony_ci uint64_t diff2_padd:8; 127262306a36Sopenharmony_ci uint64_t hg2_padd:8; 127362306a36Sopenharmony_ci uint64_t vlan2_padd:8; 127462306a36Sopenharmony_ci uint64_t reserved_38_39:2; 127562306a36Sopenharmony_ci uint64_t diff2_bpid:6; 127662306a36Sopenharmony_ci uint64_t reserved_30_31:2; 127762306a36Sopenharmony_ci uint64_t hg2_bpid:6; 127862306a36Sopenharmony_ci uint64_t reserved_22_23:2; 127962306a36Sopenharmony_ci uint64_t vlan2_bpid:6; 128062306a36Sopenharmony_ci uint64_t reserved_11_15:5; 128162306a36Sopenharmony_ci uint64_t diff2_qos:3; 128262306a36Sopenharmony_ci uint64_t reserved_7_7:1; 128362306a36Sopenharmony_ci uint64_t hg2_qos:3; 128462306a36Sopenharmony_ci uint64_t reserved_3_3:1; 128562306a36Sopenharmony_ci uint64_t vlan2_qos:3; 128662306a36Sopenharmony_ci#else 128762306a36Sopenharmony_ci uint64_t vlan2_qos:3; 128862306a36Sopenharmony_ci uint64_t reserved_3_3:1; 128962306a36Sopenharmony_ci uint64_t hg2_qos:3; 129062306a36Sopenharmony_ci uint64_t reserved_7_7:1; 129162306a36Sopenharmony_ci uint64_t diff2_qos:3; 129262306a36Sopenharmony_ci uint64_t reserved_11_15:5; 129362306a36Sopenharmony_ci uint64_t vlan2_bpid:6; 129462306a36Sopenharmony_ci uint64_t reserved_22_23:2; 129562306a36Sopenharmony_ci uint64_t hg2_bpid:6; 129662306a36Sopenharmony_ci uint64_t reserved_30_31:2; 129762306a36Sopenharmony_ci uint64_t diff2_bpid:6; 129862306a36Sopenharmony_ci uint64_t reserved_38_39:2; 129962306a36Sopenharmony_ci uint64_t vlan2_padd:8; 130062306a36Sopenharmony_ci uint64_t hg2_padd:8; 130162306a36Sopenharmony_ci uint64_t diff2_padd:8; 130262306a36Sopenharmony_ci#endif 130362306a36Sopenharmony_ci } s; 130462306a36Sopenharmony_ci}; 130562306a36Sopenharmony_ci 130662306a36Sopenharmony_ciunion cvmx_pip_prt_cfgx { 130762306a36Sopenharmony_ci uint64_t u64; 130862306a36Sopenharmony_ci struct cvmx_pip_prt_cfgx_s { 130962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 131062306a36Sopenharmony_ci uint64_t reserved_55_63:9; 131162306a36Sopenharmony_ci uint64_t ih_pri:1; 131262306a36Sopenharmony_ci uint64_t len_chk_sel:1; 131362306a36Sopenharmony_ci uint64_t pad_len:1; 131462306a36Sopenharmony_ci uint64_t vlan_len:1; 131562306a36Sopenharmony_ci uint64_t lenerr_en:1; 131662306a36Sopenharmony_ci uint64_t maxerr_en:1; 131762306a36Sopenharmony_ci uint64_t minerr_en:1; 131862306a36Sopenharmony_ci uint64_t grp_wat_47:4; 131962306a36Sopenharmony_ci uint64_t qos_wat_47:4; 132062306a36Sopenharmony_ci uint64_t reserved_37_39:3; 132162306a36Sopenharmony_ci uint64_t rawdrp:1; 132262306a36Sopenharmony_ci uint64_t tag_inc:2; 132362306a36Sopenharmony_ci uint64_t dyn_rs:1; 132462306a36Sopenharmony_ci uint64_t inst_hdr:1; 132562306a36Sopenharmony_ci uint64_t grp_wat:4; 132662306a36Sopenharmony_ci uint64_t hg_qos:1; 132762306a36Sopenharmony_ci uint64_t qos:3; 132862306a36Sopenharmony_ci uint64_t qos_wat:4; 132962306a36Sopenharmony_ci uint64_t qos_vsel:1; 133062306a36Sopenharmony_ci uint64_t qos_vod:1; 133162306a36Sopenharmony_ci uint64_t qos_diff:1; 133262306a36Sopenharmony_ci uint64_t qos_vlan:1; 133362306a36Sopenharmony_ci uint64_t reserved_13_15:3; 133462306a36Sopenharmony_ci uint64_t crc_en:1; 133562306a36Sopenharmony_ci uint64_t higig_en:1; 133662306a36Sopenharmony_ci uint64_t dsa_en:1; 133762306a36Sopenharmony_ci uint64_t mode:2; 133862306a36Sopenharmony_ci uint64_t reserved_7_7:1; 133962306a36Sopenharmony_ci uint64_t skip:7; 134062306a36Sopenharmony_ci#else 134162306a36Sopenharmony_ci uint64_t skip:7; 134262306a36Sopenharmony_ci uint64_t reserved_7_7:1; 134362306a36Sopenharmony_ci uint64_t mode:2; 134462306a36Sopenharmony_ci uint64_t dsa_en:1; 134562306a36Sopenharmony_ci uint64_t higig_en:1; 134662306a36Sopenharmony_ci uint64_t crc_en:1; 134762306a36Sopenharmony_ci uint64_t reserved_13_15:3; 134862306a36Sopenharmony_ci uint64_t qos_vlan:1; 134962306a36Sopenharmony_ci uint64_t qos_diff:1; 135062306a36Sopenharmony_ci uint64_t qos_vod:1; 135162306a36Sopenharmony_ci uint64_t qos_vsel:1; 135262306a36Sopenharmony_ci uint64_t qos_wat:4; 135362306a36Sopenharmony_ci uint64_t qos:3; 135462306a36Sopenharmony_ci uint64_t hg_qos:1; 135562306a36Sopenharmony_ci uint64_t grp_wat:4; 135662306a36Sopenharmony_ci uint64_t inst_hdr:1; 135762306a36Sopenharmony_ci uint64_t dyn_rs:1; 135862306a36Sopenharmony_ci uint64_t tag_inc:2; 135962306a36Sopenharmony_ci uint64_t rawdrp:1; 136062306a36Sopenharmony_ci uint64_t reserved_37_39:3; 136162306a36Sopenharmony_ci uint64_t qos_wat_47:4; 136262306a36Sopenharmony_ci uint64_t grp_wat_47:4; 136362306a36Sopenharmony_ci uint64_t minerr_en:1; 136462306a36Sopenharmony_ci uint64_t maxerr_en:1; 136562306a36Sopenharmony_ci uint64_t lenerr_en:1; 136662306a36Sopenharmony_ci uint64_t vlan_len:1; 136762306a36Sopenharmony_ci uint64_t pad_len:1; 136862306a36Sopenharmony_ci uint64_t len_chk_sel:1; 136962306a36Sopenharmony_ci uint64_t ih_pri:1; 137062306a36Sopenharmony_ci uint64_t reserved_55_63:9; 137162306a36Sopenharmony_ci#endif 137262306a36Sopenharmony_ci } s; 137362306a36Sopenharmony_ci struct cvmx_pip_prt_cfgx_cn30xx { 137462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 137562306a36Sopenharmony_ci uint64_t reserved_37_63:27; 137662306a36Sopenharmony_ci uint64_t rawdrp:1; 137762306a36Sopenharmony_ci uint64_t tag_inc:2; 137862306a36Sopenharmony_ci uint64_t dyn_rs:1; 137962306a36Sopenharmony_ci uint64_t inst_hdr:1; 138062306a36Sopenharmony_ci uint64_t grp_wat:4; 138162306a36Sopenharmony_ci uint64_t reserved_27_27:1; 138262306a36Sopenharmony_ci uint64_t qos:3; 138362306a36Sopenharmony_ci uint64_t qos_wat:4; 138462306a36Sopenharmony_ci uint64_t reserved_18_19:2; 138562306a36Sopenharmony_ci uint64_t qos_diff:1; 138662306a36Sopenharmony_ci uint64_t qos_vlan:1; 138762306a36Sopenharmony_ci uint64_t reserved_10_15:6; 138862306a36Sopenharmony_ci uint64_t mode:2; 138962306a36Sopenharmony_ci uint64_t reserved_7_7:1; 139062306a36Sopenharmony_ci uint64_t skip:7; 139162306a36Sopenharmony_ci#else 139262306a36Sopenharmony_ci uint64_t skip:7; 139362306a36Sopenharmony_ci uint64_t reserved_7_7:1; 139462306a36Sopenharmony_ci uint64_t mode:2; 139562306a36Sopenharmony_ci uint64_t reserved_10_15:6; 139662306a36Sopenharmony_ci uint64_t qos_vlan:1; 139762306a36Sopenharmony_ci uint64_t qos_diff:1; 139862306a36Sopenharmony_ci uint64_t reserved_18_19:2; 139962306a36Sopenharmony_ci uint64_t qos_wat:4; 140062306a36Sopenharmony_ci uint64_t qos:3; 140162306a36Sopenharmony_ci uint64_t reserved_27_27:1; 140262306a36Sopenharmony_ci uint64_t grp_wat:4; 140362306a36Sopenharmony_ci uint64_t inst_hdr:1; 140462306a36Sopenharmony_ci uint64_t dyn_rs:1; 140562306a36Sopenharmony_ci uint64_t tag_inc:2; 140662306a36Sopenharmony_ci uint64_t rawdrp:1; 140762306a36Sopenharmony_ci uint64_t reserved_37_63:27; 140862306a36Sopenharmony_ci#endif 140962306a36Sopenharmony_ci } cn30xx; 141062306a36Sopenharmony_ci struct cvmx_pip_prt_cfgx_cn38xx { 141162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 141262306a36Sopenharmony_ci uint64_t reserved_37_63:27; 141362306a36Sopenharmony_ci uint64_t rawdrp:1; 141462306a36Sopenharmony_ci uint64_t tag_inc:2; 141562306a36Sopenharmony_ci uint64_t dyn_rs:1; 141662306a36Sopenharmony_ci uint64_t inst_hdr:1; 141762306a36Sopenharmony_ci uint64_t grp_wat:4; 141862306a36Sopenharmony_ci uint64_t reserved_27_27:1; 141962306a36Sopenharmony_ci uint64_t qos:3; 142062306a36Sopenharmony_ci uint64_t qos_wat:4; 142162306a36Sopenharmony_ci uint64_t reserved_18_19:2; 142262306a36Sopenharmony_ci uint64_t qos_diff:1; 142362306a36Sopenharmony_ci uint64_t qos_vlan:1; 142462306a36Sopenharmony_ci uint64_t reserved_13_15:3; 142562306a36Sopenharmony_ci uint64_t crc_en:1; 142662306a36Sopenharmony_ci uint64_t reserved_10_11:2; 142762306a36Sopenharmony_ci uint64_t mode:2; 142862306a36Sopenharmony_ci uint64_t reserved_7_7:1; 142962306a36Sopenharmony_ci uint64_t skip:7; 143062306a36Sopenharmony_ci#else 143162306a36Sopenharmony_ci uint64_t skip:7; 143262306a36Sopenharmony_ci uint64_t reserved_7_7:1; 143362306a36Sopenharmony_ci uint64_t mode:2; 143462306a36Sopenharmony_ci uint64_t reserved_10_11:2; 143562306a36Sopenharmony_ci uint64_t crc_en:1; 143662306a36Sopenharmony_ci uint64_t reserved_13_15:3; 143762306a36Sopenharmony_ci uint64_t qos_vlan:1; 143862306a36Sopenharmony_ci uint64_t qos_diff:1; 143962306a36Sopenharmony_ci uint64_t reserved_18_19:2; 144062306a36Sopenharmony_ci uint64_t qos_wat:4; 144162306a36Sopenharmony_ci uint64_t qos:3; 144262306a36Sopenharmony_ci uint64_t reserved_27_27:1; 144362306a36Sopenharmony_ci uint64_t grp_wat:4; 144462306a36Sopenharmony_ci uint64_t inst_hdr:1; 144562306a36Sopenharmony_ci uint64_t dyn_rs:1; 144662306a36Sopenharmony_ci uint64_t tag_inc:2; 144762306a36Sopenharmony_ci uint64_t rawdrp:1; 144862306a36Sopenharmony_ci uint64_t reserved_37_63:27; 144962306a36Sopenharmony_ci#endif 145062306a36Sopenharmony_ci } cn38xx; 145162306a36Sopenharmony_ci struct cvmx_pip_prt_cfgx_cn50xx { 145262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 145362306a36Sopenharmony_ci uint64_t reserved_53_63:11; 145462306a36Sopenharmony_ci uint64_t pad_len:1; 145562306a36Sopenharmony_ci uint64_t vlan_len:1; 145662306a36Sopenharmony_ci uint64_t lenerr_en:1; 145762306a36Sopenharmony_ci uint64_t maxerr_en:1; 145862306a36Sopenharmony_ci uint64_t minerr_en:1; 145962306a36Sopenharmony_ci uint64_t grp_wat_47:4; 146062306a36Sopenharmony_ci uint64_t qos_wat_47:4; 146162306a36Sopenharmony_ci uint64_t reserved_37_39:3; 146262306a36Sopenharmony_ci uint64_t rawdrp:1; 146362306a36Sopenharmony_ci uint64_t tag_inc:2; 146462306a36Sopenharmony_ci uint64_t dyn_rs:1; 146562306a36Sopenharmony_ci uint64_t inst_hdr:1; 146662306a36Sopenharmony_ci uint64_t grp_wat:4; 146762306a36Sopenharmony_ci uint64_t reserved_27_27:1; 146862306a36Sopenharmony_ci uint64_t qos:3; 146962306a36Sopenharmony_ci uint64_t qos_wat:4; 147062306a36Sopenharmony_ci uint64_t reserved_19_19:1; 147162306a36Sopenharmony_ci uint64_t qos_vod:1; 147262306a36Sopenharmony_ci uint64_t qos_diff:1; 147362306a36Sopenharmony_ci uint64_t qos_vlan:1; 147462306a36Sopenharmony_ci uint64_t reserved_13_15:3; 147562306a36Sopenharmony_ci uint64_t crc_en:1; 147662306a36Sopenharmony_ci uint64_t reserved_10_11:2; 147762306a36Sopenharmony_ci uint64_t mode:2; 147862306a36Sopenharmony_ci uint64_t reserved_7_7:1; 147962306a36Sopenharmony_ci uint64_t skip:7; 148062306a36Sopenharmony_ci#else 148162306a36Sopenharmony_ci uint64_t skip:7; 148262306a36Sopenharmony_ci uint64_t reserved_7_7:1; 148362306a36Sopenharmony_ci uint64_t mode:2; 148462306a36Sopenharmony_ci uint64_t reserved_10_11:2; 148562306a36Sopenharmony_ci uint64_t crc_en:1; 148662306a36Sopenharmony_ci uint64_t reserved_13_15:3; 148762306a36Sopenharmony_ci uint64_t qos_vlan:1; 148862306a36Sopenharmony_ci uint64_t qos_diff:1; 148962306a36Sopenharmony_ci uint64_t qos_vod:1; 149062306a36Sopenharmony_ci uint64_t reserved_19_19:1; 149162306a36Sopenharmony_ci uint64_t qos_wat:4; 149262306a36Sopenharmony_ci uint64_t qos:3; 149362306a36Sopenharmony_ci uint64_t reserved_27_27:1; 149462306a36Sopenharmony_ci uint64_t grp_wat:4; 149562306a36Sopenharmony_ci uint64_t inst_hdr:1; 149662306a36Sopenharmony_ci uint64_t dyn_rs:1; 149762306a36Sopenharmony_ci uint64_t tag_inc:2; 149862306a36Sopenharmony_ci uint64_t rawdrp:1; 149962306a36Sopenharmony_ci uint64_t reserved_37_39:3; 150062306a36Sopenharmony_ci uint64_t qos_wat_47:4; 150162306a36Sopenharmony_ci uint64_t grp_wat_47:4; 150262306a36Sopenharmony_ci uint64_t minerr_en:1; 150362306a36Sopenharmony_ci uint64_t maxerr_en:1; 150462306a36Sopenharmony_ci uint64_t lenerr_en:1; 150562306a36Sopenharmony_ci uint64_t vlan_len:1; 150662306a36Sopenharmony_ci uint64_t pad_len:1; 150762306a36Sopenharmony_ci uint64_t reserved_53_63:11; 150862306a36Sopenharmony_ci#endif 150962306a36Sopenharmony_ci } cn50xx; 151062306a36Sopenharmony_ci struct cvmx_pip_prt_cfgx_cn52xx { 151162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 151262306a36Sopenharmony_ci uint64_t reserved_53_63:11; 151362306a36Sopenharmony_ci uint64_t pad_len:1; 151462306a36Sopenharmony_ci uint64_t vlan_len:1; 151562306a36Sopenharmony_ci uint64_t lenerr_en:1; 151662306a36Sopenharmony_ci uint64_t maxerr_en:1; 151762306a36Sopenharmony_ci uint64_t minerr_en:1; 151862306a36Sopenharmony_ci uint64_t grp_wat_47:4; 151962306a36Sopenharmony_ci uint64_t qos_wat_47:4; 152062306a36Sopenharmony_ci uint64_t reserved_37_39:3; 152162306a36Sopenharmony_ci uint64_t rawdrp:1; 152262306a36Sopenharmony_ci uint64_t tag_inc:2; 152362306a36Sopenharmony_ci uint64_t dyn_rs:1; 152462306a36Sopenharmony_ci uint64_t inst_hdr:1; 152562306a36Sopenharmony_ci uint64_t grp_wat:4; 152662306a36Sopenharmony_ci uint64_t hg_qos:1; 152762306a36Sopenharmony_ci uint64_t qos:3; 152862306a36Sopenharmony_ci uint64_t qos_wat:4; 152962306a36Sopenharmony_ci uint64_t qos_vsel:1; 153062306a36Sopenharmony_ci uint64_t qos_vod:1; 153162306a36Sopenharmony_ci uint64_t qos_diff:1; 153262306a36Sopenharmony_ci uint64_t qos_vlan:1; 153362306a36Sopenharmony_ci uint64_t reserved_13_15:3; 153462306a36Sopenharmony_ci uint64_t crc_en:1; 153562306a36Sopenharmony_ci uint64_t higig_en:1; 153662306a36Sopenharmony_ci uint64_t dsa_en:1; 153762306a36Sopenharmony_ci uint64_t mode:2; 153862306a36Sopenharmony_ci uint64_t reserved_7_7:1; 153962306a36Sopenharmony_ci uint64_t skip:7; 154062306a36Sopenharmony_ci#else 154162306a36Sopenharmony_ci uint64_t skip:7; 154262306a36Sopenharmony_ci uint64_t reserved_7_7:1; 154362306a36Sopenharmony_ci uint64_t mode:2; 154462306a36Sopenharmony_ci uint64_t dsa_en:1; 154562306a36Sopenharmony_ci uint64_t higig_en:1; 154662306a36Sopenharmony_ci uint64_t crc_en:1; 154762306a36Sopenharmony_ci uint64_t reserved_13_15:3; 154862306a36Sopenharmony_ci uint64_t qos_vlan:1; 154962306a36Sopenharmony_ci uint64_t qos_diff:1; 155062306a36Sopenharmony_ci uint64_t qos_vod:1; 155162306a36Sopenharmony_ci uint64_t qos_vsel:1; 155262306a36Sopenharmony_ci uint64_t qos_wat:4; 155362306a36Sopenharmony_ci uint64_t qos:3; 155462306a36Sopenharmony_ci uint64_t hg_qos:1; 155562306a36Sopenharmony_ci uint64_t grp_wat:4; 155662306a36Sopenharmony_ci uint64_t inst_hdr:1; 155762306a36Sopenharmony_ci uint64_t dyn_rs:1; 155862306a36Sopenharmony_ci uint64_t tag_inc:2; 155962306a36Sopenharmony_ci uint64_t rawdrp:1; 156062306a36Sopenharmony_ci uint64_t reserved_37_39:3; 156162306a36Sopenharmony_ci uint64_t qos_wat_47:4; 156262306a36Sopenharmony_ci uint64_t grp_wat_47:4; 156362306a36Sopenharmony_ci uint64_t minerr_en:1; 156462306a36Sopenharmony_ci uint64_t maxerr_en:1; 156562306a36Sopenharmony_ci uint64_t lenerr_en:1; 156662306a36Sopenharmony_ci uint64_t vlan_len:1; 156762306a36Sopenharmony_ci uint64_t pad_len:1; 156862306a36Sopenharmony_ci uint64_t reserved_53_63:11; 156962306a36Sopenharmony_ci#endif 157062306a36Sopenharmony_ci } cn52xx; 157162306a36Sopenharmony_ci struct cvmx_pip_prt_cfgx_cn58xx { 157262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 157362306a36Sopenharmony_ci uint64_t reserved_37_63:27; 157462306a36Sopenharmony_ci uint64_t rawdrp:1; 157562306a36Sopenharmony_ci uint64_t tag_inc:2; 157662306a36Sopenharmony_ci uint64_t dyn_rs:1; 157762306a36Sopenharmony_ci uint64_t inst_hdr:1; 157862306a36Sopenharmony_ci uint64_t grp_wat:4; 157962306a36Sopenharmony_ci uint64_t reserved_27_27:1; 158062306a36Sopenharmony_ci uint64_t qos:3; 158162306a36Sopenharmony_ci uint64_t qos_wat:4; 158262306a36Sopenharmony_ci uint64_t reserved_19_19:1; 158362306a36Sopenharmony_ci uint64_t qos_vod:1; 158462306a36Sopenharmony_ci uint64_t qos_diff:1; 158562306a36Sopenharmony_ci uint64_t qos_vlan:1; 158662306a36Sopenharmony_ci uint64_t reserved_13_15:3; 158762306a36Sopenharmony_ci uint64_t crc_en:1; 158862306a36Sopenharmony_ci uint64_t reserved_10_11:2; 158962306a36Sopenharmony_ci uint64_t mode:2; 159062306a36Sopenharmony_ci uint64_t reserved_7_7:1; 159162306a36Sopenharmony_ci uint64_t skip:7; 159262306a36Sopenharmony_ci#else 159362306a36Sopenharmony_ci uint64_t skip:7; 159462306a36Sopenharmony_ci uint64_t reserved_7_7:1; 159562306a36Sopenharmony_ci uint64_t mode:2; 159662306a36Sopenharmony_ci uint64_t reserved_10_11:2; 159762306a36Sopenharmony_ci uint64_t crc_en:1; 159862306a36Sopenharmony_ci uint64_t reserved_13_15:3; 159962306a36Sopenharmony_ci uint64_t qos_vlan:1; 160062306a36Sopenharmony_ci uint64_t qos_diff:1; 160162306a36Sopenharmony_ci uint64_t qos_vod:1; 160262306a36Sopenharmony_ci uint64_t reserved_19_19:1; 160362306a36Sopenharmony_ci uint64_t qos_wat:4; 160462306a36Sopenharmony_ci uint64_t qos:3; 160562306a36Sopenharmony_ci uint64_t reserved_27_27:1; 160662306a36Sopenharmony_ci uint64_t grp_wat:4; 160762306a36Sopenharmony_ci uint64_t inst_hdr:1; 160862306a36Sopenharmony_ci uint64_t dyn_rs:1; 160962306a36Sopenharmony_ci uint64_t tag_inc:2; 161062306a36Sopenharmony_ci uint64_t rawdrp:1; 161162306a36Sopenharmony_ci uint64_t reserved_37_63:27; 161262306a36Sopenharmony_ci#endif 161362306a36Sopenharmony_ci } cn58xx; 161462306a36Sopenharmony_ci struct cvmx_pip_prt_cfgx_cn68xx { 161562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 161662306a36Sopenharmony_ci uint64_t reserved_55_63:9; 161762306a36Sopenharmony_ci uint64_t ih_pri:1; 161862306a36Sopenharmony_ci uint64_t len_chk_sel:1; 161962306a36Sopenharmony_ci uint64_t pad_len:1; 162062306a36Sopenharmony_ci uint64_t vlan_len:1; 162162306a36Sopenharmony_ci uint64_t lenerr_en:1; 162262306a36Sopenharmony_ci uint64_t maxerr_en:1; 162362306a36Sopenharmony_ci uint64_t minerr_en:1; 162462306a36Sopenharmony_ci uint64_t grp_wat_47:4; 162562306a36Sopenharmony_ci uint64_t qos_wat_47:4; 162662306a36Sopenharmony_ci uint64_t reserved_37_39:3; 162762306a36Sopenharmony_ci uint64_t rawdrp:1; 162862306a36Sopenharmony_ci uint64_t tag_inc:2; 162962306a36Sopenharmony_ci uint64_t dyn_rs:1; 163062306a36Sopenharmony_ci uint64_t inst_hdr:1; 163162306a36Sopenharmony_ci uint64_t grp_wat:4; 163262306a36Sopenharmony_ci uint64_t hg_qos:1; 163362306a36Sopenharmony_ci uint64_t qos:3; 163462306a36Sopenharmony_ci uint64_t qos_wat:4; 163562306a36Sopenharmony_ci uint64_t reserved_19_19:1; 163662306a36Sopenharmony_ci uint64_t qos_vod:1; 163762306a36Sopenharmony_ci uint64_t qos_diff:1; 163862306a36Sopenharmony_ci uint64_t qos_vlan:1; 163962306a36Sopenharmony_ci uint64_t reserved_13_15:3; 164062306a36Sopenharmony_ci uint64_t crc_en:1; 164162306a36Sopenharmony_ci uint64_t higig_en:1; 164262306a36Sopenharmony_ci uint64_t dsa_en:1; 164362306a36Sopenharmony_ci uint64_t mode:2; 164462306a36Sopenharmony_ci uint64_t reserved_7_7:1; 164562306a36Sopenharmony_ci uint64_t skip:7; 164662306a36Sopenharmony_ci#else 164762306a36Sopenharmony_ci uint64_t skip:7; 164862306a36Sopenharmony_ci uint64_t reserved_7_7:1; 164962306a36Sopenharmony_ci uint64_t mode:2; 165062306a36Sopenharmony_ci uint64_t dsa_en:1; 165162306a36Sopenharmony_ci uint64_t higig_en:1; 165262306a36Sopenharmony_ci uint64_t crc_en:1; 165362306a36Sopenharmony_ci uint64_t reserved_13_15:3; 165462306a36Sopenharmony_ci uint64_t qos_vlan:1; 165562306a36Sopenharmony_ci uint64_t qos_diff:1; 165662306a36Sopenharmony_ci uint64_t qos_vod:1; 165762306a36Sopenharmony_ci uint64_t reserved_19_19:1; 165862306a36Sopenharmony_ci uint64_t qos_wat:4; 165962306a36Sopenharmony_ci uint64_t qos:3; 166062306a36Sopenharmony_ci uint64_t hg_qos:1; 166162306a36Sopenharmony_ci uint64_t grp_wat:4; 166262306a36Sopenharmony_ci uint64_t inst_hdr:1; 166362306a36Sopenharmony_ci uint64_t dyn_rs:1; 166462306a36Sopenharmony_ci uint64_t tag_inc:2; 166562306a36Sopenharmony_ci uint64_t rawdrp:1; 166662306a36Sopenharmony_ci uint64_t reserved_37_39:3; 166762306a36Sopenharmony_ci uint64_t qos_wat_47:4; 166862306a36Sopenharmony_ci uint64_t grp_wat_47:4; 166962306a36Sopenharmony_ci uint64_t minerr_en:1; 167062306a36Sopenharmony_ci uint64_t maxerr_en:1; 167162306a36Sopenharmony_ci uint64_t lenerr_en:1; 167262306a36Sopenharmony_ci uint64_t vlan_len:1; 167362306a36Sopenharmony_ci uint64_t pad_len:1; 167462306a36Sopenharmony_ci uint64_t len_chk_sel:1; 167562306a36Sopenharmony_ci uint64_t ih_pri:1; 167662306a36Sopenharmony_ci uint64_t reserved_55_63:9; 167762306a36Sopenharmony_ci#endif 167862306a36Sopenharmony_ci } cn68xx; 167962306a36Sopenharmony_ci}; 168062306a36Sopenharmony_ci 168162306a36Sopenharmony_ciunion cvmx_pip_prt_cfgbx { 168262306a36Sopenharmony_ci uint64_t u64; 168362306a36Sopenharmony_ci struct cvmx_pip_prt_cfgbx_s { 168462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 168562306a36Sopenharmony_ci uint64_t reserved_39_63:25; 168662306a36Sopenharmony_ci uint64_t alt_skp_sel:2; 168762306a36Sopenharmony_ci uint64_t alt_skp_en:1; 168862306a36Sopenharmony_ci uint64_t reserved_35_35:1; 168962306a36Sopenharmony_ci uint64_t bsel_num:2; 169062306a36Sopenharmony_ci uint64_t bsel_en:1; 169162306a36Sopenharmony_ci uint64_t reserved_24_31:8; 169262306a36Sopenharmony_ci uint64_t base:8; 169362306a36Sopenharmony_ci uint64_t reserved_6_15:10; 169462306a36Sopenharmony_ci uint64_t bpid:6; 169562306a36Sopenharmony_ci#else 169662306a36Sopenharmony_ci uint64_t bpid:6; 169762306a36Sopenharmony_ci uint64_t reserved_6_15:10; 169862306a36Sopenharmony_ci uint64_t base:8; 169962306a36Sopenharmony_ci uint64_t reserved_24_31:8; 170062306a36Sopenharmony_ci uint64_t bsel_en:1; 170162306a36Sopenharmony_ci uint64_t bsel_num:2; 170262306a36Sopenharmony_ci uint64_t reserved_35_35:1; 170362306a36Sopenharmony_ci uint64_t alt_skp_en:1; 170462306a36Sopenharmony_ci uint64_t alt_skp_sel:2; 170562306a36Sopenharmony_ci uint64_t reserved_39_63:25; 170662306a36Sopenharmony_ci#endif 170762306a36Sopenharmony_ci } s; 170862306a36Sopenharmony_ci struct cvmx_pip_prt_cfgbx_cn61xx { 170962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 171062306a36Sopenharmony_ci uint64_t reserved_39_63:25; 171162306a36Sopenharmony_ci uint64_t alt_skp_sel:2; 171262306a36Sopenharmony_ci uint64_t alt_skp_en:1; 171362306a36Sopenharmony_ci uint64_t reserved_35_35:1; 171462306a36Sopenharmony_ci uint64_t bsel_num:2; 171562306a36Sopenharmony_ci uint64_t bsel_en:1; 171662306a36Sopenharmony_ci uint64_t reserved_0_31:32; 171762306a36Sopenharmony_ci#else 171862306a36Sopenharmony_ci uint64_t reserved_0_31:32; 171962306a36Sopenharmony_ci uint64_t bsel_en:1; 172062306a36Sopenharmony_ci uint64_t bsel_num:2; 172162306a36Sopenharmony_ci uint64_t reserved_35_35:1; 172262306a36Sopenharmony_ci uint64_t alt_skp_en:1; 172362306a36Sopenharmony_ci uint64_t alt_skp_sel:2; 172462306a36Sopenharmony_ci uint64_t reserved_39_63:25; 172562306a36Sopenharmony_ci#endif 172662306a36Sopenharmony_ci } cn61xx; 172762306a36Sopenharmony_ci struct cvmx_pip_prt_cfgbx_cn66xx { 172862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 172962306a36Sopenharmony_ci uint64_t reserved_39_63:25; 173062306a36Sopenharmony_ci uint64_t alt_skp_sel:2; 173162306a36Sopenharmony_ci uint64_t alt_skp_en:1; 173262306a36Sopenharmony_ci uint64_t reserved_0_35:36; 173362306a36Sopenharmony_ci#else 173462306a36Sopenharmony_ci uint64_t reserved_0_35:36; 173562306a36Sopenharmony_ci uint64_t alt_skp_en:1; 173662306a36Sopenharmony_ci uint64_t alt_skp_sel:2; 173762306a36Sopenharmony_ci uint64_t reserved_39_63:25; 173862306a36Sopenharmony_ci#endif 173962306a36Sopenharmony_ci } cn66xx; 174062306a36Sopenharmony_ci struct cvmx_pip_prt_cfgbx_cn68xxp1 { 174162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 174262306a36Sopenharmony_ci uint64_t reserved_24_63:40; 174362306a36Sopenharmony_ci uint64_t base:8; 174462306a36Sopenharmony_ci uint64_t reserved_6_15:10; 174562306a36Sopenharmony_ci uint64_t bpid:6; 174662306a36Sopenharmony_ci#else 174762306a36Sopenharmony_ci uint64_t bpid:6; 174862306a36Sopenharmony_ci uint64_t reserved_6_15:10; 174962306a36Sopenharmony_ci uint64_t base:8; 175062306a36Sopenharmony_ci uint64_t reserved_24_63:40; 175162306a36Sopenharmony_ci#endif 175262306a36Sopenharmony_ci } cn68xxp1; 175362306a36Sopenharmony_ci}; 175462306a36Sopenharmony_ci 175562306a36Sopenharmony_ciunion cvmx_pip_prt_tagx { 175662306a36Sopenharmony_ci uint64_t u64; 175762306a36Sopenharmony_ci struct cvmx_pip_prt_tagx_s { 175862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 175962306a36Sopenharmony_ci uint64_t reserved_54_63:10; 176062306a36Sopenharmony_ci uint64_t portadd_en:1; 176162306a36Sopenharmony_ci uint64_t inc_hwchk:1; 176262306a36Sopenharmony_ci uint64_t reserved_50_51:2; 176362306a36Sopenharmony_ci uint64_t grptagbase_msb:2; 176462306a36Sopenharmony_ci uint64_t reserved_46_47:2; 176562306a36Sopenharmony_ci uint64_t grptagmask_msb:2; 176662306a36Sopenharmony_ci uint64_t reserved_42_43:2; 176762306a36Sopenharmony_ci uint64_t grp_msb:2; 176862306a36Sopenharmony_ci uint64_t grptagbase:4; 176962306a36Sopenharmony_ci uint64_t grptagmask:4; 177062306a36Sopenharmony_ci uint64_t grptag:1; 177162306a36Sopenharmony_ci uint64_t grptag_mskip:1; 177262306a36Sopenharmony_ci uint64_t tag_mode:2; 177362306a36Sopenharmony_ci uint64_t inc_vs:2; 177462306a36Sopenharmony_ci uint64_t inc_vlan:1; 177562306a36Sopenharmony_ci uint64_t inc_prt_flag:1; 177662306a36Sopenharmony_ci uint64_t ip6_dprt_flag:1; 177762306a36Sopenharmony_ci uint64_t ip4_dprt_flag:1; 177862306a36Sopenharmony_ci uint64_t ip6_sprt_flag:1; 177962306a36Sopenharmony_ci uint64_t ip4_sprt_flag:1; 178062306a36Sopenharmony_ci uint64_t ip6_nxth_flag:1; 178162306a36Sopenharmony_ci uint64_t ip4_pctl_flag:1; 178262306a36Sopenharmony_ci uint64_t ip6_dst_flag:1; 178362306a36Sopenharmony_ci uint64_t ip4_dst_flag:1; 178462306a36Sopenharmony_ci uint64_t ip6_src_flag:1; 178562306a36Sopenharmony_ci uint64_t ip4_src_flag:1; 178662306a36Sopenharmony_ci uint64_t tcp6_tag_type:2; 178762306a36Sopenharmony_ci uint64_t tcp4_tag_type:2; 178862306a36Sopenharmony_ci uint64_t ip6_tag_type:2; 178962306a36Sopenharmony_ci uint64_t ip4_tag_type:2; 179062306a36Sopenharmony_ci uint64_t non_tag_type:2; 179162306a36Sopenharmony_ci uint64_t grp:4; 179262306a36Sopenharmony_ci#else 179362306a36Sopenharmony_ci uint64_t grp:4; 179462306a36Sopenharmony_ci uint64_t non_tag_type:2; 179562306a36Sopenharmony_ci uint64_t ip4_tag_type:2; 179662306a36Sopenharmony_ci uint64_t ip6_tag_type:2; 179762306a36Sopenharmony_ci uint64_t tcp4_tag_type:2; 179862306a36Sopenharmony_ci uint64_t tcp6_tag_type:2; 179962306a36Sopenharmony_ci uint64_t ip4_src_flag:1; 180062306a36Sopenharmony_ci uint64_t ip6_src_flag:1; 180162306a36Sopenharmony_ci uint64_t ip4_dst_flag:1; 180262306a36Sopenharmony_ci uint64_t ip6_dst_flag:1; 180362306a36Sopenharmony_ci uint64_t ip4_pctl_flag:1; 180462306a36Sopenharmony_ci uint64_t ip6_nxth_flag:1; 180562306a36Sopenharmony_ci uint64_t ip4_sprt_flag:1; 180662306a36Sopenharmony_ci uint64_t ip6_sprt_flag:1; 180762306a36Sopenharmony_ci uint64_t ip4_dprt_flag:1; 180862306a36Sopenharmony_ci uint64_t ip6_dprt_flag:1; 180962306a36Sopenharmony_ci uint64_t inc_prt_flag:1; 181062306a36Sopenharmony_ci uint64_t inc_vlan:1; 181162306a36Sopenharmony_ci uint64_t inc_vs:2; 181262306a36Sopenharmony_ci uint64_t tag_mode:2; 181362306a36Sopenharmony_ci uint64_t grptag_mskip:1; 181462306a36Sopenharmony_ci uint64_t grptag:1; 181562306a36Sopenharmony_ci uint64_t grptagmask:4; 181662306a36Sopenharmony_ci uint64_t grptagbase:4; 181762306a36Sopenharmony_ci uint64_t grp_msb:2; 181862306a36Sopenharmony_ci uint64_t reserved_42_43:2; 181962306a36Sopenharmony_ci uint64_t grptagmask_msb:2; 182062306a36Sopenharmony_ci uint64_t reserved_46_47:2; 182162306a36Sopenharmony_ci uint64_t grptagbase_msb:2; 182262306a36Sopenharmony_ci uint64_t reserved_50_51:2; 182362306a36Sopenharmony_ci uint64_t inc_hwchk:1; 182462306a36Sopenharmony_ci uint64_t portadd_en:1; 182562306a36Sopenharmony_ci uint64_t reserved_54_63:10; 182662306a36Sopenharmony_ci#endif 182762306a36Sopenharmony_ci } s; 182862306a36Sopenharmony_ci struct cvmx_pip_prt_tagx_cn30xx { 182962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 183062306a36Sopenharmony_ci uint64_t reserved_40_63:24; 183162306a36Sopenharmony_ci uint64_t grptagbase:4; 183262306a36Sopenharmony_ci uint64_t grptagmask:4; 183362306a36Sopenharmony_ci uint64_t grptag:1; 183462306a36Sopenharmony_ci uint64_t reserved_30_30:1; 183562306a36Sopenharmony_ci uint64_t tag_mode:2; 183662306a36Sopenharmony_ci uint64_t inc_vs:2; 183762306a36Sopenharmony_ci uint64_t inc_vlan:1; 183862306a36Sopenharmony_ci uint64_t inc_prt_flag:1; 183962306a36Sopenharmony_ci uint64_t ip6_dprt_flag:1; 184062306a36Sopenharmony_ci uint64_t ip4_dprt_flag:1; 184162306a36Sopenharmony_ci uint64_t ip6_sprt_flag:1; 184262306a36Sopenharmony_ci uint64_t ip4_sprt_flag:1; 184362306a36Sopenharmony_ci uint64_t ip6_nxth_flag:1; 184462306a36Sopenharmony_ci uint64_t ip4_pctl_flag:1; 184562306a36Sopenharmony_ci uint64_t ip6_dst_flag:1; 184662306a36Sopenharmony_ci uint64_t ip4_dst_flag:1; 184762306a36Sopenharmony_ci uint64_t ip6_src_flag:1; 184862306a36Sopenharmony_ci uint64_t ip4_src_flag:1; 184962306a36Sopenharmony_ci uint64_t tcp6_tag_type:2; 185062306a36Sopenharmony_ci uint64_t tcp4_tag_type:2; 185162306a36Sopenharmony_ci uint64_t ip6_tag_type:2; 185262306a36Sopenharmony_ci uint64_t ip4_tag_type:2; 185362306a36Sopenharmony_ci uint64_t non_tag_type:2; 185462306a36Sopenharmony_ci uint64_t grp:4; 185562306a36Sopenharmony_ci#else 185662306a36Sopenharmony_ci uint64_t grp:4; 185762306a36Sopenharmony_ci uint64_t non_tag_type:2; 185862306a36Sopenharmony_ci uint64_t ip4_tag_type:2; 185962306a36Sopenharmony_ci uint64_t ip6_tag_type:2; 186062306a36Sopenharmony_ci uint64_t tcp4_tag_type:2; 186162306a36Sopenharmony_ci uint64_t tcp6_tag_type:2; 186262306a36Sopenharmony_ci uint64_t ip4_src_flag:1; 186362306a36Sopenharmony_ci uint64_t ip6_src_flag:1; 186462306a36Sopenharmony_ci uint64_t ip4_dst_flag:1; 186562306a36Sopenharmony_ci uint64_t ip6_dst_flag:1; 186662306a36Sopenharmony_ci uint64_t ip4_pctl_flag:1; 186762306a36Sopenharmony_ci uint64_t ip6_nxth_flag:1; 186862306a36Sopenharmony_ci uint64_t ip4_sprt_flag:1; 186962306a36Sopenharmony_ci uint64_t ip6_sprt_flag:1; 187062306a36Sopenharmony_ci uint64_t ip4_dprt_flag:1; 187162306a36Sopenharmony_ci uint64_t ip6_dprt_flag:1; 187262306a36Sopenharmony_ci uint64_t inc_prt_flag:1; 187362306a36Sopenharmony_ci uint64_t inc_vlan:1; 187462306a36Sopenharmony_ci uint64_t inc_vs:2; 187562306a36Sopenharmony_ci uint64_t tag_mode:2; 187662306a36Sopenharmony_ci uint64_t reserved_30_30:1; 187762306a36Sopenharmony_ci uint64_t grptag:1; 187862306a36Sopenharmony_ci uint64_t grptagmask:4; 187962306a36Sopenharmony_ci uint64_t grptagbase:4; 188062306a36Sopenharmony_ci uint64_t reserved_40_63:24; 188162306a36Sopenharmony_ci#endif 188262306a36Sopenharmony_ci } cn30xx; 188362306a36Sopenharmony_ci struct cvmx_pip_prt_tagx_cn50xx { 188462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 188562306a36Sopenharmony_ci uint64_t reserved_40_63:24; 188662306a36Sopenharmony_ci uint64_t grptagbase:4; 188762306a36Sopenharmony_ci uint64_t grptagmask:4; 188862306a36Sopenharmony_ci uint64_t grptag:1; 188962306a36Sopenharmony_ci uint64_t grptag_mskip:1; 189062306a36Sopenharmony_ci uint64_t tag_mode:2; 189162306a36Sopenharmony_ci uint64_t inc_vs:2; 189262306a36Sopenharmony_ci uint64_t inc_vlan:1; 189362306a36Sopenharmony_ci uint64_t inc_prt_flag:1; 189462306a36Sopenharmony_ci uint64_t ip6_dprt_flag:1; 189562306a36Sopenharmony_ci uint64_t ip4_dprt_flag:1; 189662306a36Sopenharmony_ci uint64_t ip6_sprt_flag:1; 189762306a36Sopenharmony_ci uint64_t ip4_sprt_flag:1; 189862306a36Sopenharmony_ci uint64_t ip6_nxth_flag:1; 189962306a36Sopenharmony_ci uint64_t ip4_pctl_flag:1; 190062306a36Sopenharmony_ci uint64_t ip6_dst_flag:1; 190162306a36Sopenharmony_ci uint64_t ip4_dst_flag:1; 190262306a36Sopenharmony_ci uint64_t ip6_src_flag:1; 190362306a36Sopenharmony_ci uint64_t ip4_src_flag:1; 190462306a36Sopenharmony_ci uint64_t tcp6_tag_type:2; 190562306a36Sopenharmony_ci uint64_t tcp4_tag_type:2; 190662306a36Sopenharmony_ci uint64_t ip6_tag_type:2; 190762306a36Sopenharmony_ci uint64_t ip4_tag_type:2; 190862306a36Sopenharmony_ci uint64_t non_tag_type:2; 190962306a36Sopenharmony_ci uint64_t grp:4; 191062306a36Sopenharmony_ci#else 191162306a36Sopenharmony_ci uint64_t grp:4; 191262306a36Sopenharmony_ci uint64_t non_tag_type:2; 191362306a36Sopenharmony_ci uint64_t ip4_tag_type:2; 191462306a36Sopenharmony_ci uint64_t ip6_tag_type:2; 191562306a36Sopenharmony_ci uint64_t tcp4_tag_type:2; 191662306a36Sopenharmony_ci uint64_t tcp6_tag_type:2; 191762306a36Sopenharmony_ci uint64_t ip4_src_flag:1; 191862306a36Sopenharmony_ci uint64_t ip6_src_flag:1; 191962306a36Sopenharmony_ci uint64_t ip4_dst_flag:1; 192062306a36Sopenharmony_ci uint64_t ip6_dst_flag:1; 192162306a36Sopenharmony_ci uint64_t ip4_pctl_flag:1; 192262306a36Sopenharmony_ci uint64_t ip6_nxth_flag:1; 192362306a36Sopenharmony_ci uint64_t ip4_sprt_flag:1; 192462306a36Sopenharmony_ci uint64_t ip6_sprt_flag:1; 192562306a36Sopenharmony_ci uint64_t ip4_dprt_flag:1; 192662306a36Sopenharmony_ci uint64_t ip6_dprt_flag:1; 192762306a36Sopenharmony_ci uint64_t inc_prt_flag:1; 192862306a36Sopenharmony_ci uint64_t inc_vlan:1; 192962306a36Sopenharmony_ci uint64_t inc_vs:2; 193062306a36Sopenharmony_ci uint64_t tag_mode:2; 193162306a36Sopenharmony_ci uint64_t grptag_mskip:1; 193262306a36Sopenharmony_ci uint64_t grptag:1; 193362306a36Sopenharmony_ci uint64_t grptagmask:4; 193462306a36Sopenharmony_ci uint64_t grptagbase:4; 193562306a36Sopenharmony_ci uint64_t reserved_40_63:24; 193662306a36Sopenharmony_ci#endif 193762306a36Sopenharmony_ci } cn50xx; 193862306a36Sopenharmony_ci}; 193962306a36Sopenharmony_ci 194062306a36Sopenharmony_ciunion cvmx_pip_qos_diffx { 194162306a36Sopenharmony_ci uint64_t u64; 194262306a36Sopenharmony_ci struct cvmx_pip_qos_diffx_s { 194362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 194462306a36Sopenharmony_ci uint64_t reserved_3_63:61; 194562306a36Sopenharmony_ci uint64_t qos:3; 194662306a36Sopenharmony_ci#else 194762306a36Sopenharmony_ci uint64_t qos:3; 194862306a36Sopenharmony_ci uint64_t reserved_3_63:61; 194962306a36Sopenharmony_ci#endif 195062306a36Sopenharmony_ci } s; 195162306a36Sopenharmony_ci}; 195262306a36Sopenharmony_ci 195362306a36Sopenharmony_ciunion cvmx_pip_qos_vlanx { 195462306a36Sopenharmony_ci uint64_t u64; 195562306a36Sopenharmony_ci struct cvmx_pip_qos_vlanx_s { 195662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 195762306a36Sopenharmony_ci uint64_t reserved_7_63:57; 195862306a36Sopenharmony_ci uint64_t qos1:3; 195962306a36Sopenharmony_ci uint64_t reserved_3_3:1; 196062306a36Sopenharmony_ci uint64_t qos:3; 196162306a36Sopenharmony_ci#else 196262306a36Sopenharmony_ci uint64_t qos:3; 196362306a36Sopenharmony_ci uint64_t reserved_3_3:1; 196462306a36Sopenharmony_ci uint64_t qos1:3; 196562306a36Sopenharmony_ci uint64_t reserved_7_63:57; 196662306a36Sopenharmony_ci#endif 196762306a36Sopenharmony_ci } s; 196862306a36Sopenharmony_ci struct cvmx_pip_qos_vlanx_cn30xx { 196962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 197062306a36Sopenharmony_ci uint64_t reserved_3_63:61; 197162306a36Sopenharmony_ci uint64_t qos:3; 197262306a36Sopenharmony_ci#else 197362306a36Sopenharmony_ci uint64_t qos:3; 197462306a36Sopenharmony_ci uint64_t reserved_3_63:61; 197562306a36Sopenharmony_ci#endif 197662306a36Sopenharmony_ci } cn30xx; 197762306a36Sopenharmony_ci}; 197862306a36Sopenharmony_ci 197962306a36Sopenharmony_ciunion cvmx_pip_qos_watchx { 198062306a36Sopenharmony_ci uint64_t u64; 198162306a36Sopenharmony_ci struct cvmx_pip_qos_watchx_s { 198262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 198362306a36Sopenharmony_ci uint64_t reserved_48_63:16; 198462306a36Sopenharmony_ci uint64_t mask:16; 198562306a36Sopenharmony_ci uint64_t reserved_30_31:2; 198662306a36Sopenharmony_ci uint64_t grp:6; 198762306a36Sopenharmony_ci uint64_t reserved_23_23:1; 198862306a36Sopenharmony_ci uint64_t qos:3; 198962306a36Sopenharmony_ci uint64_t reserved_19_19:1; 199062306a36Sopenharmony_ci uint64_t match_type:3; 199162306a36Sopenharmony_ci uint64_t match_value:16; 199262306a36Sopenharmony_ci#else 199362306a36Sopenharmony_ci uint64_t match_value:16; 199462306a36Sopenharmony_ci uint64_t match_type:3; 199562306a36Sopenharmony_ci uint64_t reserved_19_19:1; 199662306a36Sopenharmony_ci uint64_t qos:3; 199762306a36Sopenharmony_ci uint64_t reserved_23_23:1; 199862306a36Sopenharmony_ci uint64_t grp:6; 199962306a36Sopenharmony_ci uint64_t reserved_30_31:2; 200062306a36Sopenharmony_ci uint64_t mask:16; 200162306a36Sopenharmony_ci uint64_t reserved_48_63:16; 200262306a36Sopenharmony_ci#endif 200362306a36Sopenharmony_ci } s; 200462306a36Sopenharmony_ci struct cvmx_pip_qos_watchx_cn30xx { 200562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 200662306a36Sopenharmony_ci uint64_t reserved_48_63:16; 200762306a36Sopenharmony_ci uint64_t mask:16; 200862306a36Sopenharmony_ci uint64_t reserved_28_31:4; 200962306a36Sopenharmony_ci uint64_t grp:4; 201062306a36Sopenharmony_ci uint64_t reserved_23_23:1; 201162306a36Sopenharmony_ci uint64_t qos:3; 201262306a36Sopenharmony_ci uint64_t reserved_18_19:2; 201362306a36Sopenharmony_ci uint64_t match_type:2; 201462306a36Sopenharmony_ci uint64_t match_value:16; 201562306a36Sopenharmony_ci#else 201662306a36Sopenharmony_ci uint64_t match_value:16; 201762306a36Sopenharmony_ci uint64_t match_type:2; 201862306a36Sopenharmony_ci uint64_t reserved_18_19:2; 201962306a36Sopenharmony_ci uint64_t qos:3; 202062306a36Sopenharmony_ci uint64_t reserved_23_23:1; 202162306a36Sopenharmony_ci uint64_t grp:4; 202262306a36Sopenharmony_ci uint64_t reserved_28_31:4; 202362306a36Sopenharmony_ci uint64_t mask:16; 202462306a36Sopenharmony_ci uint64_t reserved_48_63:16; 202562306a36Sopenharmony_ci#endif 202662306a36Sopenharmony_ci } cn30xx; 202762306a36Sopenharmony_ci struct cvmx_pip_qos_watchx_cn50xx { 202862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 202962306a36Sopenharmony_ci uint64_t reserved_48_63:16; 203062306a36Sopenharmony_ci uint64_t mask:16; 203162306a36Sopenharmony_ci uint64_t reserved_28_31:4; 203262306a36Sopenharmony_ci uint64_t grp:4; 203362306a36Sopenharmony_ci uint64_t reserved_23_23:1; 203462306a36Sopenharmony_ci uint64_t qos:3; 203562306a36Sopenharmony_ci uint64_t reserved_19_19:1; 203662306a36Sopenharmony_ci uint64_t match_type:3; 203762306a36Sopenharmony_ci uint64_t match_value:16; 203862306a36Sopenharmony_ci#else 203962306a36Sopenharmony_ci uint64_t match_value:16; 204062306a36Sopenharmony_ci uint64_t match_type:3; 204162306a36Sopenharmony_ci uint64_t reserved_19_19:1; 204262306a36Sopenharmony_ci uint64_t qos:3; 204362306a36Sopenharmony_ci uint64_t reserved_23_23:1; 204462306a36Sopenharmony_ci uint64_t grp:4; 204562306a36Sopenharmony_ci uint64_t reserved_28_31:4; 204662306a36Sopenharmony_ci uint64_t mask:16; 204762306a36Sopenharmony_ci uint64_t reserved_48_63:16; 204862306a36Sopenharmony_ci#endif 204962306a36Sopenharmony_ci } cn50xx; 205062306a36Sopenharmony_ci}; 205162306a36Sopenharmony_ci 205262306a36Sopenharmony_ciunion cvmx_pip_raw_word { 205362306a36Sopenharmony_ci uint64_t u64; 205462306a36Sopenharmony_ci struct cvmx_pip_raw_word_s { 205562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 205662306a36Sopenharmony_ci uint64_t reserved_56_63:8; 205762306a36Sopenharmony_ci uint64_t word:56; 205862306a36Sopenharmony_ci#else 205962306a36Sopenharmony_ci uint64_t word:56; 206062306a36Sopenharmony_ci uint64_t reserved_56_63:8; 206162306a36Sopenharmony_ci#endif 206262306a36Sopenharmony_ci } s; 206362306a36Sopenharmony_ci}; 206462306a36Sopenharmony_ci 206562306a36Sopenharmony_ciunion cvmx_pip_sft_rst { 206662306a36Sopenharmony_ci uint64_t u64; 206762306a36Sopenharmony_ci struct cvmx_pip_sft_rst_s { 206862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 206962306a36Sopenharmony_ci uint64_t reserved_1_63:63; 207062306a36Sopenharmony_ci uint64_t rst:1; 207162306a36Sopenharmony_ci#else 207262306a36Sopenharmony_ci uint64_t rst:1; 207362306a36Sopenharmony_ci uint64_t reserved_1_63:63; 207462306a36Sopenharmony_ci#endif 207562306a36Sopenharmony_ci } s; 207662306a36Sopenharmony_ci}; 207762306a36Sopenharmony_ci 207862306a36Sopenharmony_ciunion cvmx_pip_stat0_x { 207962306a36Sopenharmony_ci uint64_t u64; 208062306a36Sopenharmony_ci struct cvmx_pip_stat0_x_s { 208162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 208262306a36Sopenharmony_ci uint64_t drp_pkts:32; 208362306a36Sopenharmony_ci uint64_t drp_octs:32; 208462306a36Sopenharmony_ci#else 208562306a36Sopenharmony_ci uint64_t drp_octs:32; 208662306a36Sopenharmony_ci uint64_t drp_pkts:32; 208762306a36Sopenharmony_ci#endif 208862306a36Sopenharmony_ci } s; 208962306a36Sopenharmony_ci}; 209062306a36Sopenharmony_ci 209162306a36Sopenharmony_ciunion cvmx_pip_stat0_prtx { 209262306a36Sopenharmony_ci uint64_t u64; 209362306a36Sopenharmony_ci struct cvmx_pip_stat0_prtx_s { 209462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 209562306a36Sopenharmony_ci uint64_t drp_pkts:32; 209662306a36Sopenharmony_ci uint64_t drp_octs:32; 209762306a36Sopenharmony_ci#else 209862306a36Sopenharmony_ci uint64_t drp_octs:32; 209962306a36Sopenharmony_ci uint64_t drp_pkts:32; 210062306a36Sopenharmony_ci#endif 210162306a36Sopenharmony_ci } s; 210262306a36Sopenharmony_ci}; 210362306a36Sopenharmony_ci 210462306a36Sopenharmony_ciunion cvmx_pip_stat10_x { 210562306a36Sopenharmony_ci uint64_t u64; 210662306a36Sopenharmony_ci struct cvmx_pip_stat10_x_s { 210762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 210862306a36Sopenharmony_ci uint64_t bcast:32; 210962306a36Sopenharmony_ci uint64_t mcast:32; 211062306a36Sopenharmony_ci#else 211162306a36Sopenharmony_ci uint64_t mcast:32; 211262306a36Sopenharmony_ci uint64_t bcast:32; 211362306a36Sopenharmony_ci#endif 211462306a36Sopenharmony_ci } s; 211562306a36Sopenharmony_ci}; 211662306a36Sopenharmony_ci 211762306a36Sopenharmony_ciunion cvmx_pip_stat10_prtx { 211862306a36Sopenharmony_ci uint64_t u64; 211962306a36Sopenharmony_ci struct cvmx_pip_stat10_prtx_s { 212062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 212162306a36Sopenharmony_ci uint64_t bcast:32; 212262306a36Sopenharmony_ci uint64_t mcast:32; 212362306a36Sopenharmony_ci#else 212462306a36Sopenharmony_ci uint64_t mcast:32; 212562306a36Sopenharmony_ci uint64_t bcast:32; 212662306a36Sopenharmony_ci#endif 212762306a36Sopenharmony_ci } s; 212862306a36Sopenharmony_ci}; 212962306a36Sopenharmony_ci 213062306a36Sopenharmony_ciunion cvmx_pip_stat11_x { 213162306a36Sopenharmony_ci uint64_t u64; 213262306a36Sopenharmony_ci struct cvmx_pip_stat11_x_s { 213362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 213462306a36Sopenharmony_ci uint64_t bcast:32; 213562306a36Sopenharmony_ci uint64_t mcast:32; 213662306a36Sopenharmony_ci#else 213762306a36Sopenharmony_ci uint64_t mcast:32; 213862306a36Sopenharmony_ci uint64_t bcast:32; 213962306a36Sopenharmony_ci#endif 214062306a36Sopenharmony_ci } s; 214162306a36Sopenharmony_ci}; 214262306a36Sopenharmony_ci 214362306a36Sopenharmony_ciunion cvmx_pip_stat11_prtx { 214462306a36Sopenharmony_ci uint64_t u64; 214562306a36Sopenharmony_ci struct cvmx_pip_stat11_prtx_s { 214662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 214762306a36Sopenharmony_ci uint64_t bcast:32; 214862306a36Sopenharmony_ci uint64_t mcast:32; 214962306a36Sopenharmony_ci#else 215062306a36Sopenharmony_ci uint64_t mcast:32; 215162306a36Sopenharmony_ci uint64_t bcast:32; 215262306a36Sopenharmony_ci#endif 215362306a36Sopenharmony_ci } s; 215462306a36Sopenharmony_ci}; 215562306a36Sopenharmony_ci 215662306a36Sopenharmony_ciunion cvmx_pip_stat1_x { 215762306a36Sopenharmony_ci uint64_t u64; 215862306a36Sopenharmony_ci struct cvmx_pip_stat1_x_s { 215962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 216062306a36Sopenharmony_ci uint64_t reserved_48_63:16; 216162306a36Sopenharmony_ci uint64_t octs:48; 216262306a36Sopenharmony_ci#else 216362306a36Sopenharmony_ci uint64_t octs:48; 216462306a36Sopenharmony_ci uint64_t reserved_48_63:16; 216562306a36Sopenharmony_ci#endif 216662306a36Sopenharmony_ci } s; 216762306a36Sopenharmony_ci}; 216862306a36Sopenharmony_ci 216962306a36Sopenharmony_ciunion cvmx_pip_stat1_prtx { 217062306a36Sopenharmony_ci uint64_t u64; 217162306a36Sopenharmony_ci struct cvmx_pip_stat1_prtx_s { 217262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 217362306a36Sopenharmony_ci uint64_t reserved_48_63:16; 217462306a36Sopenharmony_ci uint64_t octs:48; 217562306a36Sopenharmony_ci#else 217662306a36Sopenharmony_ci uint64_t octs:48; 217762306a36Sopenharmony_ci uint64_t reserved_48_63:16; 217862306a36Sopenharmony_ci#endif 217962306a36Sopenharmony_ci } s; 218062306a36Sopenharmony_ci}; 218162306a36Sopenharmony_ci 218262306a36Sopenharmony_ciunion cvmx_pip_stat2_x { 218362306a36Sopenharmony_ci uint64_t u64; 218462306a36Sopenharmony_ci struct cvmx_pip_stat2_x_s { 218562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 218662306a36Sopenharmony_ci uint64_t pkts:32; 218762306a36Sopenharmony_ci uint64_t raw:32; 218862306a36Sopenharmony_ci#else 218962306a36Sopenharmony_ci uint64_t raw:32; 219062306a36Sopenharmony_ci uint64_t pkts:32; 219162306a36Sopenharmony_ci#endif 219262306a36Sopenharmony_ci } s; 219362306a36Sopenharmony_ci}; 219462306a36Sopenharmony_ci 219562306a36Sopenharmony_ciunion cvmx_pip_stat2_prtx { 219662306a36Sopenharmony_ci uint64_t u64; 219762306a36Sopenharmony_ci struct cvmx_pip_stat2_prtx_s { 219862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 219962306a36Sopenharmony_ci uint64_t pkts:32; 220062306a36Sopenharmony_ci uint64_t raw:32; 220162306a36Sopenharmony_ci#else 220262306a36Sopenharmony_ci uint64_t raw:32; 220362306a36Sopenharmony_ci uint64_t pkts:32; 220462306a36Sopenharmony_ci#endif 220562306a36Sopenharmony_ci } s; 220662306a36Sopenharmony_ci}; 220762306a36Sopenharmony_ci 220862306a36Sopenharmony_ciunion cvmx_pip_stat3_x { 220962306a36Sopenharmony_ci uint64_t u64; 221062306a36Sopenharmony_ci struct cvmx_pip_stat3_x_s { 221162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 221262306a36Sopenharmony_ci uint64_t bcst:32; 221362306a36Sopenharmony_ci uint64_t mcst:32; 221462306a36Sopenharmony_ci#else 221562306a36Sopenharmony_ci uint64_t mcst:32; 221662306a36Sopenharmony_ci uint64_t bcst:32; 221762306a36Sopenharmony_ci#endif 221862306a36Sopenharmony_ci } s; 221962306a36Sopenharmony_ci}; 222062306a36Sopenharmony_ci 222162306a36Sopenharmony_ciunion cvmx_pip_stat3_prtx { 222262306a36Sopenharmony_ci uint64_t u64; 222362306a36Sopenharmony_ci struct cvmx_pip_stat3_prtx_s { 222462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 222562306a36Sopenharmony_ci uint64_t bcst:32; 222662306a36Sopenharmony_ci uint64_t mcst:32; 222762306a36Sopenharmony_ci#else 222862306a36Sopenharmony_ci uint64_t mcst:32; 222962306a36Sopenharmony_ci uint64_t bcst:32; 223062306a36Sopenharmony_ci#endif 223162306a36Sopenharmony_ci } s; 223262306a36Sopenharmony_ci}; 223362306a36Sopenharmony_ci 223462306a36Sopenharmony_ciunion cvmx_pip_stat4_x { 223562306a36Sopenharmony_ci uint64_t u64; 223662306a36Sopenharmony_ci struct cvmx_pip_stat4_x_s { 223762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 223862306a36Sopenharmony_ci uint64_t h65to127:32; 223962306a36Sopenharmony_ci uint64_t h64:32; 224062306a36Sopenharmony_ci#else 224162306a36Sopenharmony_ci uint64_t h64:32; 224262306a36Sopenharmony_ci uint64_t h65to127:32; 224362306a36Sopenharmony_ci#endif 224462306a36Sopenharmony_ci } s; 224562306a36Sopenharmony_ci}; 224662306a36Sopenharmony_ci 224762306a36Sopenharmony_ciunion cvmx_pip_stat4_prtx { 224862306a36Sopenharmony_ci uint64_t u64; 224962306a36Sopenharmony_ci struct cvmx_pip_stat4_prtx_s { 225062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 225162306a36Sopenharmony_ci uint64_t h65to127:32; 225262306a36Sopenharmony_ci uint64_t h64:32; 225362306a36Sopenharmony_ci#else 225462306a36Sopenharmony_ci uint64_t h64:32; 225562306a36Sopenharmony_ci uint64_t h65to127:32; 225662306a36Sopenharmony_ci#endif 225762306a36Sopenharmony_ci } s; 225862306a36Sopenharmony_ci}; 225962306a36Sopenharmony_ci 226062306a36Sopenharmony_ciunion cvmx_pip_stat5_x { 226162306a36Sopenharmony_ci uint64_t u64; 226262306a36Sopenharmony_ci struct cvmx_pip_stat5_x_s { 226362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 226462306a36Sopenharmony_ci uint64_t h256to511:32; 226562306a36Sopenharmony_ci uint64_t h128to255:32; 226662306a36Sopenharmony_ci#else 226762306a36Sopenharmony_ci uint64_t h128to255:32; 226862306a36Sopenharmony_ci uint64_t h256to511:32; 226962306a36Sopenharmony_ci#endif 227062306a36Sopenharmony_ci } s; 227162306a36Sopenharmony_ci}; 227262306a36Sopenharmony_ci 227362306a36Sopenharmony_ciunion cvmx_pip_stat5_prtx { 227462306a36Sopenharmony_ci uint64_t u64; 227562306a36Sopenharmony_ci struct cvmx_pip_stat5_prtx_s { 227662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 227762306a36Sopenharmony_ci uint64_t h256to511:32; 227862306a36Sopenharmony_ci uint64_t h128to255:32; 227962306a36Sopenharmony_ci#else 228062306a36Sopenharmony_ci uint64_t h128to255:32; 228162306a36Sopenharmony_ci uint64_t h256to511:32; 228262306a36Sopenharmony_ci#endif 228362306a36Sopenharmony_ci } s; 228462306a36Sopenharmony_ci}; 228562306a36Sopenharmony_ci 228662306a36Sopenharmony_ciunion cvmx_pip_stat6_x { 228762306a36Sopenharmony_ci uint64_t u64; 228862306a36Sopenharmony_ci struct cvmx_pip_stat6_x_s { 228962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 229062306a36Sopenharmony_ci uint64_t h1024to1518:32; 229162306a36Sopenharmony_ci uint64_t h512to1023:32; 229262306a36Sopenharmony_ci#else 229362306a36Sopenharmony_ci uint64_t h512to1023:32; 229462306a36Sopenharmony_ci uint64_t h1024to1518:32; 229562306a36Sopenharmony_ci#endif 229662306a36Sopenharmony_ci } s; 229762306a36Sopenharmony_ci}; 229862306a36Sopenharmony_ci 229962306a36Sopenharmony_ciunion cvmx_pip_stat6_prtx { 230062306a36Sopenharmony_ci uint64_t u64; 230162306a36Sopenharmony_ci struct cvmx_pip_stat6_prtx_s { 230262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 230362306a36Sopenharmony_ci uint64_t h1024to1518:32; 230462306a36Sopenharmony_ci uint64_t h512to1023:32; 230562306a36Sopenharmony_ci#else 230662306a36Sopenharmony_ci uint64_t h512to1023:32; 230762306a36Sopenharmony_ci uint64_t h1024to1518:32; 230862306a36Sopenharmony_ci#endif 230962306a36Sopenharmony_ci } s; 231062306a36Sopenharmony_ci}; 231162306a36Sopenharmony_ci 231262306a36Sopenharmony_ciunion cvmx_pip_stat7_x { 231362306a36Sopenharmony_ci uint64_t u64; 231462306a36Sopenharmony_ci struct cvmx_pip_stat7_x_s { 231562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 231662306a36Sopenharmony_ci uint64_t fcs:32; 231762306a36Sopenharmony_ci uint64_t h1519:32; 231862306a36Sopenharmony_ci#else 231962306a36Sopenharmony_ci uint64_t h1519:32; 232062306a36Sopenharmony_ci uint64_t fcs:32; 232162306a36Sopenharmony_ci#endif 232262306a36Sopenharmony_ci } s; 232362306a36Sopenharmony_ci}; 232462306a36Sopenharmony_ci 232562306a36Sopenharmony_ciunion cvmx_pip_stat7_prtx { 232662306a36Sopenharmony_ci uint64_t u64; 232762306a36Sopenharmony_ci struct cvmx_pip_stat7_prtx_s { 232862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 232962306a36Sopenharmony_ci uint64_t fcs:32; 233062306a36Sopenharmony_ci uint64_t h1519:32; 233162306a36Sopenharmony_ci#else 233262306a36Sopenharmony_ci uint64_t h1519:32; 233362306a36Sopenharmony_ci uint64_t fcs:32; 233462306a36Sopenharmony_ci#endif 233562306a36Sopenharmony_ci } s; 233662306a36Sopenharmony_ci}; 233762306a36Sopenharmony_ci 233862306a36Sopenharmony_ciunion cvmx_pip_stat8_x { 233962306a36Sopenharmony_ci uint64_t u64; 234062306a36Sopenharmony_ci struct cvmx_pip_stat8_x_s { 234162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 234262306a36Sopenharmony_ci uint64_t frag:32; 234362306a36Sopenharmony_ci uint64_t undersz:32; 234462306a36Sopenharmony_ci#else 234562306a36Sopenharmony_ci uint64_t undersz:32; 234662306a36Sopenharmony_ci uint64_t frag:32; 234762306a36Sopenharmony_ci#endif 234862306a36Sopenharmony_ci } s; 234962306a36Sopenharmony_ci}; 235062306a36Sopenharmony_ci 235162306a36Sopenharmony_ciunion cvmx_pip_stat8_prtx { 235262306a36Sopenharmony_ci uint64_t u64; 235362306a36Sopenharmony_ci struct cvmx_pip_stat8_prtx_s { 235462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 235562306a36Sopenharmony_ci uint64_t frag:32; 235662306a36Sopenharmony_ci uint64_t undersz:32; 235762306a36Sopenharmony_ci#else 235862306a36Sopenharmony_ci uint64_t undersz:32; 235962306a36Sopenharmony_ci uint64_t frag:32; 236062306a36Sopenharmony_ci#endif 236162306a36Sopenharmony_ci } s; 236262306a36Sopenharmony_ci}; 236362306a36Sopenharmony_ci 236462306a36Sopenharmony_ciunion cvmx_pip_stat9_x { 236562306a36Sopenharmony_ci uint64_t u64; 236662306a36Sopenharmony_ci struct cvmx_pip_stat9_x_s { 236762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 236862306a36Sopenharmony_ci uint64_t jabber:32; 236962306a36Sopenharmony_ci uint64_t oversz:32; 237062306a36Sopenharmony_ci#else 237162306a36Sopenharmony_ci uint64_t oversz:32; 237262306a36Sopenharmony_ci uint64_t jabber:32; 237362306a36Sopenharmony_ci#endif 237462306a36Sopenharmony_ci } s; 237562306a36Sopenharmony_ci}; 237662306a36Sopenharmony_ci 237762306a36Sopenharmony_ciunion cvmx_pip_stat9_prtx { 237862306a36Sopenharmony_ci uint64_t u64; 237962306a36Sopenharmony_ci struct cvmx_pip_stat9_prtx_s { 238062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 238162306a36Sopenharmony_ci uint64_t jabber:32; 238262306a36Sopenharmony_ci uint64_t oversz:32; 238362306a36Sopenharmony_ci#else 238462306a36Sopenharmony_ci uint64_t oversz:32; 238562306a36Sopenharmony_ci uint64_t jabber:32; 238662306a36Sopenharmony_ci#endif 238762306a36Sopenharmony_ci } s; 238862306a36Sopenharmony_ci}; 238962306a36Sopenharmony_ci 239062306a36Sopenharmony_ciunion cvmx_pip_stat_ctl { 239162306a36Sopenharmony_ci uint64_t u64; 239262306a36Sopenharmony_ci struct cvmx_pip_stat_ctl_s { 239362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 239462306a36Sopenharmony_ci uint64_t reserved_9_63:55; 239562306a36Sopenharmony_ci uint64_t mode:1; 239662306a36Sopenharmony_ci uint64_t reserved_1_7:7; 239762306a36Sopenharmony_ci uint64_t rdclr:1; 239862306a36Sopenharmony_ci#else 239962306a36Sopenharmony_ci uint64_t rdclr:1; 240062306a36Sopenharmony_ci uint64_t reserved_1_7:7; 240162306a36Sopenharmony_ci uint64_t mode:1; 240262306a36Sopenharmony_ci uint64_t reserved_9_63:55; 240362306a36Sopenharmony_ci#endif 240462306a36Sopenharmony_ci } s; 240562306a36Sopenharmony_ci struct cvmx_pip_stat_ctl_cn30xx { 240662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 240762306a36Sopenharmony_ci uint64_t reserved_1_63:63; 240862306a36Sopenharmony_ci uint64_t rdclr:1; 240962306a36Sopenharmony_ci#else 241062306a36Sopenharmony_ci uint64_t rdclr:1; 241162306a36Sopenharmony_ci uint64_t reserved_1_63:63; 241262306a36Sopenharmony_ci#endif 241362306a36Sopenharmony_ci } cn30xx; 241462306a36Sopenharmony_ci}; 241562306a36Sopenharmony_ci 241662306a36Sopenharmony_ciunion cvmx_pip_stat_inb_errsx { 241762306a36Sopenharmony_ci uint64_t u64; 241862306a36Sopenharmony_ci struct cvmx_pip_stat_inb_errsx_s { 241962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 242062306a36Sopenharmony_ci uint64_t reserved_16_63:48; 242162306a36Sopenharmony_ci uint64_t errs:16; 242262306a36Sopenharmony_ci#else 242362306a36Sopenharmony_ci uint64_t errs:16; 242462306a36Sopenharmony_ci uint64_t reserved_16_63:48; 242562306a36Sopenharmony_ci#endif 242662306a36Sopenharmony_ci } s; 242762306a36Sopenharmony_ci}; 242862306a36Sopenharmony_ci 242962306a36Sopenharmony_ciunion cvmx_pip_stat_inb_errs_pkndx { 243062306a36Sopenharmony_ci uint64_t u64; 243162306a36Sopenharmony_ci struct cvmx_pip_stat_inb_errs_pkndx_s { 243262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 243362306a36Sopenharmony_ci uint64_t reserved_16_63:48; 243462306a36Sopenharmony_ci uint64_t errs:16; 243562306a36Sopenharmony_ci#else 243662306a36Sopenharmony_ci uint64_t errs:16; 243762306a36Sopenharmony_ci uint64_t reserved_16_63:48; 243862306a36Sopenharmony_ci#endif 243962306a36Sopenharmony_ci } s; 244062306a36Sopenharmony_ci}; 244162306a36Sopenharmony_ci 244262306a36Sopenharmony_ciunion cvmx_pip_stat_inb_octsx { 244362306a36Sopenharmony_ci uint64_t u64; 244462306a36Sopenharmony_ci struct cvmx_pip_stat_inb_octsx_s { 244562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 244662306a36Sopenharmony_ci uint64_t reserved_48_63:16; 244762306a36Sopenharmony_ci uint64_t octs:48; 244862306a36Sopenharmony_ci#else 244962306a36Sopenharmony_ci uint64_t octs:48; 245062306a36Sopenharmony_ci uint64_t reserved_48_63:16; 245162306a36Sopenharmony_ci#endif 245262306a36Sopenharmony_ci } s; 245362306a36Sopenharmony_ci}; 245462306a36Sopenharmony_ci 245562306a36Sopenharmony_ciunion cvmx_pip_stat_inb_octs_pkndx { 245662306a36Sopenharmony_ci uint64_t u64; 245762306a36Sopenharmony_ci struct cvmx_pip_stat_inb_octs_pkndx_s { 245862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 245962306a36Sopenharmony_ci uint64_t reserved_48_63:16; 246062306a36Sopenharmony_ci uint64_t octs:48; 246162306a36Sopenharmony_ci#else 246262306a36Sopenharmony_ci uint64_t octs:48; 246362306a36Sopenharmony_ci uint64_t reserved_48_63:16; 246462306a36Sopenharmony_ci#endif 246562306a36Sopenharmony_ci } s; 246662306a36Sopenharmony_ci}; 246762306a36Sopenharmony_ci 246862306a36Sopenharmony_ciunion cvmx_pip_stat_inb_pktsx { 246962306a36Sopenharmony_ci uint64_t u64; 247062306a36Sopenharmony_ci struct cvmx_pip_stat_inb_pktsx_s { 247162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 247262306a36Sopenharmony_ci uint64_t reserved_32_63:32; 247362306a36Sopenharmony_ci uint64_t pkts:32; 247462306a36Sopenharmony_ci#else 247562306a36Sopenharmony_ci uint64_t pkts:32; 247662306a36Sopenharmony_ci uint64_t reserved_32_63:32; 247762306a36Sopenharmony_ci#endif 247862306a36Sopenharmony_ci } s; 247962306a36Sopenharmony_ci}; 248062306a36Sopenharmony_ci 248162306a36Sopenharmony_ciunion cvmx_pip_stat_inb_pkts_pkndx { 248262306a36Sopenharmony_ci uint64_t u64; 248362306a36Sopenharmony_ci struct cvmx_pip_stat_inb_pkts_pkndx_s { 248462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 248562306a36Sopenharmony_ci uint64_t reserved_32_63:32; 248662306a36Sopenharmony_ci uint64_t pkts:32; 248762306a36Sopenharmony_ci#else 248862306a36Sopenharmony_ci uint64_t pkts:32; 248962306a36Sopenharmony_ci uint64_t reserved_32_63:32; 249062306a36Sopenharmony_ci#endif 249162306a36Sopenharmony_ci } s; 249262306a36Sopenharmony_ci}; 249362306a36Sopenharmony_ci 249462306a36Sopenharmony_ciunion cvmx_pip_sub_pkind_fcsx { 249562306a36Sopenharmony_ci uint64_t u64; 249662306a36Sopenharmony_ci struct cvmx_pip_sub_pkind_fcsx_s { 249762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 249862306a36Sopenharmony_ci uint64_t port_bit:64; 249962306a36Sopenharmony_ci#else 250062306a36Sopenharmony_ci uint64_t port_bit:64; 250162306a36Sopenharmony_ci#endif 250262306a36Sopenharmony_ci } s; 250362306a36Sopenharmony_ci}; 250462306a36Sopenharmony_ci 250562306a36Sopenharmony_ciunion cvmx_pip_tag_incx { 250662306a36Sopenharmony_ci uint64_t u64; 250762306a36Sopenharmony_ci struct cvmx_pip_tag_incx_s { 250862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 250962306a36Sopenharmony_ci uint64_t reserved_8_63:56; 251062306a36Sopenharmony_ci uint64_t en:8; 251162306a36Sopenharmony_ci#else 251262306a36Sopenharmony_ci uint64_t en:8; 251362306a36Sopenharmony_ci uint64_t reserved_8_63:56; 251462306a36Sopenharmony_ci#endif 251562306a36Sopenharmony_ci } s; 251662306a36Sopenharmony_ci}; 251762306a36Sopenharmony_ci 251862306a36Sopenharmony_ciunion cvmx_pip_tag_mask { 251962306a36Sopenharmony_ci uint64_t u64; 252062306a36Sopenharmony_ci struct cvmx_pip_tag_mask_s { 252162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 252262306a36Sopenharmony_ci uint64_t reserved_16_63:48; 252362306a36Sopenharmony_ci uint64_t mask:16; 252462306a36Sopenharmony_ci#else 252562306a36Sopenharmony_ci uint64_t mask:16; 252662306a36Sopenharmony_ci uint64_t reserved_16_63:48; 252762306a36Sopenharmony_ci#endif 252862306a36Sopenharmony_ci } s; 252962306a36Sopenharmony_ci}; 253062306a36Sopenharmony_ci 253162306a36Sopenharmony_ciunion cvmx_pip_tag_secret { 253262306a36Sopenharmony_ci uint64_t u64; 253362306a36Sopenharmony_ci struct cvmx_pip_tag_secret_s { 253462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 253562306a36Sopenharmony_ci uint64_t reserved_32_63:32; 253662306a36Sopenharmony_ci uint64_t dst:16; 253762306a36Sopenharmony_ci uint64_t src:16; 253862306a36Sopenharmony_ci#else 253962306a36Sopenharmony_ci uint64_t src:16; 254062306a36Sopenharmony_ci uint64_t dst:16; 254162306a36Sopenharmony_ci uint64_t reserved_32_63:32; 254262306a36Sopenharmony_ci#endif 254362306a36Sopenharmony_ci } s; 254462306a36Sopenharmony_ci}; 254562306a36Sopenharmony_ci 254662306a36Sopenharmony_ciunion cvmx_pip_todo_entry { 254762306a36Sopenharmony_ci uint64_t u64; 254862306a36Sopenharmony_ci struct cvmx_pip_todo_entry_s { 254962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 255062306a36Sopenharmony_ci uint64_t val:1; 255162306a36Sopenharmony_ci uint64_t reserved_62_62:1; 255262306a36Sopenharmony_ci uint64_t entry:62; 255362306a36Sopenharmony_ci#else 255462306a36Sopenharmony_ci uint64_t entry:62; 255562306a36Sopenharmony_ci uint64_t reserved_62_62:1; 255662306a36Sopenharmony_ci uint64_t val:1; 255762306a36Sopenharmony_ci#endif 255862306a36Sopenharmony_ci } s; 255962306a36Sopenharmony_ci}; 256062306a36Sopenharmony_ci 256162306a36Sopenharmony_ciunion cvmx_pip_vlan_etypesx { 256262306a36Sopenharmony_ci uint64_t u64; 256362306a36Sopenharmony_ci struct cvmx_pip_vlan_etypesx_s { 256462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 256562306a36Sopenharmony_ci uint64_t type3:16; 256662306a36Sopenharmony_ci uint64_t type2:16; 256762306a36Sopenharmony_ci uint64_t type1:16; 256862306a36Sopenharmony_ci uint64_t type0:16; 256962306a36Sopenharmony_ci#else 257062306a36Sopenharmony_ci uint64_t type0:16; 257162306a36Sopenharmony_ci uint64_t type1:16; 257262306a36Sopenharmony_ci uint64_t type2:16; 257362306a36Sopenharmony_ci uint64_t type3:16; 257462306a36Sopenharmony_ci#endif 257562306a36Sopenharmony_ci } s; 257662306a36Sopenharmony_ci}; 257762306a36Sopenharmony_ci 257862306a36Sopenharmony_ciunion cvmx_pip_xstat0_prtx { 257962306a36Sopenharmony_ci uint64_t u64; 258062306a36Sopenharmony_ci struct cvmx_pip_xstat0_prtx_s { 258162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 258262306a36Sopenharmony_ci uint64_t drp_pkts:32; 258362306a36Sopenharmony_ci uint64_t drp_octs:32; 258462306a36Sopenharmony_ci#else 258562306a36Sopenharmony_ci uint64_t drp_octs:32; 258662306a36Sopenharmony_ci uint64_t drp_pkts:32; 258762306a36Sopenharmony_ci#endif 258862306a36Sopenharmony_ci } s; 258962306a36Sopenharmony_ci}; 259062306a36Sopenharmony_ci 259162306a36Sopenharmony_ciunion cvmx_pip_xstat10_prtx { 259262306a36Sopenharmony_ci uint64_t u64; 259362306a36Sopenharmony_ci struct cvmx_pip_xstat10_prtx_s { 259462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 259562306a36Sopenharmony_ci uint64_t bcast:32; 259662306a36Sopenharmony_ci uint64_t mcast:32; 259762306a36Sopenharmony_ci#else 259862306a36Sopenharmony_ci uint64_t mcast:32; 259962306a36Sopenharmony_ci uint64_t bcast:32; 260062306a36Sopenharmony_ci#endif 260162306a36Sopenharmony_ci } s; 260262306a36Sopenharmony_ci}; 260362306a36Sopenharmony_ci 260462306a36Sopenharmony_ciunion cvmx_pip_xstat11_prtx { 260562306a36Sopenharmony_ci uint64_t u64; 260662306a36Sopenharmony_ci struct cvmx_pip_xstat11_prtx_s { 260762306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 260862306a36Sopenharmony_ci uint64_t bcast:32; 260962306a36Sopenharmony_ci uint64_t mcast:32; 261062306a36Sopenharmony_ci#else 261162306a36Sopenharmony_ci uint64_t mcast:32; 261262306a36Sopenharmony_ci uint64_t bcast:32; 261362306a36Sopenharmony_ci#endif 261462306a36Sopenharmony_ci } s; 261562306a36Sopenharmony_ci}; 261662306a36Sopenharmony_ci 261762306a36Sopenharmony_ciunion cvmx_pip_xstat1_prtx { 261862306a36Sopenharmony_ci uint64_t u64; 261962306a36Sopenharmony_ci struct cvmx_pip_xstat1_prtx_s { 262062306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 262162306a36Sopenharmony_ci uint64_t reserved_48_63:16; 262262306a36Sopenharmony_ci uint64_t octs:48; 262362306a36Sopenharmony_ci#else 262462306a36Sopenharmony_ci uint64_t octs:48; 262562306a36Sopenharmony_ci uint64_t reserved_48_63:16; 262662306a36Sopenharmony_ci#endif 262762306a36Sopenharmony_ci } s; 262862306a36Sopenharmony_ci}; 262962306a36Sopenharmony_ci 263062306a36Sopenharmony_ciunion cvmx_pip_xstat2_prtx { 263162306a36Sopenharmony_ci uint64_t u64; 263262306a36Sopenharmony_ci struct cvmx_pip_xstat2_prtx_s { 263362306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 263462306a36Sopenharmony_ci uint64_t pkts:32; 263562306a36Sopenharmony_ci uint64_t raw:32; 263662306a36Sopenharmony_ci#else 263762306a36Sopenharmony_ci uint64_t raw:32; 263862306a36Sopenharmony_ci uint64_t pkts:32; 263962306a36Sopenharmony_ci#endif 264062306a36Sopenharmony_ci } s; 264162306a36Sopenharmony_ci}; 264262306a36Sopenharmony_ci 264362306a36Sopenharmony_ciunion cvmx_pip_xstat3_prtx { 264462306a36Sopenharmony_ci uint64_t u64; 264562306a36Sopenharmony_ci struct cvmx_pip_xstat3_prtx_s { 264662306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 264762306a36Sopenharmony_ci uint64_t bcst:32; 264862306a36Sopenharmony_ci uint64_t mcst:32; 264962306a36Sopenharmony_ci#else 265062306a36Sopenharmony_ci uint64_t mcst:32; 265162306a36Sopenharmony_ci uint64_t bcst:32; 265262306a36Sopenharmony_ci#endif 265362306a36Sopenharmony_ci } s; 265462306a36Sopenharmony_ci}; 265562306a36Sopenharmony_ci 265662306a36Sopenharmony_ciunion cvmx_pip_xstat4_prtx { 265762306a36Sopenharmony_ci uint64_t u64; 265862306a36Sopenharmony_ci struct cvmx_pip_xstat4_prtx_s { 265962306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 266062306a36Sopenharmony_ci uint64_t h65to127:32; 266162306a36Sopenharmony_ci uint64_t h64:32; 266262306a36Sopenharmony_ci#else 266362306a36Sopenharmony_ci uint64_t h64:32; 266462306a36Sopenharmony_ci uint64_t h65to127:32; 266562306a36Sopenharmony_ci#endif 266662306a36Sopenharmony_ci } s; 266762306a36Sopenharmony_ci}; 266862306a36Sopenharmony_ci 266962306a36Sopenharmony_ciunion cvmx_pip_xstat5_prtx { 267062306a36Sopenharmony_ci uint64_t u64; 267162306a36Sopenharmony_ci struct cvmx_pip_xstat5_prtx_s { 267262306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 267362306a36Sopenharmony_ci uint64_t h256to511:32; 267462306a36Sopenharmony_ci uint64_t h128to255:32; 267562306a36Sopenharmony_ci#else 267662306a36Sopenharmony_ci uint64_t h128to255:32; 267762306a36Sopenharmony_ci uint64_t h256to511:32; 267862306a36Sopenharmony_ci#endif 267962306a36Sopenharmony_ci } s; 268062306a36Sopenharmony_ci}; 268162306a36Sopenharmony_ci 268262306a36Sopenharmony_ciunion cvmx_pip_xstat6_prtx { 268362306a36Sopenharmony_ci uint64_t u64; 268462306a36Sopenharmony_ci struct cvmx_pip_xstat6_prtx_s { 268562306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 268662306a36Sopenharmony_ci uint64_t h1024to1518:32; 268762306a36Sopenharmony_ci uint64_t h512to1023:32; 268862306a36Sopenharmony_ci#else 268962306a36Sopenharmony_ci uint64_t h512to1023:32; 269062306a36Sopenharmony_ci uint64_t h1024to1518:32; 269162306a36Sopenharmony_ci#endif 269262306a36Sopenharmony_ci } s; 269362306a36Sopenharmony_ci}; 269462306a36Sopenharmony_ci 269562306a36Sopenharmony_ciunion cvmx_pip_xstat7_prtx { 269662306a36Sopenharmony_ci uint64_t u64; 269762306a36Sopenharmony_ci struct cvmx_pip_xstat7_prtx_s { 269862306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 269962306a36Sopenharmony_ci uint64_t fcs:32; 270062306a36Sopenharmony_ci uint64_t h1519:32; 270162306a36Sopenharmony_ci#else 270262306a36Sopenharmony_ci uint64_t h1519:32; 270362306a36Sopenharmony_ci uint64_t fcs:32; 270462306a36Sopenharmony_ci#endif 270562306a36Sopenharmony_ci } s; 270662306a36Sopenharmony_ci}; 270762306a36Sopenharmony_ci 270862306a36Sopenharmony_ciunion cvmx_pip_xstat8_prtx { 270962306a36Sopenharmony_ci uint64_t u64; 271062306a36Sopenharmony_ci struct cvmx_pip_xstat8_prtx_s { 271162306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 271262306a36Sopenharmony_ci uint64_t frag:32; 271362306a36Sopenharmony_ci uint64_t undersz:32; 271462306a36Sopenharmony_ci#else 271562306a36Sopenharmony_ci uint64_t undersz:32; 271662306a36Sopenharmony_ci uint64_t frag:32; 271762306a36Sopenharmony_ci#endif 271862306a36Sopenharmony_ci } s; 271962306a36Sopenharmony_ci}; 272062306a36Sopenharmony_ci 272162306a36Sopenharmony_ciunion cvmx_pip_xstat9_prtx { 272262306a36Sopenharmony_ci uint64_t u64; 272362306a36Sopenharmony_ci struct cvmx_pip_xstat9_prtx_s { 272462306a36Sopenharmony_ci#ifdef __BIG_ENDIAN_BITFIELD 272562306a36Sopenharmony_ci uint64_t jabber:32; 272662306a36Sopenharmony_ci uint64_t oversz:32; 272762306a36Sopenharmony_ci#else 272862306a36Sopenharmony_ci uint64_t oversz:32; 272962306a36Sopenharmony_ci uint64_t jabber:32; 273062306a36Sopenharmony_ci#endif 273162306a36Sopenharmony_ci } s; 273262306a36Sopenharmony_ci}; 273362306a36Sopenharmony_ci 273462306a36Sopenharmony_ci#endif 2735