Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2018 22:58:13 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r338669 - head/sys/dev/cxgbe
Message-ID:  <201809132258.w8DMwDWW017592@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Thu Sep 13 22:58:13 2018
New Revision: 338669
URL: https://svnweb.freebsd.org/changeset/base/338669

Log:
  cxgbe(4): Use the correct number of parameters when querying the tid
  range for hashfilters.
  
  Approved by:	re@ (gjb@)

Modified:
  head/sys/dev/cxgbe/t4_main.c

Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c	Thu Sep 13 21:28:37 2018	(r338668)
+++ head/sys/dev/cxgbe/t4_main.c	Thu Sep 13 22:58:13 2018	(r338669)
@@ -3954,7 +3954,7 @@ get_params__post_init(struct adapter *sc)
 		sc->toecaps = 0;
 
 		param[0] = FW_PARAM_DEV(NTID);
-		rc = -t4_query_params(sc, sc->mbox, sc->pf, 0, 6, param, val);
+		rc = -t4_query_params(sc, sc->mbox, sc->pf, 0, 1, param, val);
 		if (rc != 0) {
 			device_printf(sc->dev,
 			    "failed to query HASHFILTER parameters: %d.\n", rc);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809132258.w8DMwDWW017592>