t4fw_cfg_uwire.txt (228561) | t4fw_cfg_uwire.txt (237436) |
---|---|
1# Chelsio T4 Factory Default configuration file. 2# | 1# Chelsio T4 Factory Default configuration file. 2# |
3# Copyright (C) 2010 Chelsio Communications. All rights reserved. | 3# Copyright (C) 2010-2012 Chelsio Communications. All rights reserved. |
4# | 4# |
5# DO NOT MODIFY THIS FILE UNDER ANY CIRCUMSTANCES. MODIFICATION OF 6# THIS FILE WILL RESULT IN A NON-FUNCTIONAL T4 ADAPTER AND MAY RESULT 7# IN PHYSICAL DAMAGE TO T4 ADAPTERS. |
|
5 6# This file provides the default, power-on configuration for 4-port T4-based 7# adapters shipped from the factory. These defaults are designed to address 8# the needs of the vast majority of T4 customers. The basic idea is to have 9# a default configuration which allows a customer to plug a T4 adapter in and 10# have it work regardless of OS, driver or application except in the most 11# unusual and/or demanding customer applications. 12# --- 94 unchanged lines hidden (view full) --- 107 sge_timer_value = 5, 10, 20, 50, 100, 200 # SGE_TIMER_VALUE* in usecs 108 109 reg[0x7dc0] = 0x64f8849 # TP_SHIFT_CNT 110 111 # Selection of tuples for LE filter lookup, fields (and widths which 112 # must sum to <= 36): { IP Fragment (1), MPS Match Type (3), 113 # IP Protocol (8), [Inner] VLAN (17), Port (3), FCoE (1) } 114 # | 8 9# This file provides the default, power-on configuration for 4-port T4-based 10# adapters shipped from the factory. These defaults are designed to address 11# the needs of the vast majority of T4 customers. The basic idea is to have 12# a default configuration which allows a customer to plug a T4 adapter in and 13# have it work regardless of OS, driver or application except in the most 14# unusual and/or demanding customer applications. 15# --- 94 unchanged lines hidden (view full) --- 110 sge_timer_value = 5, 10, 20, 50, 100, 200 # SGE_TIMER_VALUE* in usecs 111 112 reg[0x7dc0] = 0x64f8849 # TP_SHIFT_CNT 113 114 # Selection of tuples for LE filter lookup, fields (and widths which 115 # must sum to <= 36): { IP Fragment (1), MPS Match Type (3), 116 # IP Protocol (8), [Inner] VLAN (17), Port (3), FCoE (1) } 117 # |
115 filterMode = fragmentation, mpshittype, protocol, vnic_id, port, fcoe | 118 filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe |
116 117 # Percentage of dynamic memory (in either the EDRAM or external MEM) 118 # to use for TP RX payload 119 tp_pmrx = 30 120 121 # TP RX payload page size 122 tp_pmrx_pagesize = 64K 123 --- 210 unchanged lines hidden (view full) --- 334# (because the host is responsible for producing Free List Buffers for the 335# hardware to consume). 336# 337[function "4"] 338 wx_caps = all # write/execute permissions for all commands 339 r_caps = all # read permissions for all commands 340 nvi = 28 # NVI_UNIFIED 341 niqflint = 170 # NFLIQ_UNIFIED + NLFIQ_WD | 119 120 # Percentage of dynamic memory (in either the EDRAM or external MEM) 121 # to use for TP RX payload 122 tp_pmrx = 30 123 124 # TP RX payload page size 125 tp_pmrx_pagesize = 64K 126 --- 210 unchanged lines hidden (view full) --- 337# (because the host is responsible for producing Free List Buffers for the 338# hardware to consume). 339# 340[function "4"] 341 wx_caps = all # write/execute permissions for all commands 342 r_caps = all # read permissions for all commands 343 nvi = 28 # NVI_UNIFIED 344 niqflint = 170 # NFLIQ_UNIFIED + NLFIQ_WD |
342 nethctrl = 96 # NETHCTRL_UNIFIED + NETHCTRL_WD 343 neq = 252 # NEQ_UNIFIED + NEQ_WD | 345 nethctrl = 100 # NETHCTRL_UNIFIED + NETHCTRL_WD 346 neq = 256 # NEQ_UNIFIED + NEQ_WD |
344 nexactf = 40 # NMPSTCAM_UNIFIED 345 cmask = all # access to all channels 346 pmask = all # access to all four ports ... | 347 nexactf = 40 # NMPSTCAM_UNIFIED 348 cmask = all # access to all channels 349 pmask = all # access to all four ports ... |
350 nethofld = 1024 # number of user mode ethernet flow contexts |
|
347 nroute = 32 # number of routing region entries 348 nclip = 32 # number of clip region entries | 351 nroute = 32 # number of routing region entries 352 nclip = 32 # number of clip region entries |
349 nfilter = 768 # number of filter region entries 350 nserver = 256 # number of server region entries 351 nhash = 0 # number of hash region entries | 353 nfilter = 496 # number of filter region entries 354 nserver = 496 # number of server region entries 355 nhash = 12288 # number of hash region entries |
352 protocol = nic_vm, ofld, rddp, rdmac, iscsi_initiator_pdu, iscsi_target_pdu | 356 protocol = nic_vm, ofld, rddp, rdmac, iscsi_initiator_pdu, iscsi_target_pdu |
353 tp_l2t = 100 | 357 tp_l2t = 3072 |
354 tp_ddp = 2 355 tp_ddp_iscsi = 2 356 tp_stag = 2 357 tp_pbl = 5 358 tp_rq = 7 359 360# We have FCoE and iSCSI storage functions on PF5 and PF6 each of which may 361# need to have Virtual Interfaces on each of the four ports with up to NCPUS --- 4 unchanged lines hidden (view full) --- 366 r_caps = all # read permissions for all commands 367 nvi = 4 # NPORTS 368 niqflint = 34 # NPORTS*NCPUS + NMSIX_EXTRA 369 nethctrl = 32 # NPORTS*NCPUS 370 neq = 64 # NPORTS*NCPUS * 2 (FL, ETHCTRL/TX) 371 nexactf = 4 # NPORTS 372 cmask = all # access to all channels 373 pmask = all # access to all four ports ... | 358 tp_ddp = 2 359 tp_ddp_iscsi = 2 360 tp_stag = 2 361 tp_pbl = 5 362 tp_rq = 7 363 364# We have FCoE and iSCSI storage functions on PF5 and PF6 each of which may 365# need to have Virtual Interfaces on each of the four ports with up to NCPUS --- 4 unchanged lines hidden (view full) --- 370 r_caps = all # read permissions for all commands 371 nvi = 4 # NPORTS 372 niqflint = 34 # NPORTS*NCPUS + NMSIX_EXTRA 373 nethctrl = 32 # NPORTS*NCPUS 374 neq = 64 # NPORTS*NCPUS * 2 (FL, ETHCTRL/TX) 375 nexactf = 4 # NPORTS 376 cmask = all # access to all channels 377 pmask = all # access to all four ports ... |
378 nserver = 16 379 nhash = 2048 380 tp_l2t = 1024 381 protocol = iscsi_initiator_fofld 382 tp_ddp_iscsi = 2 383 iscsi_ntask = 2048 384 iscsi_nsess = 2048 385 iscsi_nconn_per_session = 1 386 iscsi_ninitiator_instance = 64 |
|
374 375[function "6"] 376 wx_caps = all # write/execute permissions for all commands 377 r_caps = all # read permissions for all commands 378 nvi = 4 # NPORTS 379 niqflint = 34 # NPORTS*NCPUS + NMSIX_EXTRA 380 nethctrl = 32 # NPORTS*NCPUS 381 neq = 66 # NPORTS*NCPUS * 2 (FL, ETHCTRL/TX) + 2 (EXTRA) 382 nexactf = 32 # NPORTS + adding 28 exact entries for FCoE 383 # which is OK since < MIN(SUM PF0..3, PF4) 384 # and we never load PF0..3 and PF4 concurrently 385 cmask = all # access to all channels 386 pmask = all # access to all four ports ... | 387 388[function "6"] 389 wx_caps = all # write/execute permissions for all commands 390 r_caps = all # read permissions for all commands 391 nvi = 4 # NPORTS 392 niqflint = 34 # NPORTS*NCPUS + NMSIX_EXTRA 393 nethctrl = 32 # NPORTS*NCPUS 394 neq = 66 # NPORTS*NCPUS * 2 (FL, ETHCTRL/TX) + 2 (EXTRA) 395 nexactf = 32 # NPORTS + adding 28 exact entries for FCoE 396 # which is OK since < MIN(SUM PF0..3, PF4) 397 # and we never load PF0..3 and PF4 concurrently 398 cmask = all # access to all channels 399 pmask = all # access to all four ports ... |
387 nhash = 0 | 400 nhash = 2048 |
388 protocol = fcoe_initiator 389 tp_ddp = 2 390 fcoe_nfcf = 16 391 fcoe_nvnp = 32 392 fcoe_nssn = 1024 393 | 401 protocol = fcoe_initiator 402 tp_ddp = 2 403 fcoe_nfcf = 16 404 fcoe_nvnp = 32 405 fcoe_nssn = 1024 406 |
407# The following function, 1023, is not an actual PCIE function but is used to 408# configure and reserve firmware internal resources that come from the global 409# resource pool. 410# 411[function "1023"] 412 wx_caps = all # write/execute permissions for all commands 413 r_caps = all # read permissions for all commands 414 nvi = 4 # NVI_UNIFIED 415 cmask = all # access to all channels 416 pmask = all # access to all four ports ... 417 nexactf = 8 # NPORTS + DCBX + 418 nfilter = 16 # number of filter region entries 419 |
|
394# For Virtual functions, we only allow NIC functionality and we only allow 395# access to one port (1 << PF). Note that because of limitations in the 396# Scatter Gather Engine (SGE) hardware which checks writes to VF KDOORBELL 397# and GTS registers, the number of Ingress and Egress Queues must be a power 398# of 2. 399# 400[function "0/*"] # NVF 401 wx_caps = 0x82 # DMAQ | VF --- 81 unchanged lines hidden (view full) --- 483 dcb = ppp, dcbx 484 bg_mem = 25 485 lpbk_mem = 25 486 hwm = 30 487 lwm = 15 488 dwm = 30 489 490[fini] | 420# For Virtual functions, we only allow NIC functionality and we only allow 421# access to one port (1 << PF). Note that because of limitations in the 422# Scatter Gather Engine (SGE) hardware which checks writes to VF KDOORBELL 423# and GTS registers, the number of Ingress and Egress Queues must be a power 424# of 2. 425# 426[function "0/*"] # NVF 427 wx_caps = 0x82 # DMAQ | VF --- 81 unchanged lines hidden (view full) --- 509 dcb = ppp, dcbx 510 bg_mem = 25 511 lpbk_mem = 25 512 hwm = 30 513 lwm = 15 514 dwm = 30 515 516[fini] |
491 version = 0x14250007 492 checksum = 0xfcbadefb | 517 version = 0x1425000b 518 checksum = 0x7690f7a5 |
493 494# Total resources used by above allocations: 495# Virtual Interfaces: 104 496# Ingress Queues/w Free Lists and Interrupts: 526 497# Egress Queues: 702 498# MPS TCAM Entries: 336 499# MSI-X Vectors: 736 500# Virtual Functions: 64 501# | 519 520# Total resources used by above allocations: 521# Virtual Interfaces: 104 522# Ingress Queues/w Free Lists and Interrupts: 526 523# Egress Queues: 702 524# MPS TCAM Entries: 336 525# MSI-X Vectors: 736 526# Virtual Functions: 64 527# |
502# $FreeBSD: head/sys/dev/cxgbe/firmware/t4fw_cfg_uwire.txt 228561 2011-12-16 02:09:51Z np $ | 528# $FreeBSD: head/sys/dev/cxgbe/firmware/t4fw_cfg_uwire.txt 237436 2012-06-22 07:51:15Z np $ |
503# | 529# |