t5fw_cfg.txt revision 296249
1252661Snp# Firmware configuration file. 2252661Snp# 3252661Snp# Global limits (some are hardware limits, others are due to the firmware). 4252661Snp# nvi = 128 virtual interfaces 5252661Snp# niqflint = 1023 ingress queues with freelists and/or interrupts 6252661Snp# nethctrl = 64K Ethernet or ctrl egress queues 7252661Snp# neq = 64K egress queues of all kinds, including freelists 8273615Snp# nexactf = 512 MPS TCAM entries, can oversubscribe. 9252661Snp# 10252661Snp 11252661Snp[global] 12252661Snp rss_glb_config_mode = basicvirtual 13252661Snp rss_glb_config_options = tnlmapen, hashtoeplitz, tnlalllkp 14252661Snp 15253407Snp # PL_TIMEOUT register 16253407Snp pl_timeout_value = 200 # the timeout value in units of us 17253407Snp 18252661Snp sge_timer_value = 1, 5, 10, 50, 100, 200 # usecs 19252661Snp 20256459Snp # enable TP_OUT_CONFIG.IPIDSPLITMODE 21256459Snp reg[0x7d04] = 0x00010000/0x00010000 22256459Snp 23296249Snp # disable TP_PARA_REG3.RxFragEn 24296249Snp reg[0x7d6c] = 0x00000000/0x00007000 25296249Snp 26296249Snp # enable TP_PARA_REG6.EnableCSnd 27296249Snp reg[0x7d78] = 0x00000400/0x00000000 28296249Snp 29252661Snp # TP_SHIFT_CNT 30252661Snp reg[0x7dc0] = 0x62f8849 31252661Snp 32252661Snp # TP_GLOBAL_CONFIG 33252661Snp reg[0x7d08] = 0x00000800/0x00000800 # set IssFromCplEnable 34252661Snp 35256459Snp # TP_PARA_REG0 36256459Snp reg[0x7d60] = 0x06000000/0x07000000 # set InitCWND to 6 37256459Snp 38252661Snp filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe 39252661Snp filterMask = protocol, fcoe 40252661Snp 41252661Snp # TP rx and tx channels (0 = auto). 42252661Snp tp_nrxch = 0 43252661Snp tp_ntxch = 0 44252661Snp 45252661Snp # TP rx and tx payload memory (% of the total EDRAM + DDR3). 46274351Snp tp_pmrx = 38, 512 47274351Snp tp_pmtx = 60, 512 48252661Snp tp_pmrx_pagesize = 64K 49252661Snp tp_pmtx_pagesize = 64K 50252661Snp 51290633Snp # cluster, lan, or wan. 52290633Snp tp_tcptuning = lan 53290633Snp 54256459Snp # TP OFLD MTUs 55256459Snp tp_mtus = 88, 256, 512, 576, 808, 1024, 1280, 1488, 1500, 2002, 2048, 4096, 4352, 8192, 9000, 9600 56256459Snp 57256459Snp # MC configuration 58256459Snp mc_mode_brc[0] = 1 # mc0 - 1: enable BRC, 0: enable RBC 59256459Snp mc_mode_brc[1] = 1 # mc1 - 1: enable BRC, 0: enable RBC 60256459Snp 61296249Snp # ULP_TX_CONFIG 62296249Snp reg[0x8dc0] = 0x00000004/0x00000004 # Enable more error msg for ... 63296249Snp # TPT error. 64296249Snp 65252661Snp# PFs 0-3. These get 8 MSI/8 MSI-X vectors each. VFs are supported by 66252661Snp# these 4 PFs only. Not used here at all. 67252661Snp[function "0"] 68252661Snp nvf = 16 69252661Snp nvi = 1 70273615Snp rssnvi = 0 71252661Snp[function "0/*"] 72252661Snp nvi = 1 73273615Snp rssnvi = 0 74252661Snp 75252661Snp[function "1"] 76252661Snp nvf = 16 77252661Snp nvi = 1 78273615Snp rssnvi = 0 79252661Snp[function "1/*"] 80252661Snp nvi = 1 81273615Snp rssnvi = 0 82252661Snp 83252661Snp[function "2"] 84252661Snp nvf = 16 85252661Snp nvi = 1 86273615Snp rssnvi = 0 87252661Snp[function "2/*"] 88252661Snp nvi = 1 89273615Snp rssnvi = 0 90252661Snp 91252661Snp[function "3"] 92252661Snp nvf = 16 93252661Snp nvi = 1 94273615Snp rssnvi = 0 95252661Snp[function "3/*"] 96252661Snp nvi = 1 97273615Snp rssnvi = 0 98252661Snp 99252661Snp# PF4 is the resource-rich PF that the bus/nexus driver attaches to. 100252661Snp# It gets 32 MSI/128 MSI-X vectors. 101252661Snp[function "4"] 102252661Snp wx_caps = all 103252661Snp r_caps = all 104252661Snp nvi = 32 105273615Snp rssnvi = 8 106273615Snp niqflint = 512 107273615Snp nethctrl = 1024 108273615Snp neq = 2048 109252661Snp nexactf = 328 110252661Snp cmask = all 111252661Snp pmask = all 112252661Snp 113252661Snp # driver will mask off features it won't use 114252661Snp protocol = ofld 115252661Snp 116252661Snp tp_l2t = 4096 117252661Snp tp_ddp = 2 118252661Snp 119252661Snp # TCAM has 8K cells; each region must start at a multiple of 128 cell. 120252661Snp # Each entry in these categories takes 4 cells each. nhash will use the 121252661Snp # TCAM iff there is room left (that is, the rest don't add up to 2048). 122252661Snp nroute = 32 123252661Snp nclip = 32 124252661Snp nfilter = 1008 125252661Snp nserver = 512 126252661Snp nhash = 16384 127252661Snp 128252661Snp# PF5 is the SCSI Controller PF. It gets 32 MSI/40 MSI-X vectors. 129252661Snp# Not used right now. 130252661Snp[function "5"] 131252661Snp nvi = 1 132273615Snp rssnvi = 0 133252661Snp 134252661Snp# PF6 is the FCoE Controller PF. It gets 32 MSI/40 MSI-X vectors. 135252661Snp# Not used right now. 136252661Snp[function "6"] 137252661Snp nvi = 1 138273615Snp rssnvi = 0 139252661Snp 140252661Snp# The following function, 1023, is not an actual PCIE function but is used to 141252661Snp# configure and reserve firmware internal resources that come from the global 142252661Snp# resource pool. 143252661Snp[function "1023"] 144252661Snp wx_caps = all 145252661Snp r_caps = all 146252661Snp nvi = 4 147273615Snp rssnvi = 0 148252661Snp cmask = all 149252661Snp pmask = all 150252661Snp nexactf = 8 151252661Snp nfilter = 16 152252661Snp 153252661Snp# MPS has 192K buffer space for ingress packets from the wire as well as 154252661Snp# loopback path of the L2 switch. 155252661Snp[port "0"] 156252661Snp dcb = none 157252661Snp bg_mem = 25 158252661Snp lpbk_mem = 25 159252661Snp hwm = 30 160252661Snp lwm = 15 161252661Snp dwm = 30 162252661Snp 163252661Snp[port "1"] 164252661Snp dcb = none 165252661Snp bg_mem = 25 166252661Snp lpbk_mem = 25 167252661Snp hwm = 30 168252661Snp lwm = 15 169252661Snp dwm = 30 170252661Snp 171252661Snp[port "2"] 172252661Snp dcb = none 173252661Snp bg_mem = 25 174252661Snp lpbk_mem = 25 175252661Snp hwm = 30 176252661Snp lwm = 15 177252661Snp dwm = 30 178252661Snp 179252661Snp[port "3"] 180252661Snp dcb = none 181252661Snp bg_mem = 25 182252661Snp lpbk_mem = 25 183252661Snp hwm = 30 184252661Snp lwm = 15 185252661Snp dwm = 30 186252661Snp 187252661Snp[fini] 188252661Snp version = 0x1 189296249Snp checksum = 0x7044b7fd 190252661Snp# 191252661Snp# $FreeBSD: head/sys/dev/cxgbe/firmware/t5fw_cfg.txt 296249 2016-03-01 02:36:50Z np $ 192252661Snp# 193