Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../lib/firmware/cxgb4
File: t6-config.txt
# Chelsio T6 Factory Default configuration file.
[0] Fix | Delete
#
[1] Fix | Delete
# Copyright (C) 2014-2015 Chelsio Communications. All rights reserved.
[2] Fix | Delete
#
[3] Fix | Delete
# DO NOT MODIFY THIS FILE UNDER ANY CIRCUMSTANCES. MODIFICATION OF THIS FILE
[4] Fix | Delete
# WILL RESULT IN A NON-FUNCTIONAL ADAPTER AND MAY RESULT IN PHYSICAL DAMAGE
[5] Fix | Delete
# TO ADAPTERS.
[6] Fix | Delete
[7] Fix | Delete
[8] Fix | Delete
# This file provides the default, power-on configuration for 2-port T6-based
[9] Fix | Delete
# adapters shipped from the factory. These defaults are designed to address
[10] Fix | Delete
# the needs of the vast majority of Terminator customers. The basic idea is to
[11] Fix | Delete
# have a default configuration which allows a customer to plug a Terminator
[12] Fix | Delete
# adapter in and have it work regardless of OS, driver or application except in
[13] Fix | Delete
# the most unusual and/or demanding customer applications.
[14] Fix | Delete
#
[15] Fix | Delete
# Many of the Terminator resources which are described by this configuration
[16] Fix | Delete
# are finite. This requires balancing the configuration/operation needs of
[17] Fix | Delete
# device drivers across OSes and a large number of customer application.
[18] Fix | Delete
#
[19] Fix | Delete
# Some of the more important resources to allocate and their constaints are:
[20] Fix | Delete
# 1. Virtual Interfaces: 256.
[21] Fix | Delete
# 2. Ingress Queues with Free Lists: 1024.
[22] Fix | Delete
# 3. Egress Queues: 128K.
[23] Fix | Delete
# 4. MSI-X Vectors: 1088.
[24] Fix | Delete
# 5. Multi-Port Support (MPS) TCAM: 336 entries to support MAC destination
[25] Fix | Delete
# address matching on Ingress Packets.
[26] Fix | Delete
#
[27] Fix | Delete
# Some of the important OS/Driver resource needs are:
[28] Fix | Delete
# 6. Some OS Drivers will manage all resources through a single Physical
[29] Fix | Delete
# Function (currently PF4 but it could be any Physical Function).
[30] Fix | Delete
# 7. Some OS Drivers will manage different ports and functions (NIC,
[31] Fix | Delete
# storage, etc.) on different Physical Functions. For example, NIC
[32] Fix | Delete
# functions for ports 0-1 on PF0-1, FCoE on PF4, iSCSI on PF5, etc.
[33] Fix | Delete
#
[34] Fix | Delete
# Some of the customer application needs which need to be accommodated:
[35] Fix | Delete
# 8. Some customers will want to support large CPU count systems with
[36] Fix | Delete
# good scaling. Thus, we'll need to accommodate a number of
[37] Fix | Delete
# Ingress Queues and MSI-X Vectors to allow up to some number of CPUs
[38] Fix | Delete
# to be involved per port and per application function. For example,
[39] Fix | Delete
# in the case where all ports and application functions will be
[40] Fix | Delete
# managed via a single Unified PF and we want to accommodate scaling up
[41] Fix | Delete
# to 8 CPUs, we would want:
[42] Fix | Delete
#
[43] Fix | Delete
# 2 ports *
[44] Fix | Delete
# 3 application functions (NIC, FCoE, iSCSI) per port *
[45] Fix | Delete
# 16 Ingress Queue/MSI-X Vectors per application function
[46] Fix | Delete
#
[47] Fix | Delete
# for a total of 96 Ingress Queues and MSI-X Vectors on the Unified PF.
[48] Fix | Delete
# (Plus a few for Firmware Event Queues, etc.)
[49] Fix | Delete
#
[50] Fix | Delete
# 9. Some customers will want to use PCI-E SR-IOV Capability to allow Virtual
[51] Fix | Delete
# Machines to directly access T6 functionality via SR-IOV Virtual Functions
[52] Fix | Delete
# and "PCI Device Passthrough" -- this is especially true for the NIC
[53] Fix | Delete
# application functionality.
[54] Fix | Delete
#
[55] Fix | Delete
[56] Fix | Delete
[57] Fix | Delete
# Global configuration settings.
[58] Fix | Delete
#
[59] Fix | Delete
[global]
[60] Fix | Delete
rss_glb_config_mode = basicvirtual
[61] Fix | Delete
rss_glb_config_options = tnlmapen,hashtoeplitz,tnlalllkp
[62] Fix | Delete
[63] Fix | Delete
# PL_TIMEOUT register
[64] Fix | Delete
pl_timeout_value = 200 # the timeout value in units of us
[65] Fix | Delete
[66] Fix | Delete
# The following Scatter Gather Engine (SGE) settings assume a 4KB Host
[67] Fix | Delete
# Page Size and a 64B L1 Cache Line Size. It programs the
[68] Fix | Delete
# EgrStatusPageSize and IngPadBoundary to 64B and the PktShift to 2.
[69] Fix | Delete
# If a Master PF Driver finds itself on a machine with different
[70] Fix | Delete
# parameters, then the Master PF Driver is responsible for initializing
[71] Fix | Delete
# these parameters to appropriate values.
[72] Fix | Delete
#
[73] Fix | Delete
# Notes:
[74] Fix | Delete
# 1. The Free List Buffer Sizes below are raw and the firmware will
[75] Fix | Delete
# round them up to the Ingress Padding Boundary.
[76] Fix | Delete
# 2. The SGE Timer Values below are expressed below in microseconds.
[77] Fix | Delete
# The firmware will convert these values to Core Clock Ticks when
[78] Fix | Delete
# it processes the configuration parameters.
[79] Fix | Delete
#
[80] Fix | Delete
reg[0x1008] = 0x40800/0x21c70 # SGE_CONTROL
[81] Fix | Delete
reg[0x100c] = 0x22222222 # SGE_HOST_PAGE_SIZE
[82] Fix | Delete
reg[0x10a0] = 0x01040810 # SGE_INGRESS_RX_THRESHOLD
[83] Fix | Delete
reg[0x1044] = 4096 # SGE_FL_BUFFER_SIZE0
[84] Fix | Delete
reg[0x1048] = 65536 # SGE_FL_BUFFER_SIZE1
[85] Fix | Delete
reg[0x104c] = 1536 # SGE_FL_BUFFER_SIZE2
[86] Fix | Delete
reg[0x1050] = 9024 # SGE_FL_BUFFER_SIZE3
[87] Fix | Delete
reg[0x1054] = 9216 # SGE_FL_BUFFER_SIZE4
[88] Fix | Delete
reg[0x1058] = 2048 # SGE_FL_BUFFER_SIZE5
[89] Fix | Delete
reg[0x105c] = 128 # SGE_FL_BUFFER_SIZE6
[90] Fix | Delete
reg[0x1060] = 8192 # SGE_FL_BUFFER_SIZE7
[91] Fix | Delete
reg[0x1064] = 16384 # SGE_FL_BUFFER_SIZE8
[92] Fix | Delete
[93] Fix | Delete
sge_timer_value = 5, 10, 20, 50, 100, 200 # SGE_TIMER_VALUE* in usecs
[94] Fix | Delete
reg[0x10c4] = 0x20000000/0x20000000 # GK_CONTROL, enable 5th thread
[95] Fix | Delete
[96] Fix | Delete
# Set the SGE Doorbell Queue Timer "tick" to 50us and initialize
[97] Fix | Delete
# the Timer Table to a default set of values (which are multiples
[98] Fix | Delete
# of the Timer Tick). Note that the set of Tick Multipliers are
[99] Fix | Delete
# NOT sorted. The Host Drivers are expected to pick amongst them
[100] Fix | Delete
# for (Tick * Multiplier[i]) values which most closely match the Host
[101] Fix | Delete
# Drivers' needs. Also, most Host Drivers will be default start
[102] Fix | Delete
# start with (Tick * Multiplier[0]), so this gives us some flexibility
[103] Fix | Delete
# in terms of picking a Tick and a default Multiplier somewhere in
[104] Fix | Delete
# the middle of the achievable set of (Tick * Multiplier[i]) values.
[105] Fix | Delete
# Thus, the below select for 150us by this default.
[106] Fix | Delete
#
[107] Fix | Delete
sge_dbq_timertick = 50
[108] Fix | Delete
sge_dbq_timer = 3, 2, 1, 5, 7, 9, 12, 16
[109] Fix | Delete
[110] Fix | Delete
# enable TP_OUT_CONFIG.IPIDSPLITMODE
[111] Fix | Delete
# Set TP_OUT_CONFIG.CCplAckMode to get srtt/rttvar
[112] Fix | Delete
reg[0x7d04] = 0x00012000/0x00012000
[113] Fix | Delete
[114] Fix | Delete
reg[0x7dc0] = 0x0e2f8849 # TP_SHIFT_CNT
[115] Fix | Delete
[116] Fix | Delete
#Tick granularities in kbps
[117] Fix | Delete
tsch_ticks = 100000, 10000, 1000, 10
[118] Fix | Delete
[119] Fix | Delete
# TP_VLAN_PRI_MAP to select filter tuples and enable ServerSram
[120] Fix | Delete
# filter control: compact, fcoemask
[121] Fix | Delete
# server sram : srvrsram
[122] Fix | Delete
# filter tuples : fragmentation, mpshittype, macmatch, ethertype,
[123] Fix | Delete
# protocol, tos, vlan, vnic_id, port, fcoe
[124] Fix | Delete
# valid filterModes are described the Terminator 5 Data Book
[125] Fix | Delete
# vnicMode = pf_vf #default. Other values are outer_vlan, encapsulation
[126] Fix | Delete
filterMode = fcoemask, srvrsram, fragmentation, mpshittype, protocol, vlan, port, fcoe
[127] Fix | Delete
[128] Fix | Delete
# filter tuples enforced in LE active region (equal to or subset of filterMode)
[129] Fix | Delete
filterMask = protocol, fcoe
[130] Fix | Delete
[131] Fix | Delete
# Percentage of dynamic memory (in either the EDRAM or external MEM)
[132] Fix | Delete
# to use for TP RX payload
[133] Fix | Delete
tp_pmrx = 30
[134] Fix | Delete
[135] Fix | Delete
# TP RX payload page size
[136] Fix | Delete
tp_pmrx_pagesize = 64K
[137] Fix | Delete
[138] Fix | Delete
# TP number of RX channels
[139] Fix | Delete
tp_nrxch = 0 # 0 (auto) = 1
[140] Fix | Delete
[141] Fix | Delete
# Percentage of dynamic memory (in either the EDRAM or external MEM)
[142] Fix | Delete
# to use for TP TX payload
[143] Fix | Delete
tp_pmtx = 50
[144] Fix | Delete
[145] Fix | Delete
# TP TX payload page size
[146] Fix | Delete
tp_pmtx_pagesize = 64K
[147] Fix | Delete
[148] Fix | Delete
# TP number of TX channels
[149] Fix | Delete
tp_ntxch = 0 # 0 (auto) = equal number of ports
[150] Fix | Delete
[151] Fix | Delete
# TP OFLD MTUs
[152] Fix | Delete
tp_mtus = 88, 256, 512, 576, 808, 1024, 1280, 1488, 1500, 2002, 2048, 4096, 4352, 8192, 9000, 9600
[153] Fix | Delete
[154] Fix | Delete
# enable TP_OUT_CONFIG.IPIDSPLITMODE and CRXPKTENC
[155] Fix | Delete
reg[0x7d04] = 0x00010008/0x00010008
[156] Fix | Delete
[157] Fix | Delete
# TP_GLOBAL_CONFIG
[158] Fix | Delete
reg[0x7d08] = 0x00000800/0x00000800 # set IssFromCplEnable
[159] Fix | Delete
[160] Fix | Delete
# TP_PC_CONFIG
[161] Fix | Delete
reg[0x7d48] = 0x00000000/0x00000400 # clear EnableFLMError
[162] Fix | Delete
[163] Fix | Delete
# TP_PARA_REG0
[164] Fix | Delete
reg[0x7d60] = 0x06000000/0x07000000 # set InitCWND to 6
[165] Fix | Delete
[166] Fix | Delete
# ULPRX iSCSI Page Sizes
[167] Fix | Delete
reg[0x19168] = 0x04020100 # 64K, 16K, 8K and 4K
[168] Fix | Delete
[169] Fix | Delete
# LE_DB_CONFIG
[170] Fix | Delete
reg[0x19c04] = 0x00000000/0x00440000 # LE Server SRAM disabled
[171] Fix | Delete
# LE IPv4 compression disabled
[172] Fix | Delete
# LE_DB_HASH_CONFIG
[173] Fix | Delete
reg[0x19c28] = 0x00800000/0x01f00000 # LE Hash bucket size 8,
[174] Fix | Delete
[175] Fix | Delete
# ULP_TX_CONFIG
[176] Fix | Delete
reg[0x8dc0] = 0x00000104/0x00000104 # Enable ITT on PI err
[177] Fix | Delete
# Enable more error msg for ...
[178] Fix | Delete
# TPT error.
[179] Fix | Delete
[180] Fix | Delete
# ULP_RX_MISC_FEATURE_ENABLE
[181] Fix | Delete
#reg[0x1925c] = 0x01003400/0x01003400 # iscsi tag pi bit
[182] Fix | Delete
# Enable offset decrement after ...
[183] Fix | Delete
# PI extraction and before DDP
[184] Fix | Delete
# ulp insert pi source info in DIF
[185] Fix | Delete
# iscsi_eff_offset_en
[186] Fix | Delete
[187] Fix | Delete
#Enable iscsi completion moderation feature
[188] Fix | Delete
reg[0x1925c] = 0x000041c0/0x000031c0 # Enable offset decrement after
[189] Fix | Delete
# PI extraction and before DDP.
[190] Fix | Delete
# ulp insert pi source info in
[191] Fix | Delete
# DIF.
[192] Fix | Delete
# Enable iscsi hdr cmd mode.
[193] Fix | Delete
# iscsi force cmd mode.
[194] Fix | Delete
# Enable iscsi cmp mode.
[195] Fix | Delete
# MC configuration
[196] Fix | Delete
#mc_mode_brc[0] = 1 # mc0 - 1: enable BRC, 0: enable RBC, 2: enable BRBC
[197] Fix | Delete
[198] Fix | Delete
# HMA configuration
[199] Fix | Delete
hma_size = 92 # Size (in MBs) of host memory expected
[200] Fix | Delete
hma_regions = stag,pbl,rq # What all regions to place in host memory
[201] Fix | Delete
[202] Fix | Delete
#enable bottleneck-bw congestion control mode
[203] Fix | Delete
#ofld_flags = 4
[204] Fix | Delete
[205] Fix | Delete
# Some "definitions" to make the rest of this a bit more readable. We support
[206] Fix | Delete
# 4 ports, 3 functions (NIC, FCoE and iSCSI), scaling up to 8 "CPU Queue Sets"
[207] Fix | Delete
# per function per port ...
[208] Fix | Delete
#
[209] Fix | Delete
# NMSIX = 1088 # available MSI-X Vectors
[210] Fix | Delete
# NVI = 256 # available Virtual Interfaces
[211] Fix | Delete
# NMPSTCAM = 336 # MPS TCAM entries
[212] Fix | Delete
#
[213] Fix | Delete
# NPORTS = 2 # ports
[214] Fix | Delete
# NCPUS = 16 # CPUs we want to support scalably
[215] Fix | Delete
# NFUNCS = 3 # functions per port (NIC, FCoE, iSCSI)
[216] Fix | Delete
[217] Fix | Delete
# Breakdown of Virtual Interface/Queue/Interrupt resources for the "Unified
[218] Fix | Delete
# PF" which many OS Drivers will use to manage most or all functions.
[219] Fix | Delete
#
[220] Fix | Delete
# Each Ingress Queue can use one MSI-X interrupt but some Ingress Queues can
[221] Fix | Delete
# use Forwarded Interrupt Ingress Queues. For these latter, an Ingress Queue
[222] Fix | Delete
# would be created and the Queue ID of a Forwarded Interrupt Ingress Queue
[223] Fix | Delete
# will be specified as the "Ingress Queue Asynchronous Destination Index."
[224] Fix | Delete
# Thus, the number of MSI-X Vectors assigned to the Unified PF will be less
[225] Fix | Delete
# than or equal to the number of Ingress Queues ...
[226] Fix | Delete
#
[227] Fix | Delete
# NVI_NIC = 4 # NIC access to NPORTS
[228] Fix | Delete
# NFLIQ_NIC = 32 # NIC Ingress Queues with Free Lists
[229] Fix | Delete
# NETHCTRL_NIC = 32 # NIC Ethernet Control/TX Queues
[230] Fix | Delete
# NEQ_NIC = 64 # NIC Egress Queues (FL, ETHCTRL/TX)
[231] Fix | Delete
# NMPSTCAM_NIC = 16 # NIC MPS TCAM Entries (NPORTS*4)
[232] Fix | Delete
# NMSIX_NIC = 32 # NIC MSI-X Interrupt Vectors (FLIQ)
[233] Fix | Delete
#
[234] Fix | Delete
# NVI_OFLD = 0 # Offload uses NIC function to access ports
[235] Fix | Delete
# NFLIQ_OFLD = 16 # Offload Ingress Queues with Free Lists
[236] Fix | Delete
# NETHCTRL_OFLD = 0 # Offload Ethernet Control/TX Queues
[237] Fix | Delete
# NEQ_OFLD = 16 # Offload Egress Queues (FL)
[238] Fix | Delete
# NMPSTCAM_OFLD = 0 # Offload MPS TCAM Entries (uses NIC's)
[239] Fix | Delete
# NMSIX_OFLD = 16 # Offload MSI-X Interrupt Vectors (FLIQ)
[240] Fix | Delete
#
[241] Fix | Delete
# NVI_RDMA = 0 # RDMA uses NIC function to access ports
[242] Fix | Delete
# NFLIQ_RDMA = 4 # RDMA Ingress Queues with Free Lists
[243] Fix | Delete
# NETHCTRL_RDMA = 0 # RDMA Ethernet Control/TX Queues
[244] Fix | Delete
# NEQ_RDMA = 4 # RDMA Egress Queues (FL)
[245] Fix | Delete
# NMPSTCAM_RDMA = 0 # RDMA MPS TCAM Entries (uses NIC's)
[246] Fix | Delete
# NMSIX_RDMA = 4 # RDMA MSI-X Interrupt Vectors (FLIQ)
[247] Fix | Delete
#
[248] Fix | Delete
# NEQ_WD = 128 # Wire Direct TX Queues and FLs
[249] Fix | Delete
# NETHCTRL_WD = 64 # Wire Direct TX Queues
[250] Fix | Delete
# NFLIQ_WD = 64 ` # Wire Direct Ingress Queues with Free Lists
[251] Fix | Delete
#
[252] Fix | Delete
# NVI_ISCSI = 4 # ISCSI access to NPORTS
[253] Fix | Delete
# NFLIQ_ISCSI = 4 # ISCSI Ingress Queues with Free Lists
[254] Fix | Delete
# NETHCTRL_ISCSI = 0 # ISCSI Ethernet Control/TX Queues
[255] Fix | Delete
# NEQ_ISCSI = 4 # ISCSI Egress Queues (FL)
[256] Fix | Delete
# NMPSTCAM_ISCSI = 4 # ISCSI MPS TCAM Entries (NPORTS)
[257] Fix | Delete
# NMSIX_ISCSI = 4 # ISCSI MSI-X Interrupt Vectors (FLIQ)
[258] Fix | Delete
#
[259] Fix | Delete
# NVI_FCOE = 4 # FCOE access to NPORTS
[260] Fix | Delete
# NFLIQ_FCOE = 34 # FCOE Ingress Queues with Free Lists
[261] Fix | Delete
# NETHCTRL_FCOE = 32 # FCOE Ethernet Control/TX Queues
[262] Fix | Delete
# NEQ_FCOE = 66 # FCOE Egress Queues (FL)
[263] Fix | Delete
# NMPSTCAM_FCOE = 32 # FCOE MPS TCAM Entries (NPORTS)
[264] Fix | Delete
# NMSIX_FCOE = 34 # FCOE MSI-X Interrupt Vectors (FLIQ)
[265] Fix | Delete
[266] Fix | Delete
# Two extra Ingress Queues per function for Firmware Events and Forwarded
[267] Fix | Delete
# Interrupts, and two extra interrupts per function for Firmware Events (or a
[268] Fix | Delete
# Forwarded Interrupt Queue) and General Interrupts per function.
[269] Fix | Delete
#
[270] Fix | Delete
# NFLIQ_EXTRA = 6 # "extra" Ingress Queues 2*NFUNCS (Firmware and
[271] Fix | Delete
# # Forwarded Interrupts
[272] Fix | Delete
# NMSIX_EXTRA = 6 # extra interrupts 2*NFUNCS (Firmware and
[273] Fix | Delete
# # General Interrupts
[274] Fix | Delete
[275] Fix | Delete
# Microsoft HyperV resources. The HyperV Virtual Ingress Queues will have
[276] Fix | Delete
# their interrupts forwarded to another set of Forwarded Interrupt Queues.
[277] Fix | Delete
#
[278] Fix | Delete
# NVI_HYPERV = 16 # VMs we want to support
[279] Fix | Delete
# NVIIQ_HYPERV = 2 # Virtual Ingress Queues with Free Lists per VM
[280] Fix | Delete
# NFLIQ_HYPERV = 40 # VIQs + NCPUS Forwarded Interrupt Queues
[281] Fix | Delete
# NEQ_HYPERV = 32 # VIQs Free Lists
[282] Fix | Delete
# NMPSTCAM_HYPERV = 16 # MPS TCAM Entries (NVI_HYPERV)
[283] Fix | Delete
# NMSIX_HYPERV = 8 # NCPUS Forwarded Interrupt Queues
[284] Fix | Delete
[285] Fix | Delete
# Adding all of the above Unified PF resource needs together: (NIC + OFLD +
[286] Fix | Delete
# RDMA + ISCSI + FCOE + EXTRA + HYPERV)
[287] Fix | Delete
#
[288] Fix | Delete
# NVI_UNIFIED = 28
[289] Fix | Delete
# NFLIQ_UNIFIED = 106
[290] Fix | Delete
# NETHCTRL_UNIFIED = 32
[291] Fix | Delete
# NEQ_UNIFIED = 124
[292] Fix | Delete
# NMPSTCAM_UNIFIED = 40
[293] Fix | Delete
#
[294] Fix | Delete
# The sum of all the MSI-X resources above is 74 MSI-X Vectors but we'll round
[295] Fix | Delete
# that up to 128 to make sure the Unified PF doesn't run out of resources.
[296] Fix | Delete
#
[297] Fix | Delete
# NMSIX_UNIFIED = 128
[298] Fix | Delete
#
[299] Fix | Delete
# The Storage PFs could need up to NPORTS*NCPUS + NMSIX_EXTRA MSI-X Vectors
[300] Fix | Delete
# which is 34 but they're probably safe with 32.
[301] Fix | Delete
#
[302] Fix | Delete
# NMSIX_STORAGE = 32
[303] Fix | Delete
[304] Fix | Delete
# Note: The UnifiedPF is PF4 which doesn't have any Virtual Functions
[305] Fix | Delete
# associated with it. Thus, the MSI-X Vector allocations we give to the
[306] Fix | Delete
# UnifiedPF aren't inherited by any Virtual Functions. As a result we can
[307] Fix | Delete
# provision many more Virtual Functions than we can if the UnifiedPF were
[308] Fix | Delete
# one of PF0-3.
[309] Fix | Delete
#
[310] Fix | Delete
[311] Fix | Delete
# All of the below PCI-E parameters are actually stored in various *_init.txt
[312] Fix | Delete
# files. We include them below essentially as comments.
[313] Fix | Delete
#
[314] Fix | Delete
# For PF0-3 we assign 8 vectors each for NIC Ingress Queues of the associated
[315] Fix | Delete
# ports 0-3.
[316] Fix | Delete
#
[317] Fix | Delete
# For PF4, the Unified PF, we give it an MSI-X Table Size as outlined above.
[318] Fix | Delete
#
[319] Fix | Delete
# For PF5-6 we assign enough MSI-X Vectors to support FCoE and iSCSI
[320] Fix | Delete
# storage applications across all four possible ports.
[321] Fix | Delete
#
[322] Fix | Delete
# Additionally, since the UnifiedPF isn't one of the per-port Physical
[323] Fix | Delete
# Functions, we give the UnifiedPF and the PF0-3 Physical Functions
[324] Fix | Delete
# different PCI Device IDs which will allow Unified and Per-Port Drivers
[325] Fix | Delete
# to directly select the type of Physical Function to which they wish to be
[326] Fix | Delete
# attached.
[327] Fix | Delete
#
[328] Fix | Delete
# Note that the actual values used for the PCI-E Intelectual Property will be
[329] Fix | Delete
# 1 less than those below since that's the way it "counts" things. For
[330] Fix | Delete
# readability, we use the number we actually mean ...
[331] Fix | Delete
#
[332] Fix | Delete
# PF0_INT = 8 # NCPUS
[333] Fix | Delete
# PF1_INT = 8 # NCPUS
[334] Fix | Delete
# PF0_3_INT = 32 # PF0_INT + PF1_INT + PF2_INT + PF3_INT
[335] Fix | Delete
#
[336] Fix | Delete
# PF4_INT = 128 # NMSIX_UNIFIED
[337] Fix | Delete
# PF5_INT = 32 # NMSIX_STORAGE
[338] Fix | Delete
# PF6_INT = 32 # NMSIX_STORAGE
[339] Fix | Delete
# PF7_INT = 0 # Nothing Assigned
[340] Fix | Delete
# PF4_7_INT = 192 # PF4_INT + PF5_INT + PF6_INT + PF7_INT
[341] Fix | Delete
#
[342] Fix | Delete
# PF0_7_INT = 224 # PF0_3_INT + PF4_7_INT
[343] Fix | Delete
#
[344] Fix | Delete
# With the above we can get 17 VFs/PF0-3 (limited by 336 MPS TCAM entries)
[345] Fix | Delete
# but we'll lower that to 16 to make our total 64 and a nice power of 2 ...
[346] Fix | Delete
#
[347] Fix | Delete
# NVF = 16
[348] Fix | Delete
[349] Fix | Delete
[350] Fix | Delete
# For those OSes which manage different ports on different PFs, we need
[351] Fix | Delete
# only enough resources to support a single port's NIC application functions
[352] Fix | Delete
# on PF0-3. The below assumes that we're only doing NIC with NCPUS "Queue
[353] Fix | Delete
# Sets" for ports 0-3. The FCoE and iSCSI functions for such OSes will be
[354] Fix | Delete
# managed on the "storage PFs" (see below).
[355] Fix | Delete
#
[356] Fix | Delete
[function "0"]
[357] Fix | Delete
nvf = 16 # NVF on this function
[358] Fix | Delete
wx_caps = all # write/execute permissions for all commands
[359] Fix | Delete
r_caps = all # read permissions for all commands
[360] Fix | Delete
nvi = 1 # 1 port
[361] Fix | Delete
niqflint = 8 # NCPUS "Queue Sets"
[362] Fix | Delete
nethctrl = 8 # NCPUS "Queue Sets"
[363] Fix | Delete
neq = 16 # niqflint + nethctrl Egress Queues
[364] Fix | Delete
nexactf = 8 # number of exact MPSTCAM MAC filters
[365] Fix | Delete
cmask = all # access to all channels
[366] Fix | Delete
pmask = 0x1 # access to only one port
[367] Fix | Delete
[368] Fix | Delete
[369] Fix | Delete
[function "1"]
[370] Fix | Delete
nvf = 16 # NVF on this function
[371] Fix | Delete
wx_caps = all # write/execute permissions for all commands
[372] Fix | Delete
r_caps = all # read permissions for all commands
[373] Fix | Delete
nvi = 1 # 1 port
[374] Fix | Delete
niqflint = 8 # NCPUS "Queue Sets"
[375] Fix | Delete
nethctrl = 8 # NCPUS "Queue Sets"
[376] Fix | Delete
neq = 16 # niqflint + nethctrl Egress Queues
[377] Fix | Delete
nexactf = 8 # number of exact MPSTCAM MAC filters
[378] Fix | Delete
cmask = all # access to all channels
[379] Fix | Delete
pmask = 0x2 # access to only one port
[380] Fix | Delete
[381] Fix | Delete
[function "2"]
[382] Fix | Delete
nvf = 16 # NVF on this function
[383] Fix | Delete
wx_caps = all # write/execute permissions for all commands
[384] Fix | Delete
r_caps = all # read permissions for all commands
[385] Fix | Delete
nvi = 1 # 1 port
[386] Fix | Delete
niqflint = 8 # NCPUS "Queue Sets"
[387] Fix | Delete
nethctrl = 8 # NCPUS "Queue Sets"
[388] Fix | Delete
neq = 16 # niqflint + nethctrl Egress Queues
[389] Fix | Delete
nexactf = 8 # number of exact MPSTCAM MAC filters
[390] Fix | Delete
cmask = all # access to all channels
[391] Fix | Delete
pmask = 0x4 # access to only one port
[392] Fix | Delete
[393] Fix | Delete
[function "3"]
[394] Fix | Delete
nvf = 16 # NVF on this function
[395] Fix | Delete
wx_caps = all # write/execute permissions for all commands
[396] Fix | Delete
r_caps = all # read permissions for all commands
[397] Fix | Delete
nvi = 1 # 1 port
[398] Fix | Delete
niqflint = 8 # NCPUS "Queue Sets"
[399] Fix | Delete
nethctrl = 8 # NCPUS "Queue Sets"
[400] Fix | Delete
neq = 16 # niqflint + nethctrl Egress Queues
[401] Fix | Delete
nexactf = 8 # number of exact MPSTCAM MAC filters
[402] Fix | Delete
cmask = all # access to all channels
[403] Fix | Delete
pmask = 0x8 # access to only one port
[404] Fix | Delete
[405] Fix | Delete
[406] Fix | Delete
# Some OS Drivers manage all application functions for all ports via PF4.
[407] Fix | Delete
# Thus we need to provide a large number of resources here. For Egress
[408] Fix | Delete
# Queues we need to account for both TX Queues as well as Free List Queues
[409] Fix | Delete
# (because the host is responsible for producing Free List Buffers for the
[410] Fix | Delete
# hardware to consume).
[411] Fix | Delete
#
[412] Fix | Delete
[function "4"]
[413] Fix | Delete
wx_caps = all # write/execute permissions for all commands
[414] Fix | Delete
r_caps = all # read permissions for all commands
[415] Fix | Delete
nvi = 28 # NVI_UNIFIED
[416] Fix | Delete
niqflint = 218 # NFLIQ_UNIFIED + NLFIQ_WD + NFLIQ_CRYPTO (32)
[417] Fix | Delete
nethctrl = 116 # NETHCTRL_UNIFIED + NETHCTRL_WD + ncrypto_lookaside
[418] Fix | Delete
neq = 256 # NEQ_UNIFIED + NEQ_WD
[419] Fix | Delete
nqpcq = 12288
[420] Fix | Delete
nexactf = 40 # NMPSTCAM_UNIFIED
[421] Fix | Delete
nrawf = 2
[422] Fix | Delete
cmask = all # access to all channels
[423] Fix | Delete
pmask = all # access to all four ports ...
[424] Fix | Delete
nethofld = 1024 # number of user mode ethernet flow contexts
[425] Fix | Delete
ncrypto_lookaside = 16 # Number of lookaside flow contexts
[426] Fix | Delete
nclip = 320 # number of clip region entries
[427] Fix | Delete
nfilter = 496 # number of filter region entries
[428] Fix | Delete
nserver = 496 # number of server region entries
[429] Fix | Delete
nhash = 12288 # number of hash region entries
[430] Fix | Delete
nhpfilter = 64 # number of high priority filter region entries
[431] Fix | Delete
protocol = nic_vm, ofld, rddp, rdmac, iscsi_initiator_pdu, iscsi_target_pdu, iscsi_t10dif, tlskeys, crypto_lookaside, ipsec_inline, nic_hashfilter, nic_ktls_ofld
[432] Fix | Delete
tp_l2t = 3072
[433] Fix | Delete
tp_ddp = 2
[434] Fix | Delete
tp_ddp_iscsi = 2
[435] Fix | Delete
tp_tls_key = 2
[436] Fix | Delete
tp_tls_mxrxsize = 17408 # 16384 + 1024, governs max rx data, pm max xfer len, rx coalesce sizes
[437] Fix | Delete
tp_stag = 2
[438] Fix | Delete
tp_pbl = 7
[439] Fix | Delete
tp_rq = 7
[440] Fix | Delete
tp_srq = 128
[441] Fix | Delete
[442] Fix | Delete
# We have FCoE and iSCSI storage functions on PF5 and PF6 each of which may
[443] Fix | Delete
# need to have Virtual Interfaces on each of the four ports with up to NCPUS
[444] Fix | Delete
# "Queue Sets" each.
[445] Fix | Delete
#
[446] Fix | Delete
[function "5"]
[447] Fix | Delete
wx_caps = all # write/execute permissions for all commands
[448] Fix | Delete
r_caps = all # read permissions for all commands
[449] Fix | Delete
nvi = 4 # NPORTS
[450] Fix | Delete
niqflint = 34 # NPORTS*NCPUS + NMSIX_EXTRA
[451] Fix | Delete
nethctrl = 32 # NPORTS*NCPUS
[452] Fix | Delete
neq = 64 # NPORTS*NCPUS * 2 (FL, ETHCTRL/TX)
[453] Fix | Delete
nexactf = 16 # (NPORTS *(no of snmc grp + 1 hw mac) + 1 anmc grp)) rounded to 16.
[454] Fix | Delete
cmask = all # access to all channels
[455] Fix | Delete
pmask = all # access to all four ports ...
[456] Fix | Delete
nserver = 16
[457] Fix | Delete
nhash = 2048
[458] Fix | Delete
tp_l2t = 1020
[459] Fix | Delete
nclip = 64
[460] Fix | Delete
protocol = iscsi_initiator_fofld
[461] Fix | Delete
tp_ddp_iscsi = 2
[462] Fix | Delete
iscsi_ntask = 2048
[463] Fix | Delete
iscsi_nsess = 2048
[464] Fix | Delete
iscsi_nconn_per_session = 1
[465] Fix | Delete
iscsi_ninitiator_instance = 64
[466] Fix | Delete
[467] Fix | Delete
[468] Fix | Delete
[function "6"]
[469] Fix | Delete
wx_caps = all # write/execute permissions for all commands
[470] Fix | Delete
r_caps = all # read permissions for all commands
[471] Fix | Delete
nvi = 4 # NPORTS
[472] Fix | Delete
niqflint = 34 # NPORTS*NCPUS + NMSIX_EXTRA
[473] Fix | Delete
nethctrl = 32 # NPORTS*NCPUS
[474] Fix | Delete
neq = 66 # NPORTS*NCPUS * 2 (FL, ETHCTRL/TX) + 2 (EXTRA)
[475] Fix | Delete
nexactf = 32 # NPORTS + adding 28 exact entries for FCoE
[476] Fix | Delete
# which is OK since < MIN(SUM PF0..3, PF4)
[477] Fix | Delete
# and we never load PF0..3 and PF4 concurrently
[478] Fix | Delete
cmask = all # access to all channels
[479] Fix | Delete
pmask = all # access to all four ports ...
[480] Fix | Delete
nhash = 2048
[481] Fix | Delete
tp_l2t = 4
[482] Fix | Delete
protocol = fcoe_initiator
[483] Fix | Delete
tp_ddp = 1
[484] Fix | Delete
fcoe_nfcf = 16
[485] Fix | Delete
fcoe_nvnp = 32
[486] Fix | Delete
fcoe_nssn = 1024
[487] Fix | Delete
[488] Fix | Delete
[489] Fix | Delete
# The following function, 1023, is not an actual PCIE function but is used to
[490] Fix | Delete
# configure and reserve firmware internal resources that come from the global
[491] Fix | Delete
# resource pool.
[492] Fix | Delete
#
[493] Fix | Delete
[function "1023"]
[494] Fix | Delete
wx_caps = all # write/execute permissions for all commands
[495] Fix | Delete
r_caps = all # read permissions for all commands
[496] Fix | Delete
nvi = 4 # NVI_UNIFIED
[497] Fix | Delete
cmask = all # access to all channels
[498] Fix | Delete
pmask = all # access to all four ports ...
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function