1# Firmware configuration file. 2# 3# Global limits (some are hardware limits, others are due to the firmware). 4# nvi = 128 virtual interfaces 5# niqflint = 1023 ingress queues with freelists and/or interrupts 6# nethctrl = 64K Ethernet or ctrl egress queues 7# neq = 64K egress queues of all kinds, including freelists 8# nexactf = 336 MPS TCAM entries, can oversubscribe. 9# 10 11[global] 12 rss_glb_config_mode = basicvirtual 13 rss_glb_config_options = tnlmapen, hashtoeplitz, tnlalllkp 14 15 sge_timer_value = 1, 5, 10, 50, 100, 200 # usecs 16 17 # enable TP_OUT_CONFIG.IPIDSPLITMODE 18 reg[0x7d04] = 0x00010000/0x00010000 19 20 # TP_SHIFT_CNT 21 reg[0x7dc0] = 0x62f8849 22 23 filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe 24 filterMask = protocol, fcoe 25 26 # TP rx and tx channels (0 = auto). 27 tp_nrxch = 0 28 tp_ntxch = 0 29 30 # TP rx and tx payload memory (% of the total EDRAM + DDR3). 31 tp_pmrx = 38, 512 32 tp_pmtx = 60, 512 33 tp_pmrx_pagesize = 64K 34 tp_pmtx_pagesize = 64K 35 36 # TP OFLD MTUs 37 tp_mtus = 88, 256, 512, 576, 808, 1024, 1280, 1488, 1500, 2002, 2048, 4096, 4352, 8192, 9000, 9600 38 39# PFs 0-3. These get 8 MSI/8 MSI-X vectors each. VFs are supported by 40# these 4 PFs only. Not used here at all. 41[function "0"] 42 nvf = 16 43 nvi = 1 44 rssnvi = 0 45[function "0/*"] 46 nvi = 1 47 rssnvi = 0 48 49[function "1"] 50 nvf = 16 51 nvi = 1 52 rssnvi = 0 53[function "1/*"] 54 nvi = 1 55 rssnvi = 0 56 57[function "2"] 58 nvf = 16 59 nvi = 1 60 rssnvi = 0 61[function "2/*"] 62 nvi = 1 63 rssnvi = 0 64 65[function "3"] 66 nvf = 16 67 nvi = 1 68 rssnvi = 0 69[function "3/*"] 70 nvi = 1 71 rssnvi = 0 72 73# PF4 is the resource-rich PF that the bus/nexus driver attaches to. 74# It gets 32 MSI/128 MSI-X vectors. 75[function "4"] 76 wx_caps = all 77 r_caps = all 78 nvi = 32 79 rssnvi = 8 80 niqflint = 512 81 nethctrl = 1024 82 neq = 2048 83 nexactf = 328 84 cmask = all 85 pmask = all 86 87 # driver will mask off features it won't use 88 protocol = ofld 89 90 tp_l2t = 4096 91 tp_ddp = 2 92 93 # TCAM has 8K cells; each region must start at a multiple of 128 cell. 94 # Each entry in these categories takes 4 cells each. nhash will use the 95 # TCAM iff there is room left (that is, the rest don't add up to 2048). 96 nroute = 32 97 nclip = 32 98 nfilter = 1456 99 nserver = 512 100 nhash = 16384 101 102# PF5 is the SCSI Controller PF. It gets 32 MSI/40 MSI-X vectors. 103# Not used right now. 104[function "5"] 105 nvi = 1 106 rssnvi = 0 107 108# PF6 is the FCoE Controller PF. It gets 32 MSI/40 MSI-X vectors. 109# Not used right now. 110[function "6"] 111 nvi = 1 112 rssnvi = 0 113 114# The following function, 1023, is not an actual PCIE function but is used to 115# configure and reserve firmware internal resources that come from the global 116# resource pool. 117[function "1023"] 118 wx_caps = all 119 r_caps = all 120 nvi = 4 121 rssnvi = 0 122 cmask = all 123 pmask = all 124 nexactf = 8 125 nfilter = 16 126 127# MPS has 192K buffer space for ingress packets from the wire as well as 128# loopback path of the L2 switch. 129[port "0"] 130 dcb = none 131 bg_mem = 25 132 lpbk_mem = 25 133 hwm = 30 134 lwm = 15 135 dwm = 30 136 137[port "1"] 138 dcb = none 139 bg_mem = 25 140 lpbk_mem = 25 141 hwm = 30 142 lwm = 15 143 dwm = 30 144 145[port "2"] 146 dcb = none 147 bg_mem = 25 148 lpbk_mem = 25 149 hwm = 30 150 lwm = 15 151 dwm = 30 152 153[port "3"] 154 dcb = none 155 bg_mem = 25 156 lpbk_mem = 25 157 hwm = 30 158 lwm = 15 159 dwm = 30 160 161[fini] 162 version = 0x1 163 checksum = 0xb4168add 164# 165# $FreeBSD$ 166# 167