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