From owner-svn-src-all@FreeBSD.ORG Sat Oct 25 00:14:45 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 584746A4; Sat, 25 Oct 2014 00:14:45 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4467F1EC; Sat, 25 Oct 2014 00:14:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9P0Ejub038220; Sat, 25 Oct 2014 00:14:45 GMT (envelope-from np@FreeBSD.org) Received: (from np@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9P0EiRs038218; Sat, 25 Oct 2014 00:14:44 GMT (envelope-from np@FreeBSD.org) Message-Id: <201410250014.s9P0EiRs038218@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: np set sender to np@FreeBSD.org using -f From: Navdeep Parhar Date: Sat, 25 Oct 2014 00:14:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273615 - head/sys/dev/cxgbe/firmware X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2014 00:14:45 -0000 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$ #