17e6ad46Vishal Kulkarni/*
27e6ad46Vishal Kulkarni * This file and its contents are supplied under the terms of the
37e6ad46Vishal Kulkarni * Common Development and Distribution License ("CDDL"), version 1.0.
47e6ad46Vishal Kulkarni * You may only use this file in accordance with the terms of version
57e6ad46Vishal Kulkarni * 1.0 of the CDDL.
67e6ad46Vishal Kulkarni *
77e6ad46Vishal Kulkarni * A full copy of the text of the CDDL should have accompanied this
87e6ad46Vishal Kulkarni * source.  A copy of the CDDL is also available via the Internet at
97e6ad46Vishal Kulkarni * http://www.illumos.org/license/CDDL.
107e6ad46Vishal Kulkarni */
117e6ad46Vishal Kulkarni
127e6ad46Vishal Kulkarni/*
137e6ad46Vishal Kulkarni * Copyright (c) 2019 by Chelsio Communications, Inc.
147e6ad46Vishal Kulkarni */
157e6ad46Vishal Kulkarni
167e6ad46Vishal Kulkarni#ifndef __CUDBG_VIEW_ENTITY_H__
177e6ad46Vishal Kulkarni#define __CUDBG_VIEW_ENTITY_H__
187e6ad46Vishal Kulkarni
197e6ad46Vishal Kulkarni#include "cudbg_entity.h"
207e6ad46Vishal Kulkarni
217e6ad46Vishal Kulkarnistatic const char * const memory[] = { "EDC0:", "EDC1:", "MC:",
227e6ad46Vishal Kulkarni	"MC0:", "MC1:", "HMA:"};
237e6ad46Vishal Kulkarni
247e6ad46Vishal Kulkarnistatic const char * const lb_stat_name[] = {
257e6ad46Vishal Kulkarni	"OctetsOK:", "FramesOK:", "BcastFrames:", "McastFrames:",
267e6ad46Vishal Kulkarni	"UcastFrames:", "ErrorFrames:", "Frames64:", "Frames65To127:",
277e6ad46Vishal Kulkarni	"Frames128To255:", "Frames256To511:", "Frames512To1023:",
287e6ad46Vishal Kulkarni	"Frames1024To1518:", "Frames1519ToMax:", "FramesDropped:",
297e6ad46Vishal Kulkarni	"BG0FramesDropped:", "BG1FramesDropped:", "BG2FramesDropped:",
307e6ad46Vishal Kulkarni	"BG3FramesDropped:", "BG0FramesTrunc:", "BG1FramesTrunc:",
317e6ad46Vishal Kulkarni	"BG2FramesTrunc:", "BG3FramesTrunc:"
327e6ad46Vishal Kulkarni};
337e6ad46Vishal Kulkarni
347e6ad46Vishal Kulkarni
357e6ad46Vishal Kulkarnistatic struct field_desc tp_la0[] = {
367e6ad46Vishal Kulkarni	{ "RcfOpCodeOut", 60, 4 },
377e6ad46Vishal Kulkarni	{ "State", 56, 4 },
387e6ad46Vishal Kulkarni	{ "WcfState", 52, 4 },
397e6ad46Vishal Kulkarni	{ "RcfOpcSrcOut", 50, 2 },
407e6ad46Vishal Kulkarni	{ "CRxError", 49, 1 },
417e6ad46Vishal Kulkarni	{ "ERxError", 48, 1 },
427e6ad46Vishal Kulkarni	{ "SanityFailed", 47, 1 },
437e6ad46Vishal Kulkarni	{ "SpuriousMsg", 46, 1 },
447e6ad46Vishal Kulkarni	{ "FlushInputMsg", 45, 1 },
457e6ad46Vishal Kulkarni	{ "FlushInputCpl", 44, 1 },
467e6ad46Vishal Kulkarni	{ "RssUpBit", 43, 1 },
477e6ad46Vishal Kulkarni	{ "RssFilterHit", 42, 1 },
487e6ad46Vishal Kulkarni	{ "Tid", 32, 10 },
497e6ad46Vishal Kulkarni	{ "InitTcb", 31, 1 },
507e6ad46Vishal Kulkarni	{ "LineNumber", 24, 7 },
517e6ad46Vishal Kulkarni	{ "Emsg", 23, 1 },
527e6ad46Vishal Kulkarni	{ "EdataOut", 22, 1 },
537e6ad46Vishal Kulkarni	{ "Cmsg", 21, 1 },
547e6ad46Vishal Kulkarni	{ "CdataOut", 20, 1 },
557e6ad46Vishal Kulkarni	{ "EreadPdu", 19, 1 },
567e6ad46Vishal Kulkarni	{ "CreadPdu", 18, 1 },
577e6ad46Vishal Kulkarni	{ "TunnelPkt", 17, 1 },
587e6ad46Vishal Kulkarni	{ "RcfPeerFin", 16, 1 },
597e6ad46Vishal Kulkarni	{ "RcfReasonOut", 12, 4 },
607e6ad46Vishal Kulkarni	{ "TxCchannel", 10, 2 },
617e6ad46Vishal Kulkarni	{ "RcfTxChannel", 8, 2 },
627e6ad46Vishal Kulkarni	{ "RxEchannel", 6, 2 },
637e6ad46Vishal Kulkarni	{ "RcfRxChannel", 5, 1 },
647e6ad46Vishal Kulkarni	{ "RcfDataOutSrdy", 4, 1 },
657e6ad46Vishal Kulkarni	{ "RxDvld", 3, 1 },
667e6ad46Vishal Kulkarni	{ "RxOoDvld", 2, 1 },
677e6ad46Vishal Kulkarni	{ "RxCongestion", 1, 1 },
687e6ad46Vishal Kulkarni	{ "TxCongestion", 0, 1 },
697e6ad46Vishal Kulkarni	{ NULL }
707e6ad46Vishal Kulkarni};
717e6ad46Vishal Kulkarni
727e6ad46Vishal Kulkarnistatic struct field_desc tp_la1[] = {
737e6ad46Vishal Kulkarni	{ "CplCmdIn", 56, 8 },
747e6ad46Vishal Kulkarni	{ "CplCmdOut", 48, 8 },
757e6ad46Vishal Kulkarni	{ "ESynOut", 47, 1 },
767e6ad46Vishal Kulkarni	{ "EAckOut", 46, 1 },
777e6ad46Vishal Kulkarni	{ "EFinOut", 45, 1 },
787e6ad46Vishal Kulkarni	{ "ERstOut", 44, 1 },
797e6ad46Vishal Kulkarni	{ "SynIn", 43, 1 },
807e6ad46Vishal Kulkarni	{ "AckIn", 42, 1 },
817e6ad46Vishal Kulkarni	{ "FinIn", 41, 1 },
827e6ad46Vishal Kulkarni	{ "RstIn", 40, 1 },
837e6ad46Vishal Kulkarni	{ "DataIn", 39, 1 },
847e6ad46Vishal Kulkarni	{ "DataInVld", 38, 1 },
857e6ad46Vishal Kulkarni	{ "PadIn", 37, 1 },
867e6ad46Vishal Kulkarni	{ "RxBufEmpty", 36, 1 },
877e6ad46Vishal Kulkarni	{ "RxDdp", 35, 1 },
887e6ad46Vishal Kulkarni	{ "RxFbCongestion", 34, 1 },
897e6ad46Vishal Kulkarni	{ "TxFbCongestion", 33, 1 },
907e6ad46Vishal Kulkarni	{ "TxPktSumSrdy", 32, 1 },
917e6ad46Vishal Kulkarni	{ "RcfUlpType", 28, 4 },
927e6ad46Vishal Kulkarni	{ "Eread", 27, 1 },
937e6ad46Vishal Kulkarni	{ "Ebypass", 26, 1 },
947e6ad46Vishal Kulkarni	{ "Esave", 25, 1 },
957e6ad46Vishal Kulkarni	{ "Static0", 24, 1 },
967e6ad46Vishal Kulkarni	{ "Cread", 23, 1 },
977e6ad46Vishal Kulkarni	{ "Cbypass", 22, 1 },
987e6ad46Vishal Kulkarni	{ "Csave", 21, 1 },
997e6ad46Vishal Kulkarni	{ "CPktOut", 20, 1 },
1007e6ad46Vishal Kulkarni	{ "RxPagePoolFull", 18, 2 },
1017e6ad46Vishal Kulkarni	{ "RxLpbkPkt", 17, 1 },
1027e6ad46Vishal Kulkarni	{ "TxLpbkPkt", 16, 1 },
1037e6ad46Vishal Kulkarni	{ "RxVfValid", 15, 1 },
1047e6ad46Vishal Kulkarni	{ "SynLearned", 14, 1 },
1057e6ad46Vishal Kulkarni	{ "SetDelEntry", 13, 1 },
1067e6ad46Vishal Kulkarni	{ "SetInvEntry", 12, 1 },
1077e6ad46Vishal Kulkarni	{ "CpcmdDvld", 11, 1 },
1087e6ad46Vishal Kulkarni	{ "CpcmdSave", 10, 1 },
1097e6ad46Vishal Kulkarni	{ "RxPstructsFull", 8, 2 },
1107e6ad46Vishal Kulkarni	{ "EpcmdDvld", 7, 1 },
1117e6ad46Vishal Kulkarni	{ "EpcmdFlush", 6, 1 },
1127e6ad46Vishal Kulkarni	{ "EpcmdTrimPrefix", 5, 1 },
1137e6ad46Vishal Kulkarni	{ "EpcmdTrimPostfix", 4, 1 },
1147e6ad46Vishal Kulkarni	{ "ERssIp4Pkt", 3, 1 },
1157e6ad46Vishal Kulkarni	{ "ERssIp6Pkt", 2, 1 },
1167e6ad46Vishal Kulkarni	{ "ERssTcpUdpPkt", 1, 1 },
1177e6ad46Vishal Kulkarni	{ "ERssFceFipPkt", 0, 1 },
1187e6ad46Vishal Kulkarni	{ NULL }
1197e6ad46Vishal Kulkarni};
1207e6ad46Vishal Kulkarni
1217e6ad46Vishal Kulkarnistatic struct field_desc tp_la2[] = {
1227e6ad46Vishal Kulkarni	{ "CplCmdIn", 56, 8 },
1237e6ad46Vishal Kulkarni	{ "MpsVfVld", 55, 1 },
1247e6ad46Vishal Kulkarni	{ "MpsPf", 52, 3 },
1257e6ad46Vishal Kulkarni	{ "MpsVf", 44, 8 },
1267e6ad46Vishal Kulkarni	{ "SynIn", 43, 1 },
1277e6ad46Vishal Kulkarni	{ "AckIn", 42, 1 },
1287e6ad46Vishal Kulkarni	{ "FinIn", 41, 1 },
1297e6ad46Vishal Kulkarni	{ "RstIn", 40, 1 },
1307e6ad46Vishal Kulkarni	{ "DataIn", 39, 1 },
1317e6ad46Vishal Kulkarni	{ "DataInVld", 38, 1 },
1327e6ad46Vishal Kulkarni	{ "PadIn", 37, 1 },
1337e6ad46Vishal Kulkarni	{ "RxBufEmpty", 36, 1 },
1347e6ad46Vishal Kulkarni	{ "RxDdp", 35, 1 },
1357e6ad46Vishal Kulkarni	{ "RxFbCongestion", 34, 1 },
1367e6ad46Vishal Kulkarni	{ "TxFbCongestion", 33, 1 },
1377e6ad46Vishal Kulkarni	{ "TxPktSumSrdy", 32, 1 },
1387e6ad46Vishal Kulkarni	{ "RcfUlpType", 28, 4 },
1397e6ad46Vishal Kulkarni	{ "Eread", 27, 1 },
1407e6ad46Vishal Kulkarni	{ "Ebypass", 26, 1 },
1417e6ad46Vishal Kulkarni	{ "Esave", 25, 1 },
1427e6ad46Vishal Kulkarni	{ "Static0", 24, 1 },
1437e6ad46Vishal Kulkarni	{ "Cread", 23, 1 },
1447e6ad46Vishal Kulkarni	{ "Cbypass", 22, 1 },
1457e6ad46Vishal Kulkarni	{ "Csave", 21, 1 },
1467e6ad46Vishal Kulkarni	{ "CPktOut", 20, 1 },
1477e6ad46Vishal Kulkarni	{ "RxPagePoolFull", 18, 2 },
1487e6ad46Vishal Kulkarni	{ "RxLpbkPkt", 17, 1 },
1497e6ad46Vishal Kulkarni	{ "TxLpbkPkt", 16, 1 },
1507e6ad46Vishal Kulkarni	{ "RxVfValid", 15, 1 },
1517e6ad46Vishal Kulkarni	{ "SynLearned", 14, 1 },
1527e6ad46Vishal Kulkarni	{ "SetDelEntry", 13, 1 },
1537e6ad46Vishal Kulkarni	{ "SetInvEntry", 12, 1 },
1547e6ad46Vishal Kulkarni	{ "CpcmdDvld", 11, 1 },
1557e6ad46Vishal Kulkarni	{ "CpcmdSave", 10, 1 },
1567e6ad46Vishal Kulkarni	{ "RxPstructsFull", 8, 2 },
1577e6ad46Vishal Kulkarni	{ "EpcmdDvld", 7, 1 },
1587e6ad46Vishal Kulkarni	{ "EpcmdFlush", 6, 1 },
1597e6ad46Vishal Kulkarni	{ "EpcmdTrimPrefix", 5, 1 },
1607e6ad46Vishal Kulkarni	{ "EpcmdTrimPostfix", 4, 1 },
1617e6ad46Vishal Kulkarni	{ "ERssIp4Pkt", 3, 1 },
1627e6ad46Vishal Kulkarni	{ "ERssIp6Pkt", 2, 1 },
1637e6ad46Vishal Kulkarni	{ "ERssTcpUdpPkt", 1, 1 },
1647e6ad46Vishal Kulkarni	{ "ERssFceFipPkt", 0, 1 },
1657e6ad46Vishal Kulkarni	{ NULL }
1667e6ad46Vishal Kulkarni};
1677e6ad46Vishal Kulkarni
1687e6ad46Vishal Kulkarnistatic const char * const devlog_level_strings[] = {
1697e6ad46Vishal Kulkarni	/*[FW_DEVLOG_LEVEL_EMERG]	=*/ "EMERG",
1707e6ad46Vishal Kulkarni	/*[FW_DEVLOG_LEVEL_CRIT]	=*/ "CRIT",
1717e6ad46Vishal Kulkarni	/*[FW_DEVLOG_LEVEL_ERR]		=*/ "ERR",
1727e6ad46Vishal Kulkarni	/*[FW_DEVLOG_LEVEL_NOTICE]	=*/ "NOTICE",
1737e6ad46Vishal Kulkarni	/*[FW_DEVLOG_LEVEL_INFO]	=*/ "INFO",
1747e6ad46Vishal Kulkarni	/*[FW_DEVLOG_LEVEL_DEBUG]	=*/ "DEBUG",
1757e6ad46Vishal Kulkarni	/*[FW_DEVLOG_LEVEL_MAX]		=*/ "MAX"
1767e6ad46Vishal Kulkarni};
1777e6ad46Vishal Kulkarni
1787e6ad46Vishal Kulkarnistatic const char * const devlog_facility_strings[] = {
1797e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_CORE]   =*/ "CORE",
1807e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
1817e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_SCHED]  =*/ "SCHED",
1827e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
1837e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_TIMER]  =*/ "TIMER",
1847e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
1857e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_RES]    =*/ "RES",
1867e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
1877e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_HW]     =*/ "HW",
1887e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
1897e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
1907e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
1917e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
1927e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
1937e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
1947e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
1957e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_FLR]    =*/ "FLR",
1967e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
1977e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DMAQ]   =*/ "DMAQ",
1987e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
1997e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_PHY]    =*/ "PHY",
2007e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2017e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_MAC]    =*/ "MAC",
2027e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2037e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_PORT]   =*/ "PORT",
2047e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2057e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_VI]     =*/ "VI",
2067e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2077e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_FILTER] =*/ "FILTER",
2087e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2097e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_ACL]    =*/ "ACL",
2107e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2117e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_TM]     =*/ "TM",
2127e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2137e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_QFC]    =*/ "QFC",
2147e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2157e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DCB]    =*/ "DCB",
2167e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2177e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_ETH]    =*/ "ETH",
2187e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2197e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_OFLD]   =*/ "OFLD",
2207e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2217e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_RI]     =*/ "RI",
2227e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2237e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_ISCSI]  =*/ "ISCSI",
2247e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2257e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_FCOE]   =*/ "FCOE",
2267e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]  =*/ "DUMMY",
2277e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_FOISCSI]	 =*/ "FOISCSI",
2287e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_DUMMY]   =*/ "DUMMY",
2297e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_FOFCOE] =*/ "FOFCOE",
2307e6ad46Vishal Kulkarni	/*[FW_DEVLOG_FACILITY_MAX]    =*/ "MAX"
2317e6ad46Vishal Kulkarni};
2327e6ad46Vishal Kulkarni
2337e6ad46Vishal Kulkarnistatic struct tp1_reg_info t6_tp_mib_index_reg_array[] = {
2347e6ad46Vishal Kulkarni	{"0x0", "TP_MIB_MAC_IN_ERR_0"},
2357e6ad46Vishal Kulkarni	{"0x1", "TP_MIB_MAC_IN_ERR_1"},
2367e6ad46Vishal Kulkarni	{"0x2", "TP_MIB_MAC_IN_ERR_2"},
2377e6ad46Vishal Kulkarni	{"0x3", "TP_MIB_MAC_IN_ERR_3"},
2387e6ad46Vishal Kulkarni	{"0x4", "TP_MIB_HDR_IN_ERR_0"},
2397e6ad46Vishal Kulkarni	{"0x5", "TP_MIB_HDR_IN_ERR_1"},
2407e6ad46Vishal Kulkarni	{"0x6", "TP_MIB_HDR_IN_ERR_2"},
2417e6ad46Vishal Kulkarni	{"0x7", "TP_MIB_HDR_IN_ERR_3"},
2427e6ad46Vishal Kulkarni	{"0x8", "TP_MIB_TCP_IN_ERR_0"},
2437e6ad46Vishal Kulkarni	{"0x9", "TP_MIB_TCP_IN_ERR_1"},
2447e6ad46Vishal Kulkarni	{"0xA", "TP_MIB_TCP_IN_ERR_2"},
2457e6ad46Vishal Kulkarni	{"0xB", "TP_MIB_TCP_IN_ERR_3"},
2467e6ad46Vishal Kulkarni	{"0xC", "TP_MIB_TCP_OUT_RST"},
2477e6ad46Vishal Kulkarni	{"0x10", "TP_MIB_TCP_IN_SEG_HI"},
2487e6ad46Vishal Kulkarni	{"0x11", "TP_MIB_TCP_IN_SEG_LO"},
2497e6ad46Vishal Kulkarni	{"0x12", "TP_MIB_TCP_OUT_SEG_HI"},
2507e6ad46Vishal Kulkarni	{"0x13", "TP_MIB_TCP_OUT_SEG_LO"},
2517e6ad46Vishal Kulkarni	{"0x14", "TP_MIB_TCP_RXT_SEG_HI"},
2527e6ad46Vishal Kulkarni	{"0x15", "TP_MIB_TCP_RXT_SEG_LO"},
2537e6ad46Vishal Kulkarni	{"0x18", "TP_MIB_TNL_CNG_DROP_0"},
2547e6ad46Vishal Kulkarni	{"0x19", "TP_MIB_TNL_CNG_DROP_1"},
2557e6ad46Vishal Kulkarni	{"0x1A", "TP_MIB_TNL_CNG_DROP_2"},
2567e6ad46Vishal Kulkarni	{"0x1B", "TP_MIB_TNL_CNG_DROP_3"},
2577e6ad46Vishal Kulkarni	{"0x1C", "TP_MIB_OFD_CHN_DROP_0"},
2587e6ad46Vishal Kulkarni	{"0x1D", "TP_MIB_OFD_CHN_DROP_1"},
2597e6ad46Vishal Kulkarni	{"0x1E", "TP_MIB_OFD_CHN_DROP_2"},
2607e6ad46Vishal Kulkarni	{"0x1F", "TP_MIB_OFD_CHN_DROP_3"},
2617e6ad46Vishal Kulkarni	{"0x20", "TP_MIB_TNL_OUT_PKT_0"},
2627e6ad46Vishal Kulkarni	{"0x21", "TP_MIB_TNL_OUT_PKT_1"},
2637e6ad46Vishal Kulkarni	{"0x22", "TP_MIB_TNL_OUT_PKT_2"},
2647e6ad46Vishal Kulkarni	{"0x23", "TP_MIB_TNL_OUT_PKT_3"},
2657e6ad46Vishal Kulkarni	{"0x24", "TP_MIB_TNL_IN_PKT_0"},
2667e6ad46Vishal Kulkarni	{"0x25", "TP_MIB_TNL_IN_PKT_1"},
2677e6ad46Vishal Kulkarni	{"0x26", "TP_MIB_TNL_IN_PKT_2"},
2687e6ad46Vishal Kulkarni	{"0x27", "TP_MIB_TNL_IN_PKT_3"},
2697e6ad46Vishal Kulkarni	{"0x28", "TP_MIB_TCP_V6IN_ERR_0"},
2707e6ad46Vishal Kulkarni	{"0x29", "TP_MIB_TCP_V6IN_ERR_1"},
2717e6ad46Vishal Kulkarni	{"0x2A", "TP_MIB_TCP_V6IN_ERR_2"},
2727e6ad46Vishal Kulkarni	{"0x2B", "TP_MIB_TCP_V6IN_ERR_3"},
2737e6ad46Vishal Kulkarni	{"0x2C", "TP_MIB_TCP_V6OUT_RST"},
2747e6ad46Vishal Kulkarni	{"0x30", "TP_MIB_TCP_V6IN_SEG_HI"},
2757e6ad46Vishal Kulkarni	{"0x31", "TP_MIB_TCP_V6IN_SEG_LO"},
2767e6ad46Vishal Kulkarni	{"0x32", "TP_MIB_TCP_V6OUT_SEG_HI"},
2777e6ad46Vishal Kulkarni	{"0x33", "TP_MIB_TCP_V6OUT_SEG_LO"},
2787e6ad46Vishal Kulkarni	{"0x34", "TP_MIB_TCP_V6RXT_SEG_HI"},
2797e6ad46Vishal Kulkarni	{"0x35", "TP_MIB_TCP_V6RXT_SEG_LO"},
2807e6ad46Vishal Kulkarni	{"0x36", "TP_MIB_OFD_ARP_DROP"},
2817e6ad46Vishal Kulkarni	{"0x37", "TP_MIB_OFD_DFR_DROP"},
2827e6ad46Vishal Kulkarni	{"0x38", "TP_MIB_CPL_IN_REQ_0"},
2837e6ad46Vishal Kulkarni	{"0x39", "TP_MIB_CPL_IN_REQ_1"},
2847e6ad46Vishal Kulkarni	{"0x3A", "TP_MIB_CPL_IN_REQ_2"},
2857e6ad46Vishal Kulkarni	{"0x3B", "TP_MIB_CPL_IN_REQ_3"},
2867e6ad46Vishal Kulkarni	{"0x3C", "TP_MIB_CPL_OUT_RSP_0"},
2877e6ad46Vishal Kulkarni	{"0x3D", "TP_MIB_CPL_OUT_RSP_1"},
2887e6ad46Vishal Kulkarni	{"0x3E", "TP_MIB_CPL_OUT_RSP_2"},
2897e6ad46Vishal Kulkarni	{"0x3F", "TP_MIB_CPL_OUT_RSP_3"},
2907e6ad46Vishal Kulkarni	{"0x40", "TP_MIB_TNL_LPBK_0"},
2917e6ad46Vishal Kulkarni	{"0x41", "TP_MIB_TNL_LPBK_1"},
2927e6ad46Vishal Kulkarni	{"0x42", "TP_MIB_TNL_LPBK_2"},
2937e6ad46Vishal Kulkarni	{"0x43", "TP_MIB_TNL_LPBK_3"},
2947e6ad46Vishal Kulkarni	{"0x44", "TP_MIB_TNL_DROP_0"},
2957e6ad46Vishal Kulkarni	{"0x45", "TP_MIB_TNL_DROP_1"},
2967e6ad46Vishal Kulkarni	{"0x46", "TP_MIB_TNL_DROP_2"},
2977e6ad46Vishal Kulkarni	{"0x47", "TP_MIB_TNL_DROP_3"},
2987e6ad46Vishal Kulkarni	{"0x48", "TP_MIB_FCOE_DDP_0"},
2997e6ad46Vishal Kulkarni	{"0x49", "TP_MIB_FCOE_DDP_1"},
3007e6ad46Vishal Kulkarni	{"0x4A", "TP_MIB_FCOE_DDP_2"},
3017e6ad46Vishal Kulkarni	{"0x4B", "TP_MIB_FCOE_DDP_3"},
3027e6ad46Vishal Kulkarni	{"0x4C", "TP_MIB_FCOE_DROP_0"},
3037e6ad46Vishal Kulkarni	{"0x4D", "TP_MIB_FCOE_DROP_1"},
3047e6ad46Vishal Kulkarni	{"0x4E", "TP_MIB_FCOE_DROP_2"},
3057e6ad46Vishal Kulkarni	{"0x4F", "TP_MIB_FCOE_DROP_3"},
3067e6ad46Vishal Kulkarni	{"0x50", "TP_MIB_FCOE_BYTE_0_HI"},
3077e6ad46Vishal Kulkarni	{"0x51", "TP_MIB_FCOE_BYTE_0_LO"},
3087e6ad46Vishal Kulkarni	{"0x52", "TP_MIB_FCOE_BYTE_1_HI"},
3097e6ad46Vishal Kulkarni	{"0x53", "TP_MIB_FCOE_BYTE_1_LO"},
3107e6ad46Vishal Kulkarni	{"0x54", "TP_MIB_FCOE_BYTE_2_HI"},
3117e6ad46Vishal Kulkarni	{"0x55", "TP_MIB_FCOE_BYTE_2_LO"},
3127e6ad46Vishal Kulkarni	{"0x56", "TP_MIB_FCOE_BYTE_3_HI"},
3137e6ad46Vishal Kulkarni	{"0x57", "TP_MIB_FCOE_BYTE_3_LO"},
3147e6ad46Vishal Kulkarni	{"0x58", "TP_MIB_OFD_VLN_DROP_0"},
3157e6ad46Vishal Kulkarni	{"0x59", "TP_MIB_OFD_VLN_DROP_1"},
3167e6ad46Vishal Kulkarni	{"0x5A", "TP_MIB_OFD_VLN_DROP_2"},
3177e6ad46Vishal Kulkarni	{"0x5B", "TP_MIB_OFD_VLN_DROP_3"},
3187e6ad46Vishal Kulkarni	{"0x5C", "TP_MIB_USM_PKTS"},
3197e6ad46Vishal Kulkarni	{"0x5D", "TP_MIB_USM_DROP"},
3207e6ad46Vishal Kulkarni	{"0x5E", "TP_MIB_USM_BYTES_HI"},
3217e6ad46Vishal Kulkarni	{"0x5F", "TP_MIB_USM_BYTES_LO"},
3227e6ad46Vishal Kulkarni	{"0x60", "TP_MIB_TID_DEL"},
3237e6ad46Vishal Kulkarni	{"0x61", "TP_MIB_TID_INV"},
3247e6ad46Vishal Kulkarni	{"0x62", "TP_MIB_TID_ACT"},
3257e6ad46Vishal Kulkarni	{"0x63", "TP_MIB_TID_PAS"},
3267e6ad46Vishal Kulkarni	{"0x64", "TP_MIB_RQE_DFR_PKT"},
3277e6ad46Vishal Kulkarni	{"0x65", "TP_MIB_RQE_DFR_MOD"},
3287e6ad46Vishal Kulkarni	{"0x68", "TP_MIB_CPL_OUT_ERR_0"},
3297e6ad46Vishal Kulkarni	{"0x69", "TP_MIB_CPL_OUT_ERR_1"},
3307e6ad46Vishal Kulkarni	{"0x6A", "TP_MIB_CPL_OUT_ERR_2"},
3317e6ad46Vishal Kulkarni	{"0x6B", "TP_MIB_CPL_OUT_ERR_3"},
3327e6ad46Vishal Kulkarni	{"0x6c", "TP_MIB_ENG_LINE_0"},
3337e6ad46Vishal Kulkarni	{"0x6d", "TP_MIB_ENG_LINE_1"},
3347e6ad46Vishal Kulkarni	{"0x6e", "TP_MIB_ENG_LINE_2"},
3357e6ad46Vishal Kulkarni	{"0x6f", "TP_MIB_ENG_LINE_3"},
3367e6ad46Vishal Kulkarni	{"0x70", "TP_MIB_TNL_ERR_0"},
3377e6ad46Vishal Kulkarni	{"0x71", "TP_MIB_TNL_ERR_1"},
3387e6ad46Vishal Kulkarni	{"0x72", "TP_MIB_TNL_ERR_2"},
3397e6ad46Vishal Kulkarni	{"0x73", "TP_MIB_TNL_ERR_3"}
3407e6ad46Vishal Kulkarni};
3417e6ad46Vishal Kulkarni
3427e6ad46Vishal Kulkarnistatic struct tp1_reg_info t5_tp_mib_index_reg_array[] = {
3437e6ad46Vishal Kulkarni	{"0x0", "TP_MIB_MAC_IN_ERR_0"},
3447e6ad46Vishal Kulkarni	{"0x1", "TP_MIB_MAC_IN_ERR_1"},
3457e6ad46Vishal Kulkarni	{"0x2", "TP_MIB_MAC_IN_ERR_2"},
3467e6ad46Vishal Kulkarni	{"0x3", "TP_MIB_MAC_IN_ERR_3"},
3477e6ad46Vishal Kulkarni	{"0x4", "TP_MIB_HDR_IN_ERR_0"},
3487e6ad46Vishal Kulkarni	{"0x5", "TP_MIB_HDR_IN_ERR_1"},
3497e6ad46Vishal Kulkarni	{"0x6", "TP_MIB_HDR_IN_ERR_2"},
3507e6ad46Vishal Kulkarni	{"0x7", "TP_MIB_HDR_IN_ERR_3"},
3517e6ad46Vishal Kulkarni	{"0x8", "TP_MIB_TCP_IN_ERR_0"},
3527e6ad46Vishal Kulkarni	{"0x9", "TP_MIB_TCP_IN_ERR_1"},
3537e6ad46Vishal Kulkarni	{"0xA", "TP_MIB_TCP_IN_ERR_2"},
3547e6ad46Vishal Kulkarni	{"0xB", "TP_MIB_TCP_IN_ERR_3"},
3557e6ad46Vishal Kulkarni	{"0xC", "TP_MIB_TCP_OUT_RST"},
3567e6ad46Vishal Kulkarni	{"0x10", "TP_MIB_TCP_IN_SEG_HI"},
3577e6ad46Vishal Kulkarni	{"0x11", "TP_MIB_TCP_IN_SEG_LO"},
3587e6ad46Vishal Kulkarni	{"0x12", "TP_MIB_TCP_OUT_SEG_HI"},
3597e6ad46Vishal Kulkarni	{"0x13", "TP_MIB_TCP_OUT_SEG_LO"},
3607e6ad46Vishal Kulkarni	{"0x14", "TP_MIB_TCP_RXT_SEG_HI"},
3617e6ad46Vishal Kulkarni	{"0x15", "TP_MIB_TCP_RXT_SEG_LO"},
3627e6ad46Vishal Kulkarni	{"0x18", "TP_MIB_TNL_CNG_DROP_0"},
3637e6ad46Vishal Kulkarni	{"0x19", "TP_MIB_TNL_CNG_DROP_1"},
3647e6ad46Vishal Kulkarni	{"0x1A", "TP_MIB_TNL_CNG_DROP_2"},
3657e6ad46Vishal Kulkarni	{"0x1B", "TP_MIB_TNL_CNG_DROP_3"},
3667e6ad46Vishal Kulkarni	{"0x1C", "TP_MIB_OFD_CHN_DROP_0"},
3677e6ad46Vishal Kulkarni	{"0x1D", "TP_MIB_OFD_CHN_DROP_1"},
3687e6ad46Vishal Kulkarni	{"0x1E", "TP_MIB_OFD_CHN_DROP_2"},
3697e6ad46Vishal Kulkarni	{"0x1F", "TP_MIB_OFD_CHN_DROP_3"},
3707e6ad46Vishal Kulkarni	{"0x20", "TP_MIB_TNL_OUT_PKT_0"},
3717e6ad46Vishal Kulkarni	{"0x21", "TP_MIB_TNL_OUT_PKT_1"},
3727e6ad46Vishal Kulkarni	{"0x22", "TP_MIB_TNL_OUT_PKT_2"},
3737e6ad46Vishal Kulkarni	{"0x23", "TP_MIB_TNL_OUT_PKT_3"},
3747e6ad46Vishal Kulkarni	{"0x24", "TP_MIB_TNL_IN_PKT_0"},
3757e6ad46Vishal Kulkarni	{"0x25", "TP_MIB_TNL_IN_PKT_1"},
3767e6ad46Vishal Kulkarni	{"0x26", "TP_MIB_TNL_IN_PKT_2"},
3777e6ad46Vishal Kulkarni	{"0x27", "TP_MIB_TNL_IN_PKT_3"},
3787e6ad46Vishal Kulkarni	{"0x28", "TP_MIB_TCP_V6IN_ERR_0"},
3797e6ad46Vishal Kulkarni	{"0x29", "TP_MIB_TCP_V6IN_ERR_1"},
3807e6ad46Vishal Kulkarni	{"0x2A", "TP_MIB_TCP_V6IN_ERR_2"},
3817e6ad46Vishal Kulkarni	{"0x2B", "TP_MIB_TCP_V6IN_ERR_3"},
3827e6ad46Vishal Kulkarni	{"0x2C", "TP_MIB_TCP_V6OUT_RST"},
3837e6ad46Vishal Kulkarni	{"0x30", "TP_MIB_TCP_V6IN_SEG_HI"},
3847e6ad46Vishal Kulkarni	{"0x31", "TP_MIB_TCP_V6IN_SEG_LO"},
3857e6ad46Vishal Kulkarni	{"0x32", "TP_MIB_TCP_V6OUT_SEG_HI"},
3867e6ad46Vishal Kulkarni	{"0x33", "TP_MIB_TCP_V6OUT_SEG_LO"},
3877e6ad46Vishal Kulkarni	{"0x34", "TP_MIB_TCP_V6RXT_SEG_HI"},
3887e6ad46Vishal Kulkarni	{"0x35", "TP_MIB_TCP_V6RXT_SEG_LO"},
3897e6ad46Vishal Kulkarni	{"0x36", "TP_MIB_OFD_ARP_DROP"},
3907e6ad46Vishal Kulkarni	{"0x37", "TP_MIB_OFD_DFR_DROP"},
3917e6ad46Vishal Kulkarni	{"0x38", "TP_MIB_CPL_IN_REQ_0"},
3927e6ad46Vishal Kulkarni	{"0x39", "TP_MIB_CPL_IN_REQ_1"},
3937e6ad46Vishal Kulkarni	{"0x3A", "TP_MIB_CPL_IN_REQ_2"},
3947e6ad46Vishal Kulkarni	{"0x3B", "TP_MIB_CPL_IN_REQ_3"},
3957e6ad46Vishal Kulkarni	{"0x3C", "TP_MIB_CPL_OUT_RSP_0"},
3967e6ad46Vishal Kulkarni	{"0x3D", "TP_MIB_CPL_OUT_RSP_1"},
3977e6ad46Vishal Kulkarni	{"0x3E", "TP_MIB_CPL_OUT_RSP_2"},
3987e6ad46Vishal Kulkarni	{"0x3F", "TP_MIB_CPL_OUT_RSP_3"},
3997e6ad46Vishal Kulkarni	{"0x40", "TP_MIB_TNL_LPBK_0"},
4007e6ad46Vishal Kulkarni	{"0x41", "TP_MIB_TNL_LPBK_1"},
4017e6ad46Vishal Kulkarni	{"0x42", "TP_MIB_TNL_LPBK_2"},
4027e6ad46Vishal Kulkarni	{"0x43", "TP_MIB_TNL_LPBK_3"},
4037e6ad46Vishal Kulkarni	{"0x44", "TP_MIB_TNL_DROP_0"},
4047e6ad46Vishal Kulkarni	{"0x45", "TP_MIB_TNL_DROP_1"},
4057e6ad46Vishal Kulkarni	{"0x46", "TP_MIB_TNL_DROP_2"},
4067e6ad46Vishal Kulkarni	{"0x47", "TP_MIB_TNL_DROP_3"},
4077e6ad46Vishal Kulkarni	{"0x48", "TP_MIB_FCOE_DDP_0"},
4087e6ad46Vishal Kulkarni	{"0x49", "TP_MIB_FCOE_DDP_1"},
4097e6ad46Vishal Kulkarni	{"0x4A", "TP_MIB_FCOE_DDP_2"},
4107e6ad46Vishal Kulkarni	{"0x4B", "TP_MIB_FCOE_DDP_3"},
4117e6ad46Vishal Kulkarni	{"0x4C", "TP_MIB_FCOE_DROP_0"},
4127e6ad46Vishal Kulkarni	{"0x4D", "TP_MIB_FCOE_DROP_1"},
4137e6ad46Vishal Kulkarni	{"0x4E", "TP_MIB_FCOE_DROP_2"},
4147e6ad46Vishal Kulkarni	{"0x4F", "TP_MIB_FCOE_DROP_3"},
4157e6ad46Vishal Kulkarni	{"0x50", "TP_MIB_FCOE_BYTE_0_HI"},
4167e6ad46Vishal Kulkarni	{"0x51", "TP_MIB_FCOE_BYTE_0_LO"},
4177e6ad46Vishal Kulkarni	{"0x52", "TP_MIB_FCOE_BYTE_1_HI"},
4187e6ad46Vishal Kulkarni	{"0x53", "TP_MIB_FCOE_BYTE_1_LO"},
4197e6ad46Vishal Kulkarni	{"0x54", "TP_MIB_FCOE_BYTE_2_HI"},
4207e6ad46Vishal Kulkarni	{"0x55", "TP_MIB_FCOE_BYTE_2_LO"},
4217e6ad46Vishal Kulkarni	{"0x56", "TP_MIB_FCOE_BYTE_3_HI"},
4227e6ad46Vishal Kulkarni	{"0x57", "TP_MIB_FCOE_BYTE_3_LO"},
4237e6ad46Vishal Kulkarni	{"0x58", "TP_MIB_OFD_VLN_DROP_0"},
4247e6ad46Vishal Kulkarni	{"0x59", "TP_MIB_OFD_VLN_DROP_1"},
4257e6ad46Vishal Kulkarni	{"0x5A", "TP_MIB_OFD_VLN_DROP_2"},
4267e6ad46Vishal Kulkarni	{"0x5B", "TP_MIB_OFD_VLN_DROP_3"},
4277e6ad46Vishal Kulkarni	{"0x5C", "TP_MIB_USM_PKTS"},
4287e6ad46Vishal Kulkarni	{"0x5D", "TP_MIB_USM_DROP"},
4297e6ad46Vishal Kulkarni	{"0x5E", "TP_MIB_USM_BYTES_HI"},
4307e6ad46Vishal Kulkarni	{"0x5F", "TP_MIB_USM_BYTES_LO"},
4317e6ad46Vishal Kulkarni	{"0x60", "TP_MIB_TID_DEL"},
4327e6ad46Vishal Kulkarni	{"0x61", "TP_MIB_TID_INV"},
4337e6ad46Vishal Kulkarni	{"0x62", "TP_MIB_TID_ACT"},
4347e6ad46Vishal Kulkarni	{"0x63", "TP_MIB_TID_PAS"},
4357e6ad46Vishal Kulkarni	{"0x64", "TP_MIB_RQE_DFR_PKT"},
4367e6ad46Vishal Kulkarni	{"0x65", "TP_MIB_RQE_DFR_MOD"},
4377e6ad46Vishal Kulkarni	{"0x68", "TP_MIB_CPL_OUT_ERR_0"},
4387e6ad46Vishal Kulkarni	{"0x69", "TP_MIB_CPL_OUT_ERR_1"},
4397e6ad46Vishal Kulkarni	{"0x6A", "TP_MIB_CPL_OUT_ERR_2"},
4407e6ad46Vishal Kulkarni	{"0x6B", "TP_MIB_CPL_OUT_ERR_3"}
4417e6ad46Vishal Kulkarni};
4427e6ad46Vishal Kulkarni
4437e6ad46Vishal Kulkarnistatic struct cudbg_reg_info t6_tp_tm_regs[] = {
4447e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q7_Q6_TIMER_SEPARATOR", 0x0, 0 },
4457e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ7", 16, 16 },
4467e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ6", 0, 16 },
4477e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q5_Q4_TIMER_SEPARATOR", 0x1, 0 },
4487e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ4", 16, 16 },
4497e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ4", 0, 16 },
4507e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q3_Q2_TIMER_SEPARATOR", 0x2, 0 },
4517e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ3", 16, 16 },
4527e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ2", 0, 16 },
4537e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q1_Q0_TIMER_SEPARATOR", 0x3, 0 },
4547e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ1", 16, 16 },
4557e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ0", 0, 16 },
4567e6ad46Vishal Kulkarni	{ "TP_RX_MOD_Q1_Q0_TIMER_SEPARATOR", 0x4, 0 },
4577e6ad46Vishal Kulkarni	{ "S_RXTIMERSEPQ1", 16, 16 },
4587e6ad46Vishal Kulkarni	{ "S_RXTIMERSEPQ0", 0, 16 },
4597e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q7_Q6_RATE_LIMIT", 0x5, 0 },
4607e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ7", 24, 8 },
4617e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ7", 16, 8 },
4627e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ6", 8, 8 },
4637e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ6", 0, 8 },
4647e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q5_Q4_RATE_LIMIT", 0x6, 0 },
4657e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ5", 24, 8 },
4667e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ5", 16, 8 },
4677e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ4", 8, 8 },
4687e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ4", 0, 8 },
4697e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q3_Q2_RATE_LIMIT", 0x7, 0 },
4707e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ3", 24, 8 },
4717e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ3", 16, 8 },
4727e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ2", 8, 8 },
4737e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ2", 0, 8 },
4747e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q1_Q0_RATE_LIMIT", 0x8, 0 },
4757e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ1", 24, 8 },
4767e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ1", 16, 8 },
4777e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ0", 8, 8 },
4787e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ0", 0, 8 },
4797e6ad46Vishal Kulkarni	{ "TP_RX_MOD_Q1_Q0_RATE_LIMIT", 0x9, 0 },
4807e6ad46Vishal Kulkarni	{ "S_RXRATEINCQ1", 24, 8 },
4817e6ad46Vishal Kulkarni	{ "S_RXRATETCKQ1", 16, 8 },
4827e6ad46Vishal Kulkarni	{ "S_RXRATEINCQ0", 8, 8 },
4837e6ad46Vishal Kulkarni	{ "S_RXRATETCKQ0", 0, 8 },
4847e6ad46Vishal Kulkarni	{ "TP_TX_MOD_C3_C2_RATE_LIMIT", 0xA, 0 },
4857e6ad46Vishal Kulkarni	{ "TP_TX_MOD_C1_C0_RATE_LIMIT", 0xB, 0 },
4867e6ad46Vishal Kulkarni	{ NULL }
4877e6ad46Vishal Kulkarni};
4887e6ad46Vishal Kulkarni
4897e6ad46Vishal Kulkarnistatic struct cudbg_reg_info t5_tp_tm_regs[] = {
4907e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q7_Q6_TIMER_SEPARATOR", 0x0, 0 },
4917e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ7", 16, 16 },
4927e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ6", 0, 16 },
4937e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q5_Q4_TIMER_SEPARATOR", 0x1, 0 },
4947e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ4", 16, 16 },
4957e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ4", 0, 16 },
4967e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q3_Q2_TIMER_SEPARATOR", 0x2, 0 },
4977e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ3", 16, 16 },
4987e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ2", 0, 16 },
4997e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q1_Q0_TIMER_SEPARATOR", 0x3, 0 },
5007e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ1", 16, 16 },
5017e6ad46Vishal Kulkarni	{ "S_TXTIMERSEPQ0", 0, 16 },
5027e6ad46Vishal Kulkarni	{ "TP_RX_MOD_Q1_Q0_TIMER_SEPARATOR", 0x4, 0 },
5037e6ad46Vishal Kulkarni	{ "S_RXTIMERSEPQ1", 16, 16 },
5047e6ad46Vishal Kulkarni	{ "S_RXTIMERSEPQ0", 0, 16 },
5057e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q7_Q6_RATE_LIMIT", 0x5, 0 },
5067e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ7", 24, 8 },
5077e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ7", 16, 8 },
5087e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ6", 8, 8 },
5097e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ6", 0, 8 },
5107e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q5_Q4_RATE_LIMIT", 0x6, 0 },
5117e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ5", 24, 8 },
5127e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ5", 16, 8 },
5137e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ4", 8, 8 },
5147e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ4", 0, 8 },
5157e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q3_Q2_RATE_LIMIT", 0x7, 0 },
5167e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ3", 24, 8 },
5177e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ3", 16, 8 },
5187e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ2", 8, 8 },
5197e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ2", 0, 8 },
5207e6ad46Vishal Kulkarni	{ "TP_TX_MOD_Q1_Q0_RATE_LIMIT", 0x8, 0 },
5217e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ1", 24, 8 },
5227e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ1", 16, 8 },
5237e6ad46Vishal Kulkarni	{ "S_TXRATEINCQ0", 8, 8 },
5247e6ad46Vishal Kulkarni	{ "S_TXRATETCKQ0", 0, 8 },
5257e6ad46Vishal Kulkarni	{ "TP_RX_MOD_Q1_Q0_RATE_LIMIT", 0x9, 0 },
5267e6ad46Vishal Kulkarni	{ "S_RXRATEINCQ1", 24, 8 },
5277e6ad46Vishal Kulkarni	{ "S_RXRATETCKQ1", 16, 8 },
5287e6ad46Vishal Kulkarni	{ "S_RXRATEINCQ0", 8, 8 },
5297e6ad46Vishal Kulkarni	{ "S_RXRATETCKQ0", 0, 8 },
5307e6ad46Vishal Kulkarni	{ "TP_TX_MOD_C3_C2_RATE_LIMIT", 0xA, 0 },
5317e6ad46Vishal Kulkarni	{ "TP_TX_MOD_C1_C0_RATE_LIMIT", 0xB, 0 },
5327e6ad46Vishal Kulkarni	{ NULL }
5337e6ad46Vishal Kulkarni};
5347e6ad46Vishal Kulkarni
5357e6ad46Vishal Kulkarnistatic struct cudbg_reg_info t6_tp_pio_regs_20_to_3b[] = {
5367e6ad46Vishal Kulkarni	{ "TP_RX_SCHED_MAP", 0x20, 0 },
5377e6ad46Vishal Kulkarni	{ "S_RXMAPCHANNEL3", 24, 8 },
5387e6ad46Vishal Kulkarni	{ "S_RXMAPCHANNEL2", 16, 8 },
5397e6ad46Vishal Kulkarni	{ "S_RXMAPCHANNEL1", 8, 8 },
5407e6ad46Vishal Kulkarni	{ "S_RXMAPCHANNEL0", 0, 8 },
5417e6ad46Vishal Kulkarni	{ "TP_RX_SCHED_SGE", 0x21, 0 },
5427e6ad46Vishal Kulkarni	{ "S_RXSGEMOD1", 12, 4 },
5437e6ad46Vishal Kulkarni	{ "S_RXSGEMOD0", 8, 4 },
5447e6ad46Vishal Kulkarni	{ "S_RXSGECHANNEL3", 3, 1 },
5457e6ad46Vishal Kulkarni	{ "S_RXSGECHANNEL2", 2, 1 },
5467e6ad46Vishal Kulkarni	{ "S_RXSGECHANNEL1", 1, 1 },
5477e6ad46Vishal Kulkarni	{ "S_RXSGECHANNEL0", 0, 1 },
5487e6ad46Vishal Kulkarni	{ "TP_TX_SCHED_MAP", 0x22, 0 },
5497e6ad46Vishal Kulkarni	{ "S_TXMAPCHANNEL3", 12, 4 },
5507e6ad46Vishal Kulkarni	{ "S_TXMAPCHANNEL2", 8, 4 },
5517e6ad46Vishal Kulkarni	{ "S_TXMAPCHANNEL1", 4, 4 },
5527e6ad46Vishal Kulkarni	{ "S_TXMAPCHANNEL0", 0, 4 },
5537e6ad46Vishal Kulkarni	{ "TP_TX_SCHED_HDR", 0x23, 0 },
5547e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL7", 28, 4 },
5557e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL6", 24, 4 },
5567e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL5", 20, 4 },
5577e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL4", 16, 4 },
5587e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL3", 12, 4 },
5597e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL2", 8, 4 },
5607e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL1", 4, 4 },
5617e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL0", 0, 4 },
5627e6ad46Vishal Kulkarni	{ "TP_TX_SCHED_FIFO", 0x24, 0 },
5637e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL7", 28, 4 },
5647e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL6", 24, 4 },
5657e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL5", 20, 4 },
5667e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL4", 16, 4 },
5677e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL3", 12, 4 },
5687e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL2", 8, 4 },
5697e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL1", 4, 4 },
5707e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL0", 0, 4 },
5717e6ad46Vishal Kulkarni	{ "TP_TX_SCHED_PCMD", 0x25, 0 },
5727e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL7", 28, 4 },
5737e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL6", 24, 4 },
5747e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL5", 20, 4 },
5757e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL4", 16, 4 },
5767e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL3", 12, 4 },
5777e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL2", 8, 4 },
5787e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL1", 4, 4 },
5797e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL0", 0, 4 },
5807e6ad46Vishal Kulkarni	{ "TP_TX_SCHED_LPBK", 0x26, 0 },
5817e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL7", 28, 4 },
5827e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL6", 24, 4 },
5837e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL5", 20, 4 },
5847e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL4", 16, 4 },
5857e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL3", 12, 4 },
5867e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL2", 8, 4 },
5877e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL1", 4, 4 },
5887e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL0", 0, 4 },
5897e6ad46Vishal Kulkarni	{ "TP_CHANNEL_MAP", 0x27, 0 },
5907e6ad46Vishal Kulkarni	{ "RxMapChannelELN", 16, 4 },
5917e6ad46Vishal Kulkarni	{ "RxMapE2LChannel3", 14, 2 },
5927e6ad46Vishal Kulkarni	{ "RxMapE2LChannel2", 12, 2 },
5937e6ad46Vishal Kulkarni	{ "RxMapE2LChannel1", 10, 2 },
5947e6ad46Vishal Kulkarni	{ "RxMapE2LChannel0", 8, 2 },
5957e6ad46Vishal Kulkarni	{ "RxMapC2CChannel3", 7, 1 },
5967e6ad46Vishal Kulkarni	{ "RxMapC2CChannel2", 6, 1 },
5977e6ad46Vishal Kulkarni	{ "RxMapC2CChannel1", 5, 1 },
5987e6ad46Vishal Kulkarni	{ "RxMapC2CChannel0", 4, 1 },
5997e6ad46Vishal Kulkarni	{ "RxMapE2CChannel3", 3, 1 },
6007e6ad46Vishal Kulkarni	{ "RxMapE2CChannel2", 2, 1 },
6017e6ad46Vishal Kulkarni	{ "RxMapE2CChannel1", 1, 1 },
6027e6ad46Vishal Kulkarni	{ "RxMapE2CChannel0", 0, 1 },
6037e6ad46Vishal Kulkarni	{ "TP_RX_LPBK", 0x28, 0 },
6047e6ad46Vishal Kulkarni	{ "CommitReset3", 31, 1 },
6057e6ad46Vishal Kulkarni	{ "CommitReset2", 30, 1 },
6067e6ad46Vishal Kulkarni	{ "CommitReset1", 29, 1 },
6077e6ad46Vishal Kulkarni	{ "CommitReset0", 28, 1 },
6087e6ad46Vishal Kulkarni	{ "ForceCong3", 27, 1 },
6097e6ad46Vishal Kulkarni	{ "ForceCong2", 26, 1 },
6107e6ad46Vishal Kulkarni	{ "ForceCong1", 25, 1 },
6117e6ad46Vishal Kulkarni	{ "ForceCong0", 24, 1 },
6127e6ad46Vishal Kulkarni	{ "CommitLimit3", 18, 6 },
6137e6ad46Vishal Kulkarni	{ "CommitLimit2", 12, 6},
6147e6ad46Vishal Kulkarni	{ "CommitLimit1", 6, 6 },
6157e6ad46Vishal Kulkarni	{ "CommitLimit0", 0, 6 },
6167e6ad46Vishal Kulkarni	{ "TP_TX_LPBK", 0x29, 0 },
6177e6ad46Vishal Kulkarni	{ "CommitReset3", 31, 1 },
6187e6ad46Vishal Kulkarni	{ "CommitReset2", 30, 1 },
6197e6ad46Vishal Kulkarni	{ "CommitReset1", 29, 1 },
6207e6ad46Vishal Kulkarni	{ "CommitReset0", 28, 1 },
6217e6ad46Vishal Kulkarni	{ "ForceCong3", 27, 1 },
6227e6ad46Vishal Kulkarni	{ "ForceCong2", 26, 1 },
6237e6ad46Vishal Kulkarni	{ "ForceCong1", 25, 1 },
6247e6ad46Vishal Kulkarni	{ "ForceCong0", 24, 1 },
6257e6ad46Vishal Kulkarni	{ "CommitLimit3", 18, 6 },
6267e6ad46Vishal Kulkarni	{ "CommitLimit2", 12, 6},
6277e6ad46Vishal Kulkarni	{ "CommitLimit1", 6, 6 },
6287e6ad46Vishal Kulkarni	{ "CommitLimit0", 0, 6 },
6297e6ad46Vishal Kulkarni
6307e6ad46Vishal Kulkarni	{ "TP_TX_SCHED_PPP", 0x2A, 0 },
6317e6ad46Vishal Kulkarni	{ "S_TXPPPENPORT3", 24, 8 },
6327e6ad46Vishal Kulkarni	{ "S_TXPPPENPORT2", 16, 8 },
6337e6ad46Vishal Kulkarni	{ "S_TXPPPENPORT1", 8, 8 },
6347e6ad46Vishal Kulkarni	{ "S_TXPPPENPORT0", 0, 8 },
6357e6ad46Vishal Kulkarni	{ "TP_RX_SCHED_FIFO", 0x2B, 0 },
6367e6ad46Vishal Kulkarni	{ "S_COMMITLIMIT1H", 24, 8 },
6377e6ad46Vishal Kulkarni	{ "S_COMMITLIMIT1L", 16, 8 },
6387e6ad46Vishal Kulkarni	{ "S_COMMITLIMIT0H", 8, 8 },
6397e6ad46Vishal Kulkarni	{ "S_COMMITLIMIT0L", 0, 8 },
6407e6ad46Vishal Kulkarni	{ "TP_IPMI_CFG1", 0x2E, 0 },
6417e6ad46Vishal Kulkarni	{ "S_VLANENABLE", 31, 1 },
6427e6ad46Vishal Kulkarni	{ "S_PRIMARYPORTENABLE", 30, 1 },
6437e6ad46Vishal Kulkarni	{ "S_SECUREPORTENABLE", 29, 1 },
6447e6ad46Vishal Kulkarni	{ "S_ARPENABLE", 28, 1 },
6457e6ad46Vishal Kulkarni	{ "S_IPMI_VLAN", 0, 16 },
6467e6ad46Vishal Kulkarni	{ "TP_IPMI_CFG2", 0x2F, 0 },
6477e6ad46Vishal Kulkarni	{ "S_SECUREPORT", 16, 16 },
6487e6ad46Vishal Kulkarni	{ "S_PRIMARYPORT", 0, 16 },
6497e6ad46Vishal Kulkarni	{ "TP_RSS_PF0_CONFIG", 0x30, 0 },
6507e6ad46Vishal Kulkarni	{ "S_MAPENABLE", 31, 1 },
6517e6ad46Vishal Kulkarni	{ "S_CHNENABLE", 30, 1 },
6527e6ad46Vishal Kulkarni	{ "S_PRTENABLE", 29, 1 },
6537e6ad46Vishal Kulkarni	{ "S_UDPFOURTUPEN", 28, 1 },
6547e6ad46Vishal Kulkarni	{ "S_IP6FOURTUPEN", 27, 1 },
6557e6ad46Vishal Kulkarni	{ "S_IP6TWOTUPEN", 26, 1 },
6567e6ad46Vishal Kulkarni	{ "S_IP4FOURTUPEN", 25, 1 },
6577e6ad46Vishal Kulkarni	{ "S_IP4TWOTUPEN", 24, 1 },
6587e6ad46Vishal Kulkarni	{ "S_IVFWIDTH", 20, 4 },
6597e6ad46Vishal Kulkarni	{ "S_CH1DEFAULTQUEUE", 10, 10 },
6607e6ad46Vishal Kulkarni	{ "S_CH0DEFAULTQUEUE", 0, 10 },
6617e6ad46Vishal Kulkarni	{ "TP_RSS_PF1_CONFIG", 0x31, 0 },
6627e6ad46Vishal Kulkarni	{ "S_MAPENABLE", 31, 1 },
6637e6ad46Vishal Kulkarni	{ "S_CHNENABLE", 30, 1 },
6647e6ad46Vishal Kulkarni	{ "S_PRTENABLE", 29, 1 },
6657e6ad46Vishal Kulkarni	{ "S_UDPFOURTUPEN", 28, 1 },
6667e6ad46Vishal Kulkarni	{ "S_IP6FOURTUPEN", 27, 1 },
6677e6ad46Vishal Kulkarni	{ "S_IP6TWOTUPEN", 26, 1 },
6687e6ad46Vishal Kulkarni	{ "S_IP4FOURTUPEN", 25, 1 },
6697e6ad46Vishal Kulkarni	{ "S_IP4TWOTUPEN", 24, 1 },
6707e6ad46Vishal Kulkarni	{ "S_IVFWIDTH", 20, 4 },
6717e6ad46Vishal Kulkarni	{ "S_CH1DEFAULTQUEUE", 10, 10 },
6727e6ad46Vishal Kulkarni	{ "S_CH0DEFAULTQUEUE", 0, 10 },
6737e6ad46Vishal Kulkarni	{ "TP_RSS_PF2_CONFIG", 0x32, 0 },
6747e6ad46Vishal Kulkarni	{ "S_MAPENABLE", 31, 1 },
6757e6ad46Vishal Kulkarni	{ "S_CHNENABLE", 30, 1 },
6767e6ad46Vishal Kulkarni	{ "S_PRTENABLE", 29, 1 },
6777e6ad46Vishal Kulkarni	{ "S_UDPFOURTUPEN", 28, 1 },
6787e6ad46Vishal Kulkarni	{ "S_IP6FOURTUPEN", 27, 1 },
6797e6ad46Vishal Kulkarni	{ "S_IP6TWOTUPEN", 26, 1 },
6807e6ad46Vishal Kulkarni	{ "S_IP4FOURTUPEN", 25, 1 },
6817e6ad46Vishal Kulkarni	{ "S_IP4TWOTUPEN", 24, 1 },
6827e6ad46Vishal Kulkarni	{ "S_IVFWIDTH", 20, 4 },
6837e6ad46Vishal Kulkarni	{ "S_CH1DEFAULTQUEUE", 10, 10 },
6847e6ad46Vishal Kulkarni	{ "S_CH0DEFAULTQUEUE", 0, 10 },
6857e6ad46Vishal Kulkarni	{ "TP_RSS_PF3_CONFIG", 0x33, 0 },
6867e6ad46Vishal Kulkarni	{ "S_MAPENABLE", 31, 1 },
6877e6ad46Vishal Kulkarni	{ "S_CHNENABLE", 30, 1 },
6887e6ad46Vishal Kulkarni	{ "S_PRTENABLE", 29, 1 },
6897e6ad46Vishal Kulkarni	{ "S_UDPFOURTUPEN", 28, 1 },
6907e6ad46Vishal Kulkarni	{ "S_IP6FOURTUPEN", 27, 1 },
6917e6ad46Vishal Kulkarni	{ "S_IP6TWOTUPEN", 26, 1 },
6927e6ad46Vishal Kulkarni	{ "S_IP4FOURTUPEN", 25, 1 },
6937e6ad46Vishal Kulkarni	{ "S_IP4TWOTUPEN", 24, 1 },
6947e6ad46Vishal Kulkarni	{ "S_IVFWIDTH", 20, 4 },
6957e6ad46Vishal Kulkarni	{ "S_CH1DEFAULTQUEUE", 10, 10 },
6967e6ad46Vishal Kulkarni	{ "S_CH0DEFAULTQUEUE", 0, 10 },
6977e6ad46Vishal Kulkarni	{ "TP_RSS_PF4_CONFIG", 0x34, 0 },
6987e6ad46Vishal Kulkarni	{ "S_MAPENABLE", 31, 1 },
6997e6ad46Vishal Kulkarni	{ "S_CHNENABLE", 30, 1 },
7007e6ad46Vishal Kulkarni	{ "S_PRTENABLE", 29, 1 },
7017e6ad46Vishal Kulkarni	{ "S_UDPFOURTUPEN", 28, 1 },
7027e6ad46Vishal Kulkarni	{ "S_IP6FOURTUPEN", 27, 1 },
7037e6ad46Vishal Kulkarni	{ "S_IP6TWOTUPEN", 26, 1 },
7047e6ad46Vishal Kulkarni	{ "S_IP4FOURTUPEN", 25, 1 },
7057e6ad46Vishal Kulkarni	{ "S_IP4TWOTUPEN", 24, 1 },
7067e6ad46Vishal Kulkarni	{ "S_IVFWIDTH", 20, 4 },
7077e6ad46Vishal Kulkarni	{ "S_CH1DEFAULTQUEUE", 10, 10 },
7087e6ad46Vishal Kulkarni	{ "S_CH0DEFAULTQUEUE", 0, 10 },
7097e6ad46Vishal Kulkarni	{ "TP_RSS_PF5_CONFIG", 0x35, 0 },
7107e6ad46Vishal Kulkarni	{ "S_MAPENABLE", 31, 1 },
7117e6ad46Vishal Kulkarni	{ "S_CHNENABLE", 30, 1 },
7127e6ad46Vishal Kulkarni	{ "S_PRTENABLE", 29, 1 },
7137e6ad46Vishal Kulkarni	{ "S_UDPFOURTUPEN", 28, 1 },
7147e6ad46Vishal Kulkarni	{ "S_IP6FOURTUPEN", 27, 1 },
7157e6ad46Vishal Kulkarni	{ "S_IP6TWOTUPEN", 26, 1 },
7167e6ad46Vishal Kulkarni	{ "S_IP4FOURTUPEN", 25, 1 },
7177e6ad46Vishal Kulkarni	{ "S_IP4TWOTUPEN", 24, 1 },
7187e6ad46Vishal Kulkarni	{ "S_IVFWIDTH", 20, 4 },
7197e6ad46Vishal Kulkarni	{ "S_CH1DEFAULTQUEUE", 10, 10 },
7207e6ad46Vishal Kulkarni	{ "S_CH0DEFAULTQUEUE", 0, 10 },
7217e6ad46Vishal Kulkarni	{ "TP_RSS_PF6_CONFIG", 0x36, 0 },
7227e6ad46Vishal Kulkarni	{ "S_MAPENABLE", 31, 1 },
7237e6ad46Vishal Kulkarni	{ "S_CHNENABLE", 30, 1 },
7247e6ad46Vishal Kulkarni	{ "S_PRTENABLE", 29, 1 },
7257e6ad46Vishal Kulkarni	{ "S_UDPFOURTUPEN", 28, 1 },
7267e6ad46Vishal Kulkarni	{ "S_IP6FOURTUPEN", 27, 1 },
7277e6ad46Vishal Kulkarni	{ "S_IP6TWOTUPEN", 26, 1 },
7287e6ad46Vishal Kulkarni	{ "S_IP4FOURTUPEN", 25, 1 },
7297e6ad46Vishal Kulkarni	{ "S_IP4TWOTUPEN", 24, 1 },
7307e6ad46Vishal Kulkarni	{ "S_IVFWIDTH", 20, 4 },
7317e6ad46Vishal Kulkarni	{ "S_CH1DEFAULTQUEUE", 10, 10 },
7327e6ad46Vishal Kulkarni	{ "S_CH0DEFAULTQUEUE", 0, 10 },
7337e6ad46Vishal Kulkarni	{ "TP_RSS_PF7_CONFIG", 0x37, 0 },
7347e6ad46Vishal Kulkarni	{ "S_MAPENABLE", 31, 1 },
7357e6ad46Vishal Kulkarni	{ "S_CHNENABLE", 30, 1 },
7367e6ad46Vishal Kulkarni	{ "S_PRTENABLE", 29, 1 },
7377e6ad46Vishal Kulkarni	{ "S_UDPFOURTUPEN", 28, 1 },
7387e6ad46Vishal Kulkarni	{ "S_IP6FOURTUPEN", 27, 1 },
7397e6ad46Vishal Kulkarni	{ "S_IP6TWOTUPEN", 26, 1 },
7407e6ad46Vishal Kulkarni	{ "S_IP4FOURTUPEN", 25, 1 },
7417e6ad46Vishal Kulkarni	{ "S_IP4TWOTUPEN", 24, 1 },
7427e6ad46Vishal Kulkarni	{ "S_IVFWIDTH", 20, 4 },
7437e6ad46Vishal Kulkarni	{ "S_CH1DEFAULTQUEUE", 10, 10 },
7447e6ad46Vishal Kulkarni	{ "S_CH0DEFAULTQUEUE", 0, 10 },
7457e6ad46Vishal Kulkarni	{ "TP_RSS_PF_MAP", 0x38, 0 },
7467e6ad46Vishal Kulkarni	{ "S_LKPIDXSIZE", 24, 2 },
7477e6ad46Vishal Kulkarni	{ "S_PF7LKPIDX", 21, 3 },
7487e6ad46Vishal Kulkarni	{ "S_PF6LKPIDX", 18, 3 },
7497e6ad46Vishal Kulkarni	{ "S_PF5LKPIDX", 15, 3 },
7507e6ad46Vishal Kulkarni	{ "S_PF4LKPIDX", 12, 3 },
7517e6ad46Vishal Kulkarni	{ "S_PF3LKPIDX", 9, 3 },
7527e6ad46Vishal Kulkarni	{ "S_PF2LKPIDX", 6, 3 },
7537e6ad46Vishal Kulkarni	{ "S_PF1LKPIDX", 3, 3 },
7547e6ad46Vishal Kulkarni	{ "S_PF0LKPIDX", 0, 3 },
7557e6ad46Vishal Kulkarni	{ "TP_RSS_PF_MSK", 0x39, 0 },
7567e6ad46Vishal Kulkarni	{ "S_PF7MSKSIZE", 28, 4 },
7577e6ad46Vishal Kulkarni	{ "S_PF6MSKSIZE", 24, 4 },
7587e6ad46Vishal Kulkarni	{ "S_PF5MSKSIZE", 20, 4 },
7597e6ad46Vishal Kulkarni	{ "S_PF4MSKSIZE", 16, 4 },
7607e6ad46Vishal Kulkarni	{ "S_PF3MSKSIZE", 12, 4 },
7617e6ad46Vishal Kulkarni	{ "S_PF2MSKSIZE", 8, 4 },
7627e6ad46Vishal Kulkarni	{ "S_PF1MSKSIZE", 4, 4 },
7637e6ad46Vishal Kulkarni	{ "S_PF0MSKSIZE", 0, 4 },
7647e6ad46Vishal Kulkarni	{ "TP_RSS_VFL_CONFIG", 0x3A, 0 },
7657e6ad46Vishal Kulkarni	{ "S_KEYSCRAMBLE", 0, 32 },
7667e6ad46Vishal Kulkarni	{ "TP_RSS_VFH_CONFIG", 0x3B, 0 },
7677e6ad46Vishal Kulkarni	{ "S_ENABLEUDPHASH", 31, 1 },
7687e6ad46Vishal Kulkarni	{ "S_VFUPEN", 30, 1 },
7697e6ad46Vishal Kulkarni	{ "S_RESERVED", 29, 1 },
7707e6ad46Vishal Kulkarni	{ "S_VFVLNEX", 28, 1 },
7717e6ad46Vishal Kulkarni	{ "S_VFPRTEN", 27, 1 },
7727e6ad46Vishal Kulkarni	{ "S_VFCHNEN", 26, 1 },
7737e6ad46Vishal Kulkarni	{ "S_DEFAULTQUEUE", 16, 10 },
7747e6ad46Vishal Kulkarni	{ "S_VFLKPIDX", 8, 8 },
7757e6ad46Vishal Kulkarni	{ "S_VFIP6FOURTUPEN", 7, 1 },
7767e6ad46Vishal Kulkarni	{ "S_VFIP6TWOTUPEN", 6, 1 },
7777e6ad46Vishal Kulkarni	{ "S_VFIP4FOURTUPEN", 5, 1 },
7787e6ad46Vishal Kulkarni	{ "S_VFIP4TWOTUPEN", 4, 1 },
7797e6ad46Vishal Kulkarni	{ "S_KEYINDEX", 0, 4 },
7807e6ad46Vishal Kulkarni	{ NULL }
7817e6ad46Vishal Kulkarni};
7827e6ad46Vishal Kulkarni
7837e6ad46Vishal Kulkarnistatic struct cudbg_reg_info t5_tp_pio_regs_20_to_3b[] = {
7847e6ad46Vishal Kulkarni	{ "TP_RX_SCHED_MAP", 0x20, 0 },
7857e6ad46Vishal Kulkarni	{ "S_RXMAPCHANNEL3", 24, 8 },
7867e6ad46Vishal Kulkarni	{ "S_RXMAPCHANNEL2", 16, 8 },
7877e6ad46Vishal Kulkarni	{ "S_RXMAPCHANNEL1", 8, 8 },
7887e6ad46Vishal Kulkarni	{ "S_RXMAPCHANNEL0", 0, 8 },
7897e6ad46Vishal Kulkarni	{ "TP_RX_SCHED_SGE", 0x21, 0 },
7907e6ad46Vishal Kulkarni	{ "S_RXSGEMOD1", 12, 4 },
7917e6ad46Vishal Kulkarni	{ "S_RXSGEMOD0", 8, 4 },
7927e6ad46Vishal Kulkarni	{ "S_RXSGECHANNEL3", 3, 1 },
7937e6ad46Vishal Kulkarni	{ "S_RXSGECHANNEL2", 2, 1 },
7947e6ad46Vishal Kulkarni	{ "S_RXSGECHANNEL1", 1, 1 },
7957e6ad46Vishal Kulkarni	{ "S_RXSGECHANNEL0", 0, 1 },
7967e6ad46Vishal Kulkarni	{ "TP_TX_SCHED_MAP", 0x22, 0 },
7977e6ad46Vishal Kulkarni	{ "S_TXMAPCHANNEL3", 12, 4 },
7987e6ad46Vishal Kulkarni	{ "S_TXMAPCHANNEL2", 8, 4 },
7997e6ad46Vishal Kulkarni	{ "S_TXMAPCHANNEL1", 4, 4 },
8007e6ad46Vishal Kulkarni	{ "S_TXMAPCHANNEL0", 0, 4 },
8017e6ad46Vishal Kulkarni	{ "TP_TX_SCHED_HDR", 0x23, 0 },
8027e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL7", 28, 4 },
8037e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL6", 24, 4 },
8047e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL5", 20, 4 },
8057e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL4", 16, 4 },
8067e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL3", 12, 4 },
8077e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL2", 8, 4 },
8087e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL1", 4, 4 },
8097e6ad46Vishal Kulkarni	{ "S_TXMAPHDRCHANNEL0", 0, 4 },
8107e6ad46Vishal Kulkarni	{ "TP_TX_SCHED_FIFO", 0x24, 0 },
8117e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL7", 28, 4 },
8127e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL6", 24, 4 },
8137e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL5", 20, 4 },
8147e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL4", 16, 4 },
8157e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL3", 12, 4 },
8167e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL2", 8, 4 },
8177e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL1", 4, 4 },
8187e6ad46Vishal Kulkarni	{ "S_TXMAPFIFOCHANNEL0", 0, 4 },
8197e6ad46Vishal Kulkarni	{ "TP_TX_SCHED_PCMD", 0x25, 0 },
8207e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL7", 28, 4 },
8217e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL6", 24, 4 },
8227e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL5", 20, 4 },
8237e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL4", 16, 4 },
8247e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL3", 12, 4 },
8257e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL2", 8, 4 },
8267e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL1", 4, 4 },
8277e6ad46Vishal Kulkarni	{ "S_TXMAPPCMDCHANNEL0", 0, 4 },
8287e6ad46Vishal Kulkarni	{ "TP_TX_SCHED_LPBK", 0x26, 0 },
8297e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL7", 28, 4 },
8307e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL6", 24, 4 },
8317e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL5", 20, 4 },
8327e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL4", 16, 4 },
8337e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL3", 12, 4 },
8347e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL2", 8, 4 },
8357e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL1", 4, 4 },
8367e6ad46Vishal Kulkarni	{ "S_TXMAPLPBKCHANNEL0", 0, 4 },
8377e6ad46Vishal Kulkarni	{ "TP_CHANNEL_MAP", 0x27, 0 },
8387e6ad46Vishal Kulkarni	{ "RxMapChannelELN", 16, 4 },
8397e6ad46Vishal Kulkarni	{ "RxMapE2LChannel3", 14, 2 },
8407e6ad46Vishal Kulkarni	{ "RxMapE2LChannel2", 12, 2 },
8417e6ad46Vishal Kulkarni	{ "RxMapE2LChannel1", 10, 2 },
8427e6ad46Vishal Kulkarni	{ "RxMapE2LChannel0", 8, 2 },
8437e6ad46Vishal Kulkarni	{ "RxMapC2CChannel3", 7, 1 },
8447e6ad46Vishal Kulkarni	{ "RxMapC2CChannel2", 6, 1 },
8457e6ad46Vishal Kulkarni	{ "RxMapC2CChannel1", 5, 1 },
8467e6ad46Vishal Kulkarni	{ "RxMapC2CChannel0", 4, 1 },
8477e6ad46Vishal Kulkarni	{ "RxMapE2CChannel3", 3, 1 },
8487e6ad46Vishal Kulkarni	{ "RxMapE2CChannel2", 2, 1 },
8497e6ad46Vishal Kulkarni	{ "RxMapE2CChannel1", 1, 1 },
8507e6ad46Vishal Kulkarni	{ "RxMapE2CChannel0", 0, 1 },
8517e6ad46Vishal Kulkarni	{ "TP_RX_LPBK", 0x28, 0 },
8527e6ad46Vishal Kulkarni	{ "TP_TX_LPBK", 0x29, 0 },
8537e6ad46Vishal Kulkarni	{ "TP_TX_SCHED_PPP", 0x2A, 0 },
8547e6ad46Vishal Kulkarni	{ "S_TXPPPENPORT3", 24, 8 },
8557e6ad46Vishal Kulkarni	{ "S_TXPPPENPORT2", 16, 8 },
8567e6ad46Vishal Kulkarni	{ "S_TXPPPENPORT1", 8, 8 },
8577e6ad46Vishal Kulkarni	{ "S_TXPPPENPORT0", 0, 8 },
8587e6ad46Vishal Kulkarni	{ "TP_RX_SCHED_FIFO", 0x2B, 0 },
8597e6ad46Vishal Kulkarni	{ "S_COMMITLIMIT1H", 24, 8 },
8607e6ad46Vishal Kulkarni	{ "S_COMMITLIMIT1L", 16, 8 },
8617e6ad46Vishal Kulkarni	{ "S_COMMITLIMIT0H", 8, 8 },
8627e6ad46Vishal Kulkarni	{ "S_COMMITLIMIT0L", 0, 8 },
8637e6ad46Vishal Kulkarni	{ "TP_IPMI_CFG1", 0x2E, 0 },
8647e6ad46Vishal Kulkarni	{ "S_VLANENABLE", 31, 1 },
8657e6ad46Vishal Kulkarni	{ "S_PRIMARYPORTENABLE", 30, 1 },
8667e6ad46Vishal Kulkarni	{ "S_SECUREPORTENABLE", 29, 1 },
8677e6ad46Vishal Kulkarni	{ "S_ARPENABLE", 28, 1 },
8687e6ad46Vishal Kulkarni	{ "S_IPMI_VLAN", 0, 16 },
8697e6ad46Vishal Kulkarni	{ "TP_IPMI_CFG2", 0x2F, 0 },
8707e6ad46Vishal Kulkarni	{ "S_SECUREPORT", 16, 16 },
8717e6ad46Vishal Kulkarni	{ "S_PRIMARYPORT", 0, 16 },
8727e6ad46Vishal Kulkarni	{ "TP_RSS_PF0_CONFIG", 0x30, 0 },
8737e6ad46Vishal Kulkarni	{ "S_MAPENABLE", 31, 1 },
8747e6ad46Vishal Kulkarni	{ "S_PRTENABLE", 30, 1 },
8757e6ad46Vishal Kulkarni	{ "S_CHNENABLE", 29, 1 },
8767e6ad46Vishal Kulkarni	{ "S_UDPFOURTUPEN", 28, 1 },
8777e6ad46Vishal Kulkarni	{ "S_IP6FOURTUPEN", 27, 1 },
8787e6ad46Vishal Kulkarni	{ "S_IP6TWOTUPEN", 26, 1 },
8797e6ad46Vishal Kulkarni	{ "S_IP4FOURTUPEN", 25, 1 },
8807e6ad46Vishal Kulkarni	{ "S_IP4TWOTUPEN", 24, 1 },
8817e6ad46Vishal Kulkarni	{ "S_IVFWIDTH", 20, 4 },
8827e6ad46Vishal Kulkarni	{ "S_CH1DEFAULTQUEUE", 10, 10 },
8837e6ad46Vishal Kulkarni	{ "S_CH0DEFAULTQUEUE", 0, 10 },
8847e6ad46Vishal Kulkarni	{ "TP_RSS_PF1_CONFIG", 0x31, 0 },
8857e6ad46Vishal Kulkarni	{ "S_MAPENABLE", 31, 1 },
8867e6ad46Vishal Kulkarni	{ "S_PRTENABLE", 30, 1 },
8877e6ad46Vishal Kulkarni	{ "S_CHNENABLE", 29, 1 },
8887e6ad46Vishal Kulkarni	{ "S_UDPFOURTUPEN", 28, 1 },
8897e6ad46Vishal Kulkarni	{ "S_IP6FOURTUPEN", 27, 1 },
8907e6ad46Vishal Kulkarni	{ "S_IP6TWOTUPEN", 26, 1 },
8917e6ad46Vishal Kulkarni	{ "S_IP4FOURTUPEN", 25, 1 },
8927e6ad46Vishal Kulkarni	{ "S_IP4TWOTUPEN", 24, 1 },
8937e6ad46Vishal Kulkarni	{ "S_IVFWIDTH", 20, 4 },
8947e6ad46Vishal Kulkarni	{ "S_CH1DEFAULTQUEUE", 10, 10 },
8957e6ad46Vishal Kulkarni	{ "S_CH0DEFAULTQUEUE", 0, 10 },
8967e6ad46Vishal Kulkarni	{ "TP_RSS_PF2_CONFIG", 0x32, 0 },
8977e6ad46Vishal Kulkarni	{ "S_MAPENABLE", 31, 1 },
8987e6ad46Vishal Kulkarni	{ "S_PRTENABLE", 30, 1 },
8997e6ad46Vishal Kulkarni	{ "S_CHNENABLE", 29, 1 },
9007e6ad46Vishal Kulkarni	{ "S_UDPFOURTUPEN", 28, 1 },
9017e6ad46Vishal Kulkarni	{ "S_IP6FOURTUPEN", 27, 1 },
9027e6ad46Vishal Kulkarni	{ "S_IP6TWOTUPEN", 26, 1 },
9037e6ad46Vishal Kulkarni	{ "S_IP4FOURTUPEN", 25, 1 },
9047e6ad46Vishal Kulkarni	{ "S_IP4TWOTUPEN", 24, 1 },
9057e6ad46Vishal Kulkarni	{ "S_IVFWIDTH", 20, 4 },
9067e6ad46Vishal Kulkarni	{ "S_CH1DEFAULTQUEUE", 10, 10 },
9077e6ad46Vishal Kulkarni	{ "S_CH0DEFAULTQUEUE", 0, 10 },
9087e6ad46Vishal Kulkarni	{ "TP_RSS_PF3_CONFIG", 0x33, 0 },
9097e6ad46Vishal Kulkarni	{ "S_MAPENABLE", 31, 1 },
9107e6ad46Vishal Kulkarni	{ "S_PRTENABLE", 30, 1 },
9117e6ad46Vishal Kulkarni	{ "S_CHNENABLE", 29, 1 },
9127e6ad46Vishal Kulkarni	{ "S_UDPFOURTUPEN", 28, 1 },
9137e6ad46Vishal Kulkarni	{ "S_IP6FOURTUPEN", 27, 1 },
9147e6ad46Vishal Kulkarni	{ "S_IP6TWOTUPEN", 26, 1 },
9157e6ad46Vishal Kulkarni	{ "S_IP4FOURTUPEN", 25, 1 },
9167e6ad46Vishal Kulkarni	{ "S_IP4TWOTUPEN", 24, 1 },
9177e6ad46Vishal Kulkarni	{ "S_IVFWIDTH", 20, 4 },
9187e6ad46Vishal Kulkarni	{ "S_CH1DEFAULTQUEUE", 10, 10 },
9197e6ad46Vishal Kulkarni	{ "S_CH0DEFAULTQUEUE", 0, 10 },
9207e6ad46Vishal Kulkarni	{ "TP_RSS_PF4_CONFIG", 0x34, 0 },
9217e6ad46Vishal Kulkarni	{ "S_MAPENABLE", 31, 1 },
9227e6ad46Vishal Kulkarni	{ "S_PRTENABLE", 30, 1 },
923