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 # TP_SHIFT_CNT 18 reg[0x7dc0] = 0x64f8849 19 20 filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe 21 22 # TP rx and tx payload memory (% of the total EDRAM + DDR3). 23 tp_pmrx = 38 24 tp_pmtx = 60 25 tp_pmrx_pagesize = 64K 26 tp_pmtx_pagesize = 64K 27 28# PFs 0-3. These get 8 MSI/8 MSI-X vectors each. VFs are supported by 29# these 4 PFs only. Not used here at all. 30[function "0"] 31 nvf = 16 32 nvi = 1 33[function "0/*"] 34 nvi = 1 35 36[function "1"] 37 nvf = 16 38 nvi = 1 39[function "1/*"] 40 nvi = 1 41 42[function "2"] 43 nvf = 16 44 nvi = 1 45[function "2/*"] 46 nvi = 1 47 48[function "3"] 49 nvf = 16 50 nvi = 1 51[function "3/*"] 52 nvi = 1 53 54# PF4 is the resource-rich PF that the bus/nexus driver attaches to. 55# It gets 32 MSI/128 MSI-X vectors. 56[function "4"] 57 wx_caps = all 58 r_caps = all 59 nvi = 54 60 niqflint = 256 61 nethctrl = 128 62 neq = 256 63 nexactf = 328 64 cmask = all 65 pmask = all 66 67 # driver will mask off features it won't use 68 protocol = ofld 69 70 tp_l2t = 4096 71 tp_ddp = 2 72 73 # TCAM has 8K cells; each region must start at a multiple of 128 cell. 74 # Each entry in these categories takes 4 cells each. nhash will use the 75 # TCAM iff there is room left (that is, the rest don't add up to 2048). 76 nroute = 32 77 nclip = 0 # needed only for IPv6 offload 78 nfilter = 1488 79 nserver = 512 80 nhash = 16384 81 82# PF5 is the SCSI Controller PF. It gets 32 MSI/40 MSI-X vectors. 83# Not used right now. 84[function "5"] 85 nvi = 1 86 87# PF6 is the FCoE Controller PF. It gets 32 MSI/40 MSI-X vectors. 88# Not used right now. 89[function "6"] 90 nvi = 1 91 92# The following function, 1023, is not an actual PCIE function but is used to 93# configure and reserve firmware internal resources that come from the global 94# resource pool. 95[function "1023"] 96 wx_caps = all 97 r_caps = all 98 nvi = 4 99 cmask = all 100 pmask = all 101 nexactf = 8 102 nfilter = 16 103 104# MPS has 192K buffer space for ingress packets from the wire as well as 105# loopback path of the L2 switch. 106[port "0"] 107 dcb = none 108 bg_mem = 25 109 lpbk_mem = 25 110 hwm = 30 111 lwm = 15 112 dwm = 30 113 114[port "1"] 115 dcb = none 116 bg_mem = 25 117 lpbk_mem = 25 118 hwm = 30 119 lwm = 15 120 dwm = 30 121 122[port "2"] 123 dcb = none 124 bg_mem = 25 125 lpbk_mem = 25 126 hwm = 30 127 lwm = 15 128 dwm = 30 129 130[port "3"] 131 dcb = none 132 bg_mem = 25 133 lpbk_mem = 25 134 hwm = 30 135 lwm = 15 136 dwm = 30 137 138[fini] 139 version = 0x1 140 checksum = 0x162df193 141# 142# $FreeBSD$ 143# 144