svn commit: r273615 - head/sys/dev/cxgbe/firmware
Navdeep Parhar
np at FreeBSD.org
Sat Oct 25 00:14:45 UTC 2014
Author: np
Date: Sat Oct 25 00:14:44 2014
New Revision: 273615
URL: https://svnweb.freebsd.org/changeset/base/273615
Log:
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
Modified:
head/sys/dev/cxgbe/firmware/t4fw_cfg.txt
head/sys/dev/cxgbe/firmware/t5fw_cfg.txt
Modified: head/sys/dev/cxgbe/firmware/t4fw_cfg.txt
==============================================================================
--- head/sys/dev/cxgbe/firmware/t4fw_cfg.txt Fri Oct 24 23:25:44 2014 (r273614)
+++ head/sys/dev/cxgbe/firmware/t4fw_cfg.txt Sat Oct 25 00:14:44 2014 (r273615)
@@ -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$
#
Modified: head/sys/dev/cxgbe/firmware/t5fw_cfg.txt
==============================================================================
--- head/sys/dev/cxgbe/firmware/t5fw_cfg.txt Fri Oct 24 23:25:44 2014 (r273614)
+++ head/sys/dev/cxgbe/firmware/t5fw_cfg.txt Sat Oct 25 00:14:44 2014 (r273615)
@@ -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$
#
More information about the svn-src-all
mailing list