cxgbe(4): bump up PF4's share of some global resources.

This increases the size of the per-port RSS slice and also allows the
driver to use a larger number of tx and rx queues.

MFC after:	2 weeks
This commit is contained in:
np 2014-10-25 00:14:44 +00:00
parent 05042d291f
commit 474148ed8f
2 changed files with 33 additions and 9 deletions

View File

@ -41,26 +41,34 @@
[function "0"]
nvf = 16
nvi = 1
rssnvi = 0
[function "0/*"]
nvi = 1
rssnvi = 0
[function "1"]
nvf = 16
nvi = 1
rssnvi = 0
[function "1/*"]
nvi = 1
rssnvi = 0
[function "2"]
nvf = 16
nvi = 1
rssnvi = 0
[function "2/*"]
nvi = 1
rssnvi = 0
[function "3"]
nvf = 16
nvi = 1
rssnvi = 0
[function "3/*"]
nvi = 1
rssnvi = 0
# PF4 is the resource-rich PF that the bus/nexus driver attaches to.
# It gets 32 MSI/128 MSI-X vectors.
@ -68,9 +76,10 @@
wx_caps = all
r_caps = all
nvi = 32
niqflint = 256
nethctrl = 128
neq = 256
rssnvi = 8
niqflint = 512
nethctrl = 1024
neq = 2048
nexactf = 328
cmask = all
pmask = all
@ -94,11 +103,13 @@
# Not used right now.
[function "5"]
nvi = 1
rssnvi = 0
# PF6 is the FCoE Controller PF. It gets 32 MSI/40 MSI-X vectors.
# Not used right now.
[function "6"]
nvi = 1
rssnvi = 0
# The following function, 1023, is not an actual PCIE function but is used to
# configure and reserve firmware internal resources that come from the global
@ -107,6 +118,7 @@
wx_caps = all
r_caps = all
nvi = 4
rssnvi = 0
cmask = all
pmask = all
nexactf = 8
@ -148,7 +160,7 @@
[fini]
version = 0x1
checksum = 0x6f516705
checksum = 0x6a1f8858
#
# $FreeBSD$
#

View File

@ -5,7 +5,7 @@
# niqflint = 1023 ingress queues with freelists and/or interrupts
# nethctrl = 64K Ethernet or ctrl egress queues
# neq = 64K egress queues of all kinds, including freelists
# nexactf = 336 MPS TCAM entries, can oversubscribe.
# nexactf = 512 MPS TCAM entries, can oversubscribe.
#
[global]
@ -54,26 +54,34 @@
[function "0"]
nvf = 16
nvi = 1
rssnvi = 0
[function "0/*"]
nvi = 1
rssnvi = 0
[function "1"]
nvf = 16
nvi = 1
rssnvi = 0
[function "1/*"]
nvi = 1
rssnvi = 0
[function "2"]
nvf = 16
nvi = 1
rssnvi = 0
[function "2/*"]
nvi = 1
rssnvi = 0
[function "3"]
nvf = 16
nvi = 1
rssnvi = 0
[function "3/*"]
nvi = 1
rssnvi = 0
# PF4 is the resource-rich PF that the bus/nexus driver attaches to.
# It gets 32 MSI/128 MSI-X vectors.
@ -81,9 +89,10 @@
wx_caps = all
r_caps = all
nvi = 32
niqflint = 256
nethctrl = 128
neq = 256
rssnvi = 8
niqflint = 512
nethctrl = 1024
neq = 2048
nexactf = 328
cmask = all
pmask = all
@ -107,11 +116,13 @@
# Not used right now.
[function "5"]
nvi = 1
rssnvi = 0
# PF6 is the FCoE Controller PF. It gets 32 MSI/40 MSI-X vectors.
# Not used right now.
[function "6"]
nvi = 1
rssnvi = 0
# The following function, 1023, is not an actual PCIE function but is used to
# configure and reserve firmware internal resources that come from the global
@ -120,6 +131,7 @@
wx_caps = all
r_caps = all
nvi = 4
rssnvi = 0
cmask = all
pmask = all
nexactf = 8
@ -161,7 +173,7 @@
[fini]
version = 0x1
checksum = 0x9f27febc
checksum = 0xa0ee1715
#
# $FreeBSD$
#