Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2019 19:16:29 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r346914 - stable/11/sys/dev/cxgbe
Message-ID:  <201904291916.x3TJGTTf067493@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Mon Apr 29 19:16:29 2019
New Revision: 346914
URL: https://svnweb.freebsd.org/changeset/base/346914

Log:
  MFC r338669:
  
  cxgbe(4): Use the correct number of parameters when querying the tid
  range for hashfilters.

Modified:
  stable/11/sys/dev/cxgbe/t4_main.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/cxgbe/t4_main.c
==============================================================================
--- stable/11/sys/dev/cxgbe/t4_main.c	Mon Apr 29 19:15:50 2019	(r346913)
+++ stable/11/sys/dev/cxgbe/t4_main.c	Mon Apr 29 19:16:29 2019	(r346914)
@@ -4026,7 +4026,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?201904291916.x3TJGTTf067493>