svn commit: r274447 - stable/9/sys/dev/cxgbe/firmware

Navdeep Parhar np at FreeBSD.org
Wed Nov 12 20:26:24 UTC 2014


Author: np
Date: Wed Nov 12 20:26:22 2014
New Revision: 274447
URL: https://svnweb.freebsd.org/changeset/base/274447

Log:
  MFC r273615:
  
  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.

Modified:
  stable/9/sys/dev/cxgbe/firmware/t4fw_cfg.txt
  stable/9/sys/dev/cxgbe/firmware/t5fw_cfg.txt
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/cxgbe/firmware/t4fw_cfg.txt
==============================================================================
--- stable/9/sys/dev/cxgbe/firmware/t4fw_cfg.txt	Wed Nov 12 20:24:14 2014	(r274446)
+++ stable/9/sys/dev/cxgbe/firmware/t4fw_cfg.txt	Wed Nov 12 20:26:22 2014	(r274447)
@@ -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: stable/9/sys/dev/cxgbe/firmware/t5fw_cfg.txt
==============================================================================
--- stable/9/sys/dev/cxgbe/firmware/t5fw_cfg.txt	Wed Nov 12 20:24:14 2014	(r274446)
+++ stable/9/sys/dev/cxgbe/firmware/t5fw_cfg.txt	Wed Nov 12 20:26:22 2014	(r274447)
@@ -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-stable-9 mailing list