svn commit: r346914 - stable/11/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Mon Apr 29 19:16:30 UTC 2019


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);


More information about the svn-src-all mailing list